|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object
|
+--com.sas.services.security.login.PFSPrincipal
|
+--com.sas.services.security.login.ServerPrincipal
This class represents an authenticated principal identity which was authenticated against a repository server. The UserService uses the information in this object to re-establish a connection with the server and stored in the UserContext.
| Constructor Summary | |
ServerPrincipal(String name)
Create a new ServerPrincipal with the given name. |
|
| Method Summary | |
boolean |
equals(Object o)
Test another object for equality with this one. |
String |
getBase()
Get the base used to look up the user in the repository once connected. |
String |
getDescription()
Get the description for the user identified by userId. |
String |
getDomain()
Get the authentication domain name the user was authenticated against. |
String |
getHost()
Get the host name the authentication server is running on. |
int |
getPort()
Get the port number of the authentication server. |
String |
getProtocol()
Set the application protocol used by the authentication process. |
String |
getUserId()
Get the userId that was authenticated. |
void |
setBase(String base)
Set the base location where the authenticated user was found in the repository. |
void |
setDescription(String description)
Set the description for the user identified by userId. |
void |
setDomain(String domain)
Set the authentication domain name the user was authenticated against. |
void |
setHost(String host)
Set the name of the host the authentication server is running on. |
void |
setPort(int port)
Set the port number the authentication server is running on. |
void |
setProtocol(String protocol)
Set the protocol name used by the authentication process. |
void |
setUserId(String userid)
Set the User ID that was authenticated. |
| Methods inherited from class com.sas.services.security.login.PFSPrincipal |
getName, hashCode, implies, isProcessed, setProcessed, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sas.services.security.login.PFSPrincipalInterface |
isProcessed, setProcessed |
| Methods inherited from interface java.security.Principal |
getName, hashCode, toString |
| Constructor Detail |
public ServerPrincipal(String name)
| Method Detail |
public String getDescription()
getDescription in interface ServerPrincipalInterfacecom.sas.services.security.login.ServerPrincipalInterfacepublic void setDescription(String description)
setDescription in interface ServerPrincipalInterfacepublic String getUserId()
getUserId in interface ServerPrincipalInterfacepublic void setUserId(String userid)
setUserId in interface ServerPrincipalInterfaceuserid - The userid that was authenticated with the server.public String getHost()
getHost in interface ServerPrincipalInterfacepublic void setHost(String host)
setHost in interface ServerPrincipalInterfacehost - The host name.public int getPort()
getPort in interface ServerPrincipalInterfacepublic void setPort(int port)
setPort in interface ServerPrincipalInterfaceport - The server port.public String getProtocol()
getProtocol in interface ServerPrincipalInterfacepublic void setProtocol(String protocol)
setProtocol in interface ServerPrincipalInterfaceprotocol - The protocol name.public String getDomain()
getDomain in interface ServerPrincipalInterfacepublic void setDomain(String domain)
setDomain in interface ServerPrincipalInterfacedomain - The authentication domain name.public String getBase()
getBase in interface ServerPrincipalInterfacepublic void setBase(String base)
setBase in interface ServerPrincipalInterfacebase - The base location in the repository where
the authenticated user was found.public boolean equals(Object o)
PFSPrincipalequals in interface Principalequals in class PFSPrincipalcom.sas.services.security.login.PFSPrincipal
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||