|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.repository.helpers.CredentialsToken
public class CredentialsToken
A CredentialsToken class to be used with a repository implementation.
Constructor Summary | |
---|---|
CredentialsToken(Principal principal,
String credentials)
creates a CredentialsToken |
Method Summary | |
---|---|
String |
getCredentials()
get the credentials belonging to the credentials token |
Principal |
getPrincipal()
get the principal belonging to the credentials token |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CredentialsToken(Principal principal, String credentials)
principal
- the principal belonging to the credentials token.credentials
- the credentials of the credentials token.Method Detail |
---|
public Principal getPrincipal()
public String getCredentials()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |