public class AuthenticationSelectorDescriptor extends PluginDescriptor
UNDEFINED| Constructor and Description |
|---|
AuthenticationSelectorDescriptor(String type,
ConfigurablePlugin plugin,
GuiConfigDescriptorBuilder guiConfigDescBuilder,
Set<String> results)
The constructor for the AuthenticationSelectorDescriptor class.
|
AuthenticationSelectorDescriptor(String type,
ConfigurablePlugin plugin,
GuiConfigDescriptorBuilder guiConfigDescBuilder,
Set<String> results,
String version)
The constructor for the AuthenticationSelectorDescriptor class.
|
AuthenticationSelectorDescriptor(String type,
ConfigurablePlugin plugin,
GuiConfigDescriptor guiConfigDesc,
Set<String> results)
The constructor for the AuthenticationSelectorDescriptor class.
|
AuthenticationSelectorDescriptor(String type,
ConfigurablePlugin plugin,
GuiConfigDescriptor guiConfigDesc,
Set<String> results,
String version)
The constructor for the AuthenticationSelectorDescriptor class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSelectAuthnSourceResultType()
Indicates if
AuthenticationSelector.selectContext(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.util.Map<com.pingidentity.sdk.AuthenticationSourceKey, java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String) can possibly return an authentication source
result type (i.e.: ResultType.ADAPTER_ID or ResultType.IDP_CONN_ID). |
boolean |
equals(Object o) |
List<String> |
getAdditionalResults(Configuration configuration)
Instead of allowing extended result values to be specified in the Selector Result Values
screen, a selector can override this method to add additional values based on the selector
configuration.
|
int |
hashCode() |
boolean |
isAnyMatchEnabled(Configuration configuration)
The return value of this method determines whether
the extended results for the selector are combined in to a single result,
which is triggered when any of the selector's extended result values is matched.
|
boolean |
isSortConfigurationAttributes(Configuration configuration)
The return value of this method determines whether
the configuration attributes for the selector need to be sorted,
when viewed in the Authentication Policy tree.
|
void |
setSelectAuthnSourceResultType(boolean selectAuthnSourceResultType)
Sets if
AuthenticationSelector.selectContext(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.util.Map<com.pingidentity.sdk.AuthenticationSourceKey, java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String) can possibly return an authentication source
result type (i.e.: ResultType.ADAPTER_ID or ResultType.IDP_CONN_ID). |
void |
setSupportsExtendedResults(boolean supportsExtendedResults)
This method is used to specify whether or not an Authentication Selector should allow additional result values to
be specified via the Selector Result Values screen.
|
getAttributeContractSet, getGuiConfigDescriptor, getGuiConfigDescriptorBuilder, getPluginClassName, getType, getVersion, isSupportsExtendedContract, setAttributeContactSet, setAttributeContractSet, setSupportsExtendedContractpublic AuthenticationSelectorDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptor guiConfigDesc, Set<String> results)
type - a text label for the Authentication Selectorplugin - the plugin instanceguiConfigDesc - the graphical user interface descriptor used for expressing the configurable fields of the
Authentication Selectorresults - the set of String values to be used for Authentication Selector runtime processing.public AuthenticationSelectorDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptor guiConfigDesc, Set<String> results, String version)
type - a text label for the Authentication Selectorplugin - the plugin instanceguiConfigDesc - the graphical user interface descriptor used for expressing the configurable fields of the
Authentication Selectorresults - the set of String values to be used for Authentication Selector runtime processing.version - The version of this PluginDescriptor.public AuthenticationSelectorDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptorBuilder guiConfigDescBuilder, Set<String> results)
type - a text label for the Authentication Selectorplugin - the plugin instanceguiConfigDescBuilder - the graphical user interface descriptor builder used for expressing the configurable
fields of the Authentication Selector.
Everytime a GUI configuration descriptor is needed, a new one will be created by the builder.results - the set of String values to be used for Authentication Selector runtime processing.public AuthenticationSelectorDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptorBuilder guiConfigDescBuilder, Set<String> results, String version)
type - a text label for the Authentication Selectorplugin - the plugin instanceguiConfigDescBuilder - the graphical user interface descriptor builder used for expressing the configurable
fields of the Authentication Selector.
Everytime a GUI configuration descriptor is needed, a new one will be created by the builder.results - the set of String values to be used for Authentication Selector runtime processing.version - The version of this PluginDescriptor.public void setSupportsExtendedResults(boolean supportsExtendedResults)
supportsExtendedResults - flag indicating whether extended results should be allowed
to be specified via the Selector Result Values screen.public boolean canSelectAuthnSourceResultType()
AuthenticationSelector.selectContext(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.util.Map<com.pingidentity.sdk.AuthenticationSourceKey, java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String) can possibly return an authentication source
result type (i.e.: ResultType.ADAPTER_ID or ResultType.IDP_CONN_ID).
Returns false by defaultAuthenticationSelector.selectContext(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.util.Map<com.pingidentity.sdk.AuthenticationSourceKey, java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String) will return an authentication source result type.public void setSelectAuthnSourceResultType(boolean selectAuthnSourceResultType)
AuthenticationSelector.selectContext(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.util.Map<com.pingidentity.sdk.AuthenticationSourceKey, java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String) can possibly return an authentication source
result type (i.e.: ResultType.ADAPTER_ID or ResultType.IDP_CONN_ID).selectAuthnSourceResultType - true if AuthenticationSelector.selectContext(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.util.Map<com.pingidentity.sdk.AuthenticationSourceKey, java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String) will
return an authentication source result type, false otherwise.public List<String> getAdditionalResults(Configuration configuration)
setSupportsExtendedResults(boolean) has been called with 'true', then
this method will not be invoked.configuration - The configuration of a selector instance.public boolean isAnyMatchEnabled(Configuration configuration)
configuration - The configuration of a selector instance.public boolean isSortConfigurationAttributes(Configuration configuration)
configuration - The configuration of a selector instance.public boolean equals(Object o)
equals in class PluginDescriptorpublic int hashCode()
hashCode in class PluginDescriptorCopyright 2019 Ping Identity Corp. All rights reserved.