|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.client.authentication.SimplePrincipal
org.jasig.cas.client.authentication.AttributePrincipalImpl
public class AttributePrincipalImpl
Concrete implementation of the AttributePrincipal interface.
| Constructor Summary | |
|---|---|
AttributePrincipalImpl(String name)
Constructs a new principal with an empty map of attributes. |
|
AttributePrincipalImpl(String name,
Map<String,Object> attributes)
Constructs a new principal with the supplied name and attributes. |
|
AttributePrincipalImpl(String name,
Map<String,Object> attributes,
String proxyGrantingTicket,
ProxyRetriever proxyRetriever)
Constructs a new principal witht he supplied name, attributes, and proxying capabilities. |
|
AttributePrincipalImpl(String name,
String proxyGrantingTicket,
ProxyRetriever proxyRetriever)
Constructs a new principal with the supplied name and the proxying capabilities. |
|
| Method Summary | |
|---|---|
Map<String,Object> |
getAttributes()
The Map of key/value pairs associated with this principal. |
String |
getProxyTicketFor(String service)
Retrieves a CAS proxy ticket for this specific principal. |
| Methods inherited from class org.jasig.cas.client.authentication.SimplePrincipal |
|---|
equals, getName, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
|---|
equals, getName, hashCode, toString |
| Constructor Detail |
|---|
public AttributePrincipalImpl(String name)
name - the unique identifier for the principal.
public AttributePrincipalImpl(String name,
Map<String,Object> attributes)
name - the unique identifier for the principal.attributes - the key/value pairs for this principal.
public AttributePrincipalImpl(String name,
String proxyGrantingTicket,
ProxyRetriever proxyRetriever)
name - the unique identifier for the principal.proxyGrantingTicket - the ticket associated with this principal.proxyRetriever - the ProxyRetriever implementation to call back to the CAS server.
public AttributePrincipalImpl(String name,
Map<String,Object> attributes,
String proxyGrantingTicket,
ProxyRetriever proxyRetriever)
name - the unique identifier for the principal.attributes - the key/value pairs for this principal.proxyGrantingTicket - the ticket associated with this principal.proxyRetriever - the ProxyRetriever implementation to call back to the CAS server.| Method Detail |
|---|
public Map<String,Object> getAttributes()
AttributePrincipal
getAttributes in interface AttributePrincipalpublic String getProxyTicketFor(String service)
AttributePrincipal
getProxyTicketFor in interface AttributePrincipalservice - the service we wish to proxy this user to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||