@ConfigRoot(name="oauth2",
phase=BUILD_AND_RUN_TIME_FIXED)
public class OAuth2BuildTimeConfig
extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
enabled
Determine if the OAuth2 extension is enabled.
|
String |
roleClaim
The claim that is used in the introspection endpoint response to load the roles.
|
| Constructor and Description |
|---|
OAuth2BuildTimeConfig() |
@ConfigItem(defaultValue="true") public boolean enabled
elytron-security-oauth2 dependency, so this would be used to disable it.@ConfigItem(defaultValue="scope") public String roleClaim
Copyright © 2021 JBoss by Red Hat. All rights reserved.