| |
|
| java.lang.Object com.rift.coad.lib.interceptor.InterceptorPermissionStack
InterceptorPermissionStack | public class InterceptorPermissionStack (Code) | | This class is responsible for keeping track of the thread permissions assigned
to a thread and pushing and popping them to deal with threads being granted
new permissions or releasing old permissions.
author: Brett Chaldecott |
Field Summary | |
protected Logger | log |
Method Summary | |
public void | pop() This method pops the user permissions of the stack and applies them to
the current thread. | public void | push(UserSession userSession) This method pushes the current user session onto a stack so it can
be popped back on when processing is completed. |
InterceptorPermissionStack | public InterceptorPermissionStack(ThreadsPermissionContainer permissionContainer)(Code) | | Creates a new instance of InterceptorPermissionStack
Parameters: permissionContainer - The reference to the permission container |
pop | public void pop() throws InterceptorException(Code) | | This method pops the user permissions of the stack and applies them to
the current thread. Thus reveting them to the permissions that existed
before the call on the push.
exception: InterceptorException - |
push | public void push(UserSession userSession) throws InterceptorException(Code) | | This method pushes the current user session onto a stack so it can
be popped back on when processing is completed.
Parameters: userSession - The user session to apply to the current thread session. exception: InterceptorException - |
|
|
|