| com.sun.portal.admin.server.PASPrincipal
PASPrincipal | public class PASPrincipal extends UserPrincipal implements Serializable(Code) | | This principal class represents a Portal Admin Server user. It
contains a SSO token if the user has been successfully
authenticated by Access Manager.
|
Constructor Summary | |
public | PASPrincipal(String name, String portalDomainID) Constructs a PASPrincipal using the given name and portal
domain ID. |
Method Summary | |
public boolean | equals(Object another) Compares this PASPrincipal object to the specified
object. | public String | getPortalDomainID() Returns the ID of the portal domain this user belongs to. | public SSOToken | getSSOToken() Returns the SSO token of this Portal Admin Server user. | public int | hashCode() Returns a hashcode for this PASPrincipal . | public void | setSSOToken(SSOToken token) Sets the SSO token of this Portal Admin Server user to the give
SSO token. | public String | toString() Returns a string representation of this PASPrincipal . |
PASPrincipal | public PASPrincipal(String name, String portalDomainID)(Code) | | Constructs a PASPrincipal using the given name and portal
domain ID.
Parameters: name - user name (DN) of the Portal Admin Server user. Parameters: portalDomainID - ID of the portal domain the PAS user belongs to. exception: NullPointerException - if name or portalDomainID isnull . |
equals | public boolean equals(Object another)(Code) | | Compares this PASPrincipal object to the specified
object. Returns true if the given object is a
PASPrincipal object, and has the same user name
and belongs to the same portal domain.
Parameters: another - another principal to compare with. true if the given principal is the same asthat encapsulated by this PASPrincipal ,and false otherwise. |
getPortalDomainID | public String getPortalDomainID()(Code) | | Returns the ID of the portal domain this user belongs to.
the portal domain ID of this PASPrincipal . |
getSSOToken | public SSOToken getSSOToken()(Code) | | Returns the SSO token of this Portal Admin Server user. If the
user has not been authenticated, null is returned.
the SSO token of this Portal Admin Server user;null if the user has not been authenticated. |
hashCode | public int hashCode()(Code) | | Returns a hashcode for this PASPrincipal .
a hashcode for this PASPrincipal . |
setSSOToken | public void setSSOToken(SSOToken token)(Code) | | Sets the SSO token of this Portal Admin Server user to the give
SSO token. This should be done after the user has been
successfully authenticated by Access Manager.
Parameters: token - the SSO token of this user to be set to. |
toString | public String toString()(Code) | | Returns a string representation of this PASPrincipal .
a string representation of this PASPrincipal . |
|
|