org.ikasan.console.security
Class AfterInvocationPointToPointFlowProfileCollectionFilteringProvider

java.lang.Object
  extended by org.ikasan.console.security.AbstractPointToPointFlowProfileAfterInvocationProvider
      extended by org.ikasan.console.security.AfterInvocationPointToPointFlowProfileCollectionFilteringProvider
All Implemented Interfaces:
org.springframework.security.access.AfterInvocationProvider

public class AfterInvocationPointToPointFlowProfileCollectionFilteringProvider
extends AbstractPointToPointFlowProfileAfterInvocationProvider

Class for determining access/configuration rights for collection of configuration

Author:
Ikasan Development Team

Constructor Summary
AfterInvocationPointToPointFlowProfileCollectionFilteringProvider()
          Constructor
 
Method Summary
 Object decide(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> config, Object returnedObject)
          Decide if the user has rights to invoke actions on a PointToPointFlowProfile
 boolean supports(org.springframework.security.access.ConfigAttribute configAttribute)
          Returns true if the configuration attribute is supported by this provider
 
Methods inherited from class org.ikasan.console.security.AbstractPointToPointFlowProfileAfterInvocationProvider
mayReadPointToPointFlowProfile, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AfterInvocationPointToPointFlowProfileCollectionFilteringProvider

public AfterInvocationPointToPointFlowProfileCollectionFilteringProvider()
Constructor

Method Detail

decide

public Object decide(org.springframework.security.core.Authentication authentication,
                     Object object,
                     Collection<org.springframework.security.access.ConfigAttribute> config,
                     Object returnedObject)
              throws org.springframework.security.access.AccessDeniedException
Decide if the user has rights to invoke actions on a PointToPointFlowProfile

Parameters:
authentication - - The authentication scheme
object - - TODO Not used!
config - - TODO The configuration attribute to check
returnedObject - - TODO The return object to seed
Returns:
TODO A list of authorised objects or
Throws:
org.springframework.security.access.AccessDeniedException - - Access was denied

supports

public boolean supports(org.springframework.security.access.ConfigAttribute configAttribute)
Returns true if the configuration attribute is supported by this provider

Specified by:
supports in interface org.springframework.security.access.AfterInvocationProvider
Overrides:
supports in class AbstractPointToPointFlowProfileAfterInvocationProvider
Parameters:
configAttribute - configuration attribute to test
Returns:
true if the configuration attribute is supported by this provider


Copyright © 2007-2014 Ikasan. All Rights Reserved.