org.eclipse.higgins.sts.common
Class UsernameToken

java.lang.Object
  extended byorg.eclipse.higgins.sts.common.UsernameToken
All Implemented Interfaces:
org.eclipse.higgins.sts.api.ISecurityToken, org.eclipse.higgins.sts.api.IUsernameToken

public class UsernameToken
extends Object
implements org.eclipse.higgins.sts.api.IUsernameToken

Author:
mikemci

Constructor Summary
UsernameToken()
           
 
Method Summary
 org.eclipse.higgins.sts.api.IElement getAsElement()
           
 String getPassword()
           
 URI getTokenType()
           
 String getUsername()
           
 void setPassword(String strPassword)
           
 void setUsername(String strUsername)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernameToken

public UsernameToken()
Method Detail

getPassword

public String getPassword()
Specified by:
getPassword in interface org.eclipse.higgins.sts.api.IUsernameToken

getUsername

public String getUsername()
Specified by:
getUsername in interface org.eclipse.higgins.sts.api.IUsernameToken

setPassword

public void setPassword(String strPassword)
Specified by:
setPassword in interface org.eclipse.higgins.sts.api.IUsernameToken

setUsername

public void setUsername(String strUsername)
Specified by:
setUsername in interface org.eclipse.higgins.sts.api.IUsernameToken

getTokenType

public URI getTokenType()
Specified by:
getTokenType in interface org.eclipse.higgins.sts.api.ISecurityToken
Returns:
the uriTokenType

getAsElement

public org.eclipse.higgins.sts.api.IElement getAsElement()
                                                  throws Exception
Specified by:
getAsElement in interface org.eclipse.higgins.sts.api.ISecurityToken
Throws:
Exception