|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.authenticate.CredentialsToken
Credentials token class.
Constructor Summary | |
CredentialsToken(java.security.Principal principal)
Constructor. |
|
CredentialsToken(java.lang.String credentials)
Constructor. |
Method Summary | |
java.security.Principal |
getPrincipal()
Returns the current principal |
java.lang.String |
getPrivateCredentials()
Returns the private credentials. |
java.lang.String |
getPublicCredentials()
Returns the public creddentials. |
boolean |
isTrusted()
Is this credentials token to be trusted ? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CredentialsToken(java.lang.String credentials)
credentials
- Credentials stored in this tokenpublic CredentialsToken(java.security.Principal principal)
principal
- Principal stored in this tokenMethod Detail |
public boolean isTrusted()
public java.lang.String getPrivateCredentials()
public java.security.Principal getPrincipal()
public java.lang.String getPublicCredentials()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |