|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pingidentity.sts.clientapi.tokens.wsse.UsernameToken
public class UsernameToken
Implementation of WS-Security Username Token Profile 1.0
(see http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0.pdf).
Constructor Summary | |
---|---|
UsernameToken()
|
Method Summary | |
---|---|
java.lang.String |
getPassword()
Retrieves the password of the token. |
org.w3c.dom.Element |
getRoot()
Retrieves the raw token data as an XML Element. |
java.lang.String |
getSubjectId()
Retrieves the principal subject identfier of the token. |
java.lang.String |
getUsername()
Retrieves username of the token. |
void |
parse(org.w3c.dom.Element root)
Parses the provided XML Element into a token. |
void |
setPassword(java.lang.String password)
Sets the password of the token using clear text String. |
void |
setUsername(java.lang.String username)
Sets the username of the token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UsernameToken()
Method Detail |
---|
public java.lang.String getSubjectId()
Token
getSubjectId
in interface Token
public org.w3c.dom.Element getRoot() throws SecurityTokenException
Token
getRoot
in interface Token
SecurityTokenException
public void parse(org.w3c.dom.Element root) throws SecurityTokenException
Token
parse
in interface Token
SecurityTokenException
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- Stringpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- clear text String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |