public class STSClientUserToken extends Object implements ClientUserToken
Constructor and Description |
---|
STSClientUserToken()
Creates a new instance of STSClientUserToken
|
STSClientUserToken(Element element) |
Modifier and Type | Method and Description |
---|---|
String |
getAppTokenID()
Returns the Application/Client token value.
|
String |
getPrincipalName()
Returns the principal name that the client user token carries.
|
String |
getTokenId() |
Element |
getTokenValue() |
String |
getType() |
void |
init(Object credential)
Initializes client user token.
|
void |
parse(Element element)
Parses the custom token element.
|
String |
toString()
Returns the
java.lang.String representation of
this client user token. |
public STSClientUserToken()
public STSClientUserToken(Element element) throws FAMSTSException
FAMSTSException
public void init(Object credential) throws FAMSTSException
ClientUserToken
init
in interface ClientUserToken
credential
- credential object to initialize the user tokenFAMSTSException
public void parse(Element element) throws FAMSTSException
ClientUserToken
parse
in interface ClientUserToken
element
- the custom token elementFAMSTSException
public Element getTokenValue()
getTokenValue
in interface com.sun.xml.ws.security.Token
public String getTokenId()
public String getPrincipalName() throws FAMSTSException
ClientUserToken
getPrincipalName
in interface ClientUserToken
FAMSTSException
public String toString()
ClientUserToken
java.lang.String
representation of
this client user token.toString
in interface ClientUserToken
toString
in class Object
public String getType()
getType
in interface com.sun.xml.ws.security.Token
public String getAppTokenID()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.