|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.source.helpers.SourceCredential
public class SourceCredential
This class represents a credential for a given user
Constructor Summary | |
---|---|
SourceCredential(String principal)
Create a new credential |
|
SourceCredential(String principal,
String password)
Create a new credential |
Method Summary | |
---|---|
String |
getPassword()
Returns the password |
String |
getPrincipal()
Returns the principal |
void |
setPassword(String password)
Sets the password |
void |
setPrincipal(String principal)
Sets the principal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SourceCredential(String principal)
principal
- The user namepublic SourceCredential(String principal, String password)
principal
- The user namepassword
- PasswordMethod Detail |
---|
public void setPrincipal(String principal)
principal
- The user namepublic String getPrincipal()
public void setPassword(String password)
password
- Passwordpublic String getPassword()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |