|
|||||||||
| Home >> All >> org >> apache >> slide >> [ authenticate overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.slide.authenticate
Class CredentialsToken

java.lang.Objectorg.apache.slide.authenticate.CredentialsToken
- public final class CredentialsToken
- extends java.lang.Object
Credentials token class.
| Field Summary | |
private java.lang.String |
credentials
Credentials, or principal. |
private java.security.Principal |
principal
principal instance. |
private boolean |
trusted
Trusted credentials ? |
| 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 |
| Field Detail |
principal
private java.security.Principal principal
- principal instance.
credentials
private java.lang.String credentials
- Credentials, or principal.
trusted
private boolean trusted
- Trusted credentials ?
| Constructor Detail |
CredentialsToken
public CredentialsToken(java.lang.String credentials)
- Constructor.
CredentialsToken
public CredentialsToken(java.security.Principal principal)
- Constructor.
| Method Detail |
isTrusted
public boolean isTrusted()
- Is this credentials token to be trusted ?
getPrivateCredentials
public java.lang.String getPrivateCredentials()
- Returns the private credentials.
getPrincipal
public java.security.Principal getPrincipal()
- Returns the current principal
getPublicCredentials
public java.lang.String getPublicCredentials()
- Returns the public creddentials.
|
|||||||||
| Home >> All >> org >> apache >> slide >> [ authenticate overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.slide.authenticate.CredentialsToken