public enum AuthenticationType extends Enum<AuthenticationType>
GenericDestination
.Enum Constant and Description |
---|
APP_TO_APP_SSO |
BASIC_AUTHENTICATION |
CLIENT_CERTIFICATE_AUTHENTICATION |
INTERNAL_SYSTEM_AUTHENTICATION |
NO_AUTHENTICATION |
OAUTH2_SAML_BEARER_ASSERTION |
PRINCIPAL_PROPAGATION |
SAP_ASSERTION_SSO |
Modifier and Type | Method and Description |
---|---|
static AuthenticationType |
fromIdentifier(String identifier)
Returns the
AuthenticationType which equals the given identifier. |
static AuthenticationType |
fromIdentifierOrDefault(String identifier,
AuthenticationType defaultAuthenticationType)
Returns the
AuthenticationType which equals the given identifier, or the defaultAuthenticationType in
case there is none. |
String |
getIdentifier() |
String |
toString() |
static AuthenticationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationType NO_AUTHENTICATION
public static final AuthenticationType BASIC_AUTHENTICATION
public static final AuthenticationType PRINCIPAL_PROPAGATION
public static final AuthenticationType CLIENT_CERTIFICATE_AUTHENTICATION
public static final AuthenticationType APP_TO_APP_SSO
public static final AuthenticationType OAUTH2_SAML_BEARER_ASSERTION
public static final AuthenticationType SAP_ASSERTION_SSO
public static final AuthenticationType INTERNAL_SYSTEM_AUTHENTICATION
public static AuthenticationType[] values()
for (AuthenticationType c : AuthenticationType.values()) System.out.println(c);
public static AuthenticationType 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 String toString()
toString
in class Enum<AuthenticationType>
public static AuthenticationType fromIdentifier(@Nullable String identifier) throws IllegalArgumentException
AuthenticationType
which equals the given identifier.identifier
- The identifier to get a AuthenticationType
for.AuthenticationType
.IllegalArgumentException
- If the given identifier does not map to a AuthenticationType
.public static AuthenticationType fromIdentifierOrDefault(@Nullable String identifier, @NonNull AuthenticationType defaultAuthenticationType)
AuthenticationType
which equals the given identifier, or the defaultAuthenticationType in
case there is none.identifier
- The identifier to get a AuthenticationType
for.defaultAuthenticationType
- The AuthenticationType
to return if no matching AuthenticationType
could be found.AuthenticationType
or the default, if none is matching.@Generated(value="lombok") public String getIdentifier()
Copyright © 2018 SAP SE. All rights reserved.