org.springframework.security.intercept
Class InterceptorStatusToken

java.lang.Object
  extended by org.springframework.security.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.

Version:
$Id$
Author:
Ben Alex

Constructor Summary
InterceptorStatusToken(SecurityContext context, boolean contextHolderRefreshRequired, ConfigAttributeDefinition attr, java.lang.Object secureObject)
           
 
Method Summary
 ConfigAttributeDefinition getAttr()
           
 java.lang.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 context,
                              boolean contextHolderRefreshRequired,
                              ConfigAttributeDefinition attr,
                              java.lang.Object secureObject)
Method Detail

getAttr

public ConfigAttributeDefinition getAttr()

getSecurityContext

public SecurityContext getSecurityContext()

getSecureObject

public java.lang.Object getSecureObject()

isContextHolderRefreshRequired

public boolean isContextHolderRefreshRequired()