org.apache.jetspeed.security.impl
Class UserSubjectPrincipalImpl

java.lang.Object
  extended by org.apache.jetspeed.security.impl.BasePrincipalImpl
      extended by org.apache.jetspeed.security.impl.UserPrincipalImpl
          extended by org.apache.jetspeed.security.impl.UserSubjectPrincipalImpl
All Implemented Interfaces:
java.io.Serializable, java.security.Principal, BasePrincipal, UserPrincipal, UserSubjectPrincipal

public class UserSubjectPrincipalImpl
extends UserPrincipalImpl
implements UserSubjectPrincipal

UserPrincipal interface implementation.

Version:
$Id: UserPrincipalImpl.java 331065 2005-11-06 03:40:32Z dlestrat $
Author:
David Sean Taylor
See Also:
Serialized Form

Field Summary
protected  javax.security.auth.Subject subject
           
 
Fields inherited from interface org.apache.jetspeed.security.BasePrincipal
PREFS_GROUP_ROOT, PREFS_ROLE_ROOT, PREFS_USER_ROOT
 
Constructor Summary
UserSubjectPrincipalImpl(java.lang.String userName)
          The user principal constructor.
 
Method Summary
 javax.security.auth.Subject getSubject()
           
 void setSubject(javax.security.auth.Subject subject)
           
 
Methods inherited from class org.apache.jetspeed.security.impl.UserPrincipalImpl
equals, getFullPathFromPrincipalName, getFullPathFromPrincipalName, getPrincipalNameFromFullPath, useHierarchicalNames
 
Methods inherited from class org.apache.jetspeed.security.impl.BasePrincipalImpl
getFullPath, getFullPathFromPrincipalName, getName, getPrincipalNameFromFullPath, hashCode, isEnabled, isMapping, setEnabled, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.security.BasePrincipal
getFullPath, isEnabled, isMapping, setEnabled
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Field Detail

subject

protected javax.security.auth.Subject subject
Constructor Detail

UserSubjectPrincipalImpl

public UserSubjectPrincipalImpl(java.lang.String userName)

The user principal constructor.

Parameters:
userName - The user principal name.
Method Detail

setSubject

public void setSubject(javax.security.auth.Subject subject)

getSubject

public javax.security.auth.Subject getSubject()
Specified by:
getSubject in interface UserSubjectPrincipal


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.