Package pl.edu.icm.unity.types.authn
Class AuthenticationOptionsSelector
java.lang.Object
pl.edu.icm.unity.types.authn.AuthenticationOptionsSelector
- All Implemented Interfaces:
Comparable<AuthenticationOptionsSelector>
public class AuthenticationOptionsSelector
extends Object
implements Comparable<AuthenticationOptionsSelector>
Represents selection of authentication options: either a single concrete one or all options
under a common authenticator.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
final String
final Optional<I18nString>
final String
-
Constructor Summary
ConstructorDescriptionAuthenticationOptionsSelector
(com.fasterxml.jackson.databind.JsonNode json) AuthenticationOptionsSelector
(String authenticatorKey, String optionKey) AuthenticationOptionsSelector
(String authenticatorKey, String optionKey, Optional<I18nString> displayedName) -
Method Summary
Modifier and TypeMethodDescriptionallForAuthenticator
(String authenticatorKey) int
boolean
int
hashCode()
boolean
matchesAuthnOption
(AuthenticationOptionKey authnOptionKey)
-
Field Details
-
ALL_OPTS
- See Also:
-
authenticatorKey
-
optionKey
-
displayedName
-
-
Constructor Details
-
AuthenticationOptionsSelector
public AuthenticationOptionsSelector(String authenticatorKey, String optionKey, Optional<I18nString> displayedName) -
AuthenticationOptionsSelector
-
AuthenticationOptionsSelector
public AuthenticationOptionsSelector(com.fasterxml.jackson.databind.JsonNode json)
-
-
Method Details
-
allForAuthenticator
-
valueOf
-
toStringEncodedSelector
-
matchesAuthnOption
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<AuthenticationOptionsSelector>
-
getRepresentationFallbackToConfigKey
-