org.eclipse.higgins.icard.common.auth
Class UsernamePasswordCredential

java.lang.Object
  extended by org.eclipse.higgins.icard.common.auth.UsernamePasswordCredential
All Implemented Interfaces:
org.eclipse.higgins.icard.auth.ICredential, org.eclipse.higgins.icard.auth.IPasswordCredential, org.eclipse.higgins.icard.auth.IUsernameCredential, org.eclipse.higgins.icard.auth.IUsernamePasswordCredential

public class UsernamePasswordCredential
extends Object
implements org.eclipse.higgins.icard.auth.IUsernamePasswordCredential


Constructor Summary
UsernamePasswordCredential(String username)
           
 
Method Summary
 Callback[] getCallbacks()
           
 String getPassword()
           
 String getUsername()
           
 boolean isUsernamePredefined()
           
 void setPassword(String password)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernamePasswordCredential

public UsernamePasswordCredential(String username)
Method Detail

getCallbacks

public Callback[] getCallbacks()
Specified by:
getCallbacks in interface org.eclipse.higgins.icard.auth.ICredential

isUsernamePredefined

public boolean isUsernamePredefined()
Specified by:
isUsernamePredefined in interface org.eclipse.higgins.icard.auth.IUsernamePasswordCredential

getUsername

public String getUsername()
Specified by:
getUsername in interface org.eclipse.higgins.icard.auth.IUsernameCredential

setUsername

public void setUsername(String username)
Specified by:
setUsername in interface org.eclipse.higgins.icard.auth.IUsernameCredential

getPassword

public String getPassword()
Specified by:
getPassword in interface org.eclipse.higgins.icard.auth.IPasswordCredential

setPassword

public void setPassword(String password)
Specified by:
setPassword in interface org.eclipse.higgins.icard.auth.IPasswordCredential