T - Type of SecurityToken - must be org.sourceid.wstrust.model.BinarySecurityToken for custom
token processor implementations.public interface TokenProcessor<T extends org.sourceid.wstrust.model.SecurityToken> extends Plugin
getPluginDescriptor().
It also defines the method that the PingFederate server calls to push administrator entered GUI
configuration values into the token processor ConfigurablePlugin.configure(Configuration). Type <T> must be
org.sourceid.wstrust.model.BinarySecurityToken for custom token processor implementations.TokenPluginDescriptor,
SecurityToken| Modifier and Type | Method and Description |
|---|---|
TokenPluginDescriptor |
getPluginDescriptor()
The PingFederate server will invoke this method on your token processor implementation to discover
metadata about the implementation.
|
TokenContext |
processToken(T token)
This is the method that the PingFederate server will invoke when it consumes a token.
|
configureTokenContext processToken(T token) throws TokenProcessingException
PluginDescriptor.getType() via getPluginDescriptor().
The returned TokenContext contains attributes resulting from
token processing. At a minimum, TokenContext.getSubjectAttributes()
should return a name/value pair denoting the 'subject' of the token
being processed.token - TokenProcessingExceptionTokenPluginDescriptor getPluginDescriptor()
getPluginDescriptor in interface DescribablePluginCopyright 2019 Ping Identity Corp. All rights reserved.