public enum PrincipalPropagationStrategy extends Enum<PrincipalPropagationStrategy>
Enum Constant and Description |
---|
COMPATIBILITY
COMPATIBILITY, use both headers
Proxy-Authorization and SAP-Connectivity-Authentication . |
DISABLED
DISABLED, only the technical service user from the XSUAA binding is used.
|
RECOMMENDATION
RECOMMENDATION, use recommended headers
Proxy-Authorization with an user exchange token. |
Modifier and Type | Method and Description |
---|---|
static PrincipalPropagationStrategy |
getDefaultStrategy()
The default strategy to use, when principal propagation is applicable.
|
static void |
setDefaultStrategy(PrincipalPropagationStrategy defaultStrategy)
The default strategy to use, when principal propagation is applicable.
|
static PrincipalPropagationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrincipalPropagationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrincipalPropagationStrategy DISABLED
public static final PrincipalPropagationStrategy COMPATIBILITY
Proxy-Authorization
and SAP-Connectivity-Authentication
.public static final PrincipalPropagationStrategy RECOMMENDATION
Proxy-Authorization
with an user exchange token.public static PrincipalPropagationStrategy[] values()
for (PrincipalPropagationStrategy c : PrincipalPropagationStrategy.values()) System.out.println(c);
public static PrincipalPropagationStrategy 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 null@Nonnull public static PrincipalPropagationStrategy getDefaultStrategy()
public static void setDefaultStrategy(@Nonnull PrincipalPropagationStrategy defaultStrategy)
Copyright © 2021 SAP SE. All rights reserved.