|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 name
public SourceCredential(String principal,
String password)
principal - The user namepassword - Password| Method 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 | |||||||||