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.ISecurityElement, 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
 void fromElement(org.eclipse.higgins.sts.api.IElement element)
           
 Date getCreated()
           
 String getNonce()
           
 String getPassword()
           
 URI getTokenType()
           
 String getUsername()
           
 void setCreated(Date dtCreated)
           
 void setNonce(String strNonce)
           
 void setPassword(String strPassword)
           
 void setUsername(String strUsername)
           
 org.eclipse.higgins.sts.api.IElement toElement()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernameToken

public UsernameToken()
Method Detail

getUsername

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

getPassword

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

getNonce

public String getNonce()
Specified by:
getNonce in interface org.eclipse.higgins.sts.api.IUsernameToken
Returns:
the strNonce

getCreated

public Date getCreated()
Specified by:
getCreated in interface org.eclipse.higgins.sts.api.IUsernameToken

getTokenType

public URI getTokenType()
Returns:
the uriTokenType

setUsername

public void setUsername(String strUsername)
Specified by:
setUsername 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

setNonce

public void setNonce(String strNonce)
Specified by:
setNonce in interface org.eclipse.higgins.sts.api.IUsernameToken
Parameters:
strNonce - the strNonce to set

setCreated

public void setCreated(Date dtCreated)
Specified by:
setCreated in interface org.eclipse.higgins.sts.api.IUsernameToken

toElement

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

fromElement

public void fromElement(org.eclipse.higgins.sts.api.IElement element)
                 throws Exception
Specified by:
fromElement in interface org.eclipse.higgins.sts.api.ISecurityElement
Throws:
Exception