gov.nih.nci.caarray.util
Class CaArrayUsernameHolder

java.lang.Object
  extended by com.fiveamsolutions.nci.commons.util.UsernameHolder
      extended by gov.nih.nci.caarray.util.CaArrayUsernameHolder

public final class CaArrayUsernameHolder
extends com.fiveamsolutions.nci.commons.util.UsernameHolder

Holds the name of the currently-logged in user in a ThreadLocal. If the value is unset, return the username for the 'anonymous' user.

See Also:
SecurityUtils.ANONYMOUS_USERNAME

Field Summary
 
Fields inherited from class com.fiveamsolutions.nci.commons.util.UsernameHolder
ANONYMOUS_USERNAME
 
Method Summary
static gov.nih.nci.security.authorization.domainobjects.User getCsmUser()
           
 
Methods inherited from class com.fiveamsolutions.nci.commons.util.UsernameHolder
getUser, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCsmUser

public static gov.nih.nci.security.authorization.domainobjects.User getCsmUser()
Returns:
the User instance for the logged in user for this thread, or the anonymous user if no user is logged in