public enum CallbackKind extends Enum<CallbackKind>
Enum Constant and Description |
---|
CHANNEL_BINDING
Callbacks which configure channel binding options:
ChannelBindingCallback |
CHOICE
Callbacks which extend
ChoiceCallback (not including RealmChoiceCallback ). |
CREDENTIAL
Callbacks which select a credential to use for authentication:
PasswordCallback and CredentialCallback |
CREDENTIAL_RESET
Callbacks which handle local credential-reset requests:
PasswordResetCallback |
GENERAL_INPUT
Callbacks which provide general input:
TextInputCallback |
GENERAL_OUTPUT
Callbacks which provide general output:
TextOutputCallback |
PARAMETERS
Callbacks which select algorithm parameters to use for authentication:
ParameterCallback |
PEER_CREDENTIAL
Callbacks which handle or verify the peer's credentials:
EvidenceVerifyCallback |
PEER_PRINCIPAL
Callbacks which accept the peer's name or principal: server side
NameCallback |
PRINCIPAL
Callbacks which select a user name or principal: client side
NameCallback |
REALM
Callbacks which select the mechanism realm:
RealmChoiceCallback and RealmCallback |
SERVER_TRUSTED_AUTHORITIES
Callbacks which accept the server's trusted authorities:
TrustedAuthoritiesCallback |
SSL
Callbacks which deal with SSL configuration:
SSLCallback |
Modifier and Type | Method and Description |
---|---|
boolean |
in(CallbackKind... values)
Determine whether this instance is equal to one of the given instances.
|
boolean |
in(CallbackKind v1)
Determine whether this instance is equal to one of the given instances.
|
boolean |
in(CallbackKind v1,
CallbackKind v2)
Determine whether this instance is equal to one of the given instances.
|
boolean |
in(CallbackKind v1,
CallbackKind v2,
CallbackKind v3)
Determine whether this instance is equal to one of the given instances.
|
static boolean |
isFull(EnumSet<CallbackKind> set)
Determine whether the given set is fully populated (or "full"), meaning it contains all possible values.
|
static CallbackKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallbackKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallbackKind PRINCIPAL
NameCallback
public static final CallbackKind CREDENTIAL
PasswordCallback
and CredentialCallback
public static final CallbackKind CREDENTIAL_RESET
PasswordResetCallback
public static final CallbackKind REALM
RealmChoiceCallback
and RealmCallback
public static final CallbackKind PEER_PRINCIPAL
NameCallback
public static final CallbackKind PEER_CREDENTIAL
EvidenceVerifyCallback
public static final CallbackKind CHOICE
ChoiceCallback
(not including RealmChoiceCallback
).public static final CallbackKind PARAMETERS
ParameterCallback
public static final CallbackKind SERVER_TRUSTED_AUTHORITIES
TrustedAuthoritiesCallback
public static final CallbackKind GENERAL_OUTPUT
TextOutputCallback
public static final CallbackKind GENERAL_INPUT
TextInputCallback
public static final CallbackKind SSL
SSLCallback
public static final CallbackKind CHANNEL_BINDING
ChannelBindingCallback
public static CallbackKind[] values()
for (CallbackKind c : CallbackKind.values()) System.out.println(c);
public static CallbackKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static boolean isFull(EnumSet<CallbackKind> set)
set
- the settrue
if the set is full, false
otherwisepublic boolean in(CallbackKind v1)
v1
- the first instancetrue
if one of the instances matches this one, false
otherwisepublic boolean in(CallbackKind v1, CallbackKind v2)
v1
- the first instancev2
- the second instancetrue
if one of the instances matches this one, false
otherwisepublic boolean in(CallbackKind v1, CallbackKind v2, CallbackKind v3)
v1
- the first instancev2
- the second instancev3
- the third instancetrue
if one of the instances matches this one, false
otherwisepublic boolean in(CallbackKind... values)
values
- the possible valuestrue
if one of the instances matches this one, false
otherwiseCopyright © 2020 JBoss by Red Hat. All rights reserved.