Class RestAuthenticationProperties
java.lang.Object
org.finos.fluxnova.bpm.spring.boot.starter.rest.RestAuthenticationProperties
@ConfigurationProperties(prefix="fluxnova.bpm.auth")
public class RestAuthenticationProperties
extends Object
Configuration properties for selecting the REST API authentication mode.
All properties are bound under the fluxnova.bpm.auth prefix, for example:
FLUXNOVA_BPM_AUTH_ENABLED=true FLUXNOVA_BPM_AUTH_TYPE=basic
or:
FLUXNOVA_BPM_AUTH_ENABLED=true
FLUXNOVA_BPM_AUTH_TYPE=jwt
FLUXNOVA_BPM_JWT_JWKS_URL=https://login.microsoftonline.com/{tenant}/discovery/v2.0/keys
FLUXNOVA_BPM_JWT_ISSUER=https://login.microsoftonline.com/{tenant}/v2.0
FLUXNOVA_BPM_JWT_AUDIENCE=api://your-client-id
-
Field Details
-
PREFIX
- See Also:
-
BASIC_AUTH
- See Also:
-
JWT_AUTH
- See Also:
-
AUTH_TYPES
-
-
Constructor Details
-
RestAuthenticationProperties
public RestAuthenticationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getType
-
setType
-