java.lang .Object org.apache.cocoon.components.source.helpers .SourceCredential SourceCredential public class SourceCredential (Code) This class represents a credential for a given user
author: Stephan Michels version: CVS $Id: SourceCredential.java 433543 2006-08-22 06:22:54Z crossley $
SourceCredential public SourceCredential(String principal)(Code) Create a new credential
Parameters: principal - The user name
SourceCredential public SourceCredential(String principal, String password)(Code) Create a new credential
Parameters: principal - The user nameParameters: password - Password
getPassword public String getPassword()(Code) Returns the password
Password
getPrincipal public String getPrincipal()(Code) Returns the principal
Principal
setPassword public void setPassword(String password)(Code) Sets the password
Parameters: password - Password
setPrincipal public void setPrincipal(String principal)(Code) Sets the principal
Parameters: principal - The user name