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

java.lang.Object
  extended byorg.eclipse.higgins.icard.common.auth.TSUsernamePasswordCredential
All Implemented Interfaces:
org.eclipse.higgins.icard.auth.ICredential, org.eclipse.higgins.icard.auth.IPasswordCredential, org.eclipse.higgins.icard.auth.ITokenServiceCredential, org.eclipse.higgins.icard.auth.ITSUsernamePasswordCredential, org.eclipse.higgins.icard.auth.IUsernameCredential, org.eclipse.higgins.icard.auth.IUsernamePasswordCredential

public class TSUsernamePasswordCredential
extends Object
implements org.eclipse.higgins.icard.auth.ITSUsernamePasswordCredential


Constructor Summary
TSUsernamePasswordCredential(org.eclipse.higgins.icard.auth.ITokenServiceCredential tsc, org.eclipse.higgins.icard.auth.IUsernamePasswordCredential upc)
           
 
Method Summary
 URI getAddress()
           
 Callback[] getCallbacks()
           
 X509Certificate getCertificate()
           
 URI getMetadataAddress()
           
 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

TSUsernamePasswordCredential

public TSUsernamePasswordCredential(org.eclipse.higgins.icard.auth.ITokenServiceCredential tsc,
                                    org.eclipse.higgins.icard.auth.IUsernamePasswordCredential upc)
Method Detail

getAddress

public URI getAddress()
Specified by:
getAddress in interface org.eclipse.higgins.icard.auth.ITokenServiceCredential

getCertificate

public X509Certificate getCertificate()
Specified by:
getCertificate in interface org.eclipse.higgins.icard.auth.ITokenServiceCredential

getMetadataAddress

public URI getMetadataAddress()
Specified by:
getMetadataAddress in interface org.eclipse.higgins.icard.auth.ITokenServiceCredential

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