java.lang.Object
org.acegisecurity.runas.NullRunAsManager
- All Implemented Interfaces:
- org.acegisecurity.RunAsManager
- public class NullRunAsManager
- extends java.lang.Object
- implements org.acegisecurity.RunAsManager
Implementation of a org.acegisecurity.RunAsManager that does nothing.
This class should be used if you do not require run-as authenticaiton
replacement functionality.
- Version:
- $Id: NullRunAsManager.java,v 1.2 2005/11/17 00:55:51 benalex Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullRunAsManager
public NullRunAsManager()
buildRunAs
public org.acegisecurity.Authentication buildRunAs(org.acegisecurity.Authentication authentication,
java.lang.Object object,
ConfigAttributeDefinition config)
- Description copied from interface:
org.acegisecurity.RunAsManager
- Returns a replacement
Authentication object for the current
secure object invocation, or null if replacement not
required.
- Specified by:
buildRunAs in interface org.acegisecurity.RunAsManager
supports
public boolean supports(ConfigAttribute attribute)
- Description copied from interface:
org.acegisecurity.RunAsManager
- Indicates whether this
RunAsManager is able to process the
passed ConfigAttribute.
This allows the AbstractSecurityInterceptor to check every
configuration attribute can be consumed by the configured
AccessDecisionManager and/or RunAsManager
and/or AfterInvocationManager.
- Specified by:
supports in interface org.acegisecurity.RunAsManager