org.springframework.security.access.intercept
Class InterceptorStatusToken

java.lang.Object
  extended by org.springframework.security.access.intercept.InterceptorStatusToken

public class InterceptorStatusToken
extends java.lang.Object

A return object received by AbstractSecurityInterceptor subclasses.

This class reflects the status of the security interception, so that the final call to AbstractSecurityInterceptor.afterInvocation(InterceptorStatusToken, Object) can tidy up correctly.


Constructor Summary
InterceptorStatusToken(Authentication authentication, boolean contextHolderRefreshRequired, java.util.Collection<ConfigAttribute> attributes, java.lang.Object secureObject)
           
 
Method Summary
 java.util.Collection<ConfigAttribute> getAttributes()
           
 Authentication getAuthentication()
           
 java.lang.Object getSecureObject()
           
 boolean isContextHolderRefreshRequired()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorStatusToken

public InterceptorStatusToken(Authentication authentication,
                              boolean contextHolderRefreshRequired,
                              java.util.Collection<ConfigAttribute> attributes,
                              java.lang.Object secureObject)
Method Detail

getAttributes

public java.util.Collection<ConfigAttribute> getAttributes()

getAuthentication

public Authentication getAuthentication()

getSecureObject

public java.lang.Object getSecureObject()

isContextHolderRefreshRequired

public boolean isContextHolderRefreshRequired()