org.ikasan.console.security
Class AbstractPointToPointFlowProfileAfterInvocationProvider

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

public abstract class AbstractPointToPointFlowProfileAfterInvocationProvider
extends Object
implements org.springframework.security.access.AfterInvocationProvider

Abstract class that provides functionality for determining access/configuration rights

Author:
Ikasan Development Team

Constructor Summary
AbstractPointToPointFlowProfileAfterInvocationProvider(String responsiveConfigAttribute)
          Constructor
 
Method Summary
protected  boolean mayReadPointToPointFlowProfile(org.springframework.security.core.Authentication authentication, PointToPointFlowProfile pointToPointFlowProfile)
          Determines if the specified PointToPointFlowProfile should be accessible to the currently logged in user
 boolean supports(Class clazz)
          Returns true if the class is supported by this provider
 boolean supports(org.springframework.security.access.ConfigAttribute configAttribute)
          Returns true if the configuration attribute is supported by this provider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.security.access.AfterInvocationProvider
decide
 

Constructor Detail

AbstractPointToPointFlowProfileAfterInvocationProvider

public AbstractPointToPointFlowProfileAfterInvocationProvider(String responsiveConfigAttribute)
Constructor

Parameters:
responsiveConfigAttribute - - The configuration to check
Method Detail

mayReadPointToPointFlowProfile

protected boolean mayReadPointToPointFlowProfile(org.springframework.security.core.Authentication authentication,
                                                 PointToPointFlowProfile pointToPointFlowProfile)
Determines if the specified PointToPointFlowProfile should be accessible to the currently logged in user

Parameters:
authentication - - The authentication to use
pointToPointFlowProfile - - The PointToPointFlowProfile to check against
Returns:
true if user should be allowed to read PointToPointFlowProfile

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
Parameters:
configAttribute - configuration attribute to test
Returns:
true if the configuration attribute is supported by this provider

supports

public boolean supports(Class clazz)
Returns true if the class is supported by this provider

Specified by:
supports in interface org.springframework.security.access.AfterInvocationProvider
Parameters:
clazz - - class to check support for
Returns:
true if the class is supported by this provider Warning is suppressed as this method implements an interface that does not support generics


Copyright © 2007-2014 Ikasan. All Rights Reserved.