public interface ClientUserToken
extends com.sun.xml.ws.security.Token
OnBehalfOf
. This element is used by the OpenAM
STS Service to allow any custom changes to the issued tokens by the STS.
This is also known as End user token conversion interface (SPI) that can
be implemented by any custom token implementation to convert any custom
end user token to the token issued by Security Token Service. In this case,
the identity or the owner of the token generated by STS, would be same as
the End user token.
The implementation of this interface can be configured at global Security
Token Service configuration (via Admin Console) for server side and in
client's AMConfig.properties for client side.Modifier and Type | Method and Description |
---|---|
String |
getPrincipalName()
Returns the principal name that the client user token carries.
|
void |
init(Object obj)
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. |
void init(Object obj) throws FAMSTSException
obj
- credential object to initialize the user tokenFAMSTSException
void parse(Element element) throws FAMSTSException
element
- the custom token elementFAMSTSException
String getPrincipalName() throws FAMSTSException
FAMSTSException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.