Class InterceptorStatusToken
- java.lang.Object
-
- org.springframework.security.access.intercept.InterceptorStatusToken
-
public class InterceptorStatusToken extends java.lang.Object
A return object received byAbstractSecurityInterceptor
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
Constructors Constructor Description InterceptorStatusToken(SecurityContext securityContext, boolean contextHolderRefreshRequired, java.util.Collection<ConfigAttribute> attributes, java.lang.Object secureObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<ConfigAttribute>
getAttributes()
java.lang.Object
getSecureObject()
SecurityContext
getSecurityContext()
boolean
isContextHolderRefreshRequired()
-
-
-
Constructor Detail
-
InterceptorStatusToken
public InterceptorStatusToken(SecurityContext securityContext, boolean contextHolderRefreshRequired, java.util.Collection<ConfigAttribute> attributes, java.lang.Object secureObject)
-
-
Method Detail
-
getAttributes
public java.util.Collection<ConfigAttribute> getAttributes()
-
getSecurityContext
public SecurityContext getSecurityContext()
-
getSecureObject
public java.lang.Object getSecureObject()
-
isContextHolderRefreshRequired
public boolean isContextHolderRefreshRequired()
-
-