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:
Serializable, Principal, org.apache.jetspeed.security.BasePrincipal, org.apache.jetspeed.security.UserPrincipal, org.apache.jetspeed.security.UserSubjectPrincipal

public class UserSubjectPrincipalImpl
extends UserPrincipalImpl
implements org.apache.jetspeed.security.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
private static long serialVersionUID
          The serial version uid.
protected  Subject subject
           
 
Fields inherited from interface org.apache.jetspeed.security.BasePrincipal
PREFS_GROUP_ROOT, PREFS_ROLE_ROOT, PREFS_USER_ROOT
 
Constructor Summary
UserSubjectPrincipalImpl(String userName)
          The user principal constructor.
 
Method Summary
 Subject getSubject()
           
 void setSubject(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

serialVersionUID

private static final long serialVersionUID
The serial version uid.

See Also:
Constant Field Values

subject

protected Subject subject
Constructor Detail

UserSubjectPrincipalImpl

public UserSubjectPrincipalImpl(String userName)

The user principal constructor.

Parameters:
userName - The user principal name.
Method Detail

setSubject

public void setSubject(Subject subject)

getSubject

public Subject getSubject()
Specified by:
getSubject in interface org.apache.jetspeed.security.UserSubjectPrincipal


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