org.springframework.security.access.intercept
Class InterceptorStatusToken

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

public class InterceptorStatusToken
extends 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(SecurityContext securityContext, boolean contextHolderRefreshRequired, Collection<ConfigAttribute> attributes, Object secureObject)
           
 
Method Summary
 Collection<ConfigAttribute> getAttributes()
           
 Object getSecureObject()
           
 SecurityContext getSecurityContext()
           
 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(SecurityContext securityContext,
                              boolean contextHolderRefreshRequired,
                              Collection<ConfigAttribute> attributes,
                              Object secureObject)
Method Detail

getAttributes

public Collection<ConfigAttribute> getAttributes()

getSecurityContext

public SecurityContext getSecurityContext()

getSecureObject

public Object getSecureObject()

isContextHolderRefreshRequired

public boolean isContextHolderRefreshRequired()