|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.runas.NullRunAsManager
public class NullRunAsManager
Implementation of a RunAsManager that does nothing.
This class should be used if you do not require run-as authenticaiton replacement functionality.
| Constructor Summary | |
|---|---|
NullRunAsManager()
|
|
| Method Summary | |
|---|---|
Authentication |
buildRunAs(Authentication authentication,
Object object,
ConfigAttributeDefinition config)
Returns a replacement Authentication object for the current
secure object invocation, or null if replacement not
required. |
boolean |
supports(Class clazz)
Indicates whether the RunAsManager implementation is able
to provide run-as replacement for the indicated secure object type. |
boolean |
supports(ConfigAttribute attribute)
Indicates whether this RunAsManager is able to process the
passed ConfigAttribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullRunAsManager()
| Method Detail |
|---|
public Authentication buildRunAs(Authentication authentication,
Object object,
ConfigAttributeDefinition config)
RunAsManagerAuthentication object for the current
secure object invocation, or null if replacement not
required.
buildRunAs in interface RunAsManagerauthentication - the caller invoking the secure objectobject - the secured object being calledconfig - the configuration attributes associated with the secure
object being invoked
null if the
Authentication should be left as ispublic boolean supports(ConfigAttribute attribute)
RunAsManagerRunAsManager 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.
supports in interface RunAsManagerattribute - a configuration attribute that has been configured
against the AbstractSecurityInterceptor
true if this RunAsManager can support
the passed configuration attributepublic boolean supports(Class clazz)
RunAsManagerRunAsManager implementation is able
to provide run-as replacement for the indicated secure object type.
supports in interface RunAsManagerclazz - the class that is being queried
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||