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.

Author:
Ben Alex

Constructor Summary
InterceptorStatusToken(Authentication authentication, boolean contextHolderRefreshRequired, Collection<ConfigAttribute> attributes, Object secureObject)
           
 
Method Summary
 Collection<ConfigAttribute> getAttributes()
           
 Authentication getAuthentication()
           
 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,
                              Collection<ConfigAttribute> attributes,
                              Object secureObject)
Method Detail

getAttributes

public Collection<ConfigAttribute> getAttributes()

getAuthentication

public Authentication getAuthentication()

getSecureObject

public Object getSecureObject()

isContextHolderRefreshRequired

public boolean isContextHolderRefreshRequired()


Copyright © 2004-2011 SpringSource, Inc. All Rights Reserved.