public enum AuthenticationKeyResolver extends Enum<AuthenticationKeyResolver> implements Function<String,AuthenticationKey>
AuthenticationKey| Modifier and Type | Class and Description |
|---|---|
static class |
AuthenticationKeyResolver.AuthenticationKeyFormat |
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationKey |
apply(String id) |
static AuthenticationKeyResolver |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationKeyResolver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationKeyResolver INSTANCE
public static AuthenticationKeyResolver[] values()
for (AuthenticationKeyResolver c : AuthenticationKeyResolver.values()) System.out.println(c);
public static AuthenticationKeyResolver 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 AuthenticationKey apply(String id)
apply in interface Function<String,AuthenticationKey>Copyright © 2021 JBoss by Red Hat. All rights reserved.