com.stratelia.webactiv.jaas
Class SilverpeasUserPrincipal

java.lang.Object
  extended by com.stratelia.webactiv.jaas.SilverpeasUserPrincipal
All Implemented Interfaces:
Principal

public class SilverpeasUserPrincipal
extends Object
implements Principal


Constructor Summary
SilverpeasUserPrincipal(String userId, boolean administrator)
           
 
Method Summary
 void addUserProfile(SilverpeasUserProfileEntry entry)
           
 String getName()
           
 String getUserId()
           
 SilverpeasUserProfileEntry getUserProfile(String componentId)
           
 boolean isAdministrator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

SilverpeasUserPrincipal

public SilverpeasUserPrincipal(String userId,
                               boolean administrator)
Method Detail

addUserProfile

public void addUserProfile(SilverpeasUserProfileEntry entry)

getUserProfile

public SilverpeasUserProfileEntry getUserProfile(String componentId)

getUserId

public String getUserId()

isAdministrator

public boolean isAdministrator()

getName

public String getName()
Specified by:
getName in interface Principal


Copyright © 2016 Silverpeas. All Rights Reserved.