info.informatica.security.auth
Class UserInfo

java.lang.Object
  extended by info.informatica.security.auth.UserInfo

public class UserInfo
extends Object

Author:
carlos

Constructor Summary
UserInfo(LoginPrincipal username)
           
 
Method Summary
 CompanynamePrincipal getCompanynamePrincipal()
           
 EmailPrincipal getEmailPrincipal()
           
 FullnamePrincipal getFullnamePrincipal()
           
 LoginPrincipal getLoginPrincipal()
           
 PasswordAccount getPasswordInfo()
           
 Set<Role> getRoles()
          Gets the security roles that this user has.
 void setCompanynamePrincipal(CompanynamePrincipal company)
           
 void setPasswordInfo(PasswordAccount passwdinfo)
           
 void setRoles(Set<Role> roleset)
           
 String toShadowString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserInfo

public UserInfo(LoginPrincipal username)
Method Detail

getLoginPrincipal

public LoginPrincipal getLoginPrincipal()

setPasswordInfo

public void setPasswordInfo(PasswordAccount passwdinfo)

getPasswordInfo

public PasswordAccount getPasswordInfo()

getFullnamePrincipal

public FullnamePrincipal getFullnamePrincipal()

getEmailPrincipal

public EmailPrincipal getEmailPrincipal()

toString

public String toString()
Overrides:
toString in class Object

toShadowString

public String toShadowString()

getCompanynamePrincipal

public CompanynamePrincipal getCompanynamePrincipal()

setCompanynamePrincipal

public void setCompanynamePrincipal(CompanynamePrincipal company)

setRoles

public void setRoles(Set<Role> roleset)

getRoles

public Set<Role> getRoles()
Gets the security roles that this user has.

Returns:
the Set of roles, which could be an empty Set meaning that the user has been authenticated but has no roles, or null if the set of roles have not been determined yet.