info.magnolia.cms.security
Class AbstractUser

java.lang.Object
  extended by info.magnolia.cms.security.AbstractUser
All Implemented Interfaces:
User, java.io.Serializable
Direct Known Subclasses:
DummyUser, ExternalUser, MgnlUser

public abstract class AbstractUser
extends java.lang.Object
implements User

Handles the subject.

Version:
$Id: AbstractUser.java 41137 2011-01-06 18:19:25Z gjoseph $
See Also:
Serialized Form

Field Summary
protected  javax.security.auth.Subject subject
           
 
Constructor Summary
AbstractUser()
           
 
Method Summary
 javax.security.auth.Subject getSubject()
          Returns the jaas subject if available.
 void setSubject(javax.security.auth.Subject subject)
          The jass login handler will set the subject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.cms.security.User
addGroup, addRole, getAllGroups, getAllRoles, getGroups, getLanguage, getName, getPassword, getProperty, getRoles, hasRole, inGroup, isEnabled, removeGroup, removeRole, setEnabled, setProperty
 

Field Detail

subject

protected javax.security.auth.Subject subject
Constructor Detail

AbstractUser

public AbstractUser()
Method Detail

getSubject

public javax.security.auth.Subject getSubject()
Description copied from interface: User
Returns the jaas subject if available.

Specified by:
getSubject in interface User

setSubject

public void setSubject(javax.security.auth.Subject subject)
Description copied from interface: User
The jass login handler will set the subject.

Specified by:
setSubject in interface User


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.