com.dbxml.db.core.security
Class UserStack
java.lang.Object
com.dbxml.db.core.security.UserStack
- public final class UserStack
- extends java.lang.Object
UserStack manages a Stack of authenticated Users. It is
passed to secure classes that need to perform access
control overrides with alternate Users. Its primary use
is to push the Magic User onto the stack for access to
low-level system resources.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserStack
public UserStack()
getCurrentUser
public User getCurrentUser()
pushCurrentUser
public void pushCurrentUser(User user)
popCurrentUser
public User popCurrentUser()
clear
public void clear()
Copyright (c) 2004 The dbXML Group