public interface TokenGenerator extends Plugin
DescribablePlugin.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). For
custom token generator implementations, a org.sourceid.wstrust.model.BinarySecurityToken should
be returned.TokenPluginDescriptor,
SecurityToken| Modifier and Type | Method and Description |
|---|---|
org.sourceid.wstrust.model.SecurityToken |
generateToken(TokenContext attributeContext)
This is the method that the PingFederate server will invoke when constructing a new token.
|
configuregetPluginDescriptororg.sourceid.wstrust.model.SecurityToken generateToken(TokenContext attributeContext) throws TokenProcessingException
PluginDescriptor.getType() via DescribablePlugin.getPluginDescriptor().attributeContext - 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.TokenProcessingExceptionCopyright 2019 Ping Identity Corp. All rights reserved.