org.eclipse.higgins.sts.common
Class UsernameToken
java.lang.Object
org.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
UsernameToken
public UsernameToken()
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