|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.client.authentication.AttributePrincipalImpl
public class AttributePrincipalImpl
Concrete implementation of the AttributePrincipal interface.
| Constructor Summary | |
|---|---|
AttributePrincipalImpl(java.lang.String name)
Constructs a new principal with an empty map of attributes. |
|
AttributePrincipalImpl(java.lang.String name,
java.util.Map attributes)
Constructs a new principal with the supplied name and attributes. |
|
AttributePrincipalImpl(java.lang.String name,
java.util.Map attributes,
java.lang.String proxyGrantingTicket,
ProxyRetriever proxyRetriever)
Constructs a new principal witht he supplied name, attributes, and proxying capabilities. |
|
AttributePrincipalImpl(java.lang.String name,
java.lang.String proxyGrantingTicket,
ProxyRetriever proxyRetriever)
Constructs a new principal with the supplied name and the proxying capabilities. |
|
| Method Summary | |
|---|---|
java.util.Map |
getAttributes()
The Map of key/value pairs associated with this principal. |
java.lang.String |
getName()
|
java.lang.String |
getProxyTicketFor(java.lang.String service)
Retrieves a CAS proxy ticket for this specific principal. |
| 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 |
|---|
public AttributePrincipalImpl(java.lang.String name)
name - the unique identifier for the principal.
public AttributePrincipalImpl(java.lang.String name,
java.util.Map attributes)
name - the unique identifier for the principal.attributes - the key/value pairs for this principal.
public AttributePrincipalImpl(java.lang.String name,
java.lang.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(java.lang.String name,
java.util.Map attributes,
java.lang.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 java.util.Map getAttributes()
AttributePrincipal
getAttributes in interface AttributePrincipalpublic java.lang.String getProxyTicketFor(java.lang.String service)
AttributePrincipal
getProxyTicketFor in interface AttributePrincipalservice - the service we wish to proxy this user to.
public java.lang.String getName()
getName in interface java.security.Principal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||