Package io.quarkus.oidc
Class OidcTenantConfig.Roles
java.lang.Object
io.quarkus.oidc.OidcTenantConfig.Roles
- Enclosing class:
- OidcTenantConfig
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionA list of paths to claims containing an array of groups.The separator for splitting strings that contain multiple group values.Source of the principal roles. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OidcTenantConfig.Roles
fromClaimPath
(List<String> path) static OidcTenantConfig.Roles
fromClaimPathAndSeparator
(List<String> path, String sep) void
setRoleClaimPath
(List<String> roleClaimPath) void
setRoleClaimSeparator
(String roleClaimSeparator) void
-
Field Details
-
roleClaimPath
A list of paths to claims containing an array of groups. Each path starts from the top level JWT JSON object and can contain multiple segments. Each segment represents a JSON object name only; for example: "realm/groups". Use double quotes with the namespace-qualified claim names. This property can be used if a token has no `groups` claim but has the groups set in one or more different claims. -
roleClaimSeparator
The separator for splitting strings that contain multiple group values. It is only used if the "role-claim-path" property points to one or more custom claims whose values are strings. A single space is used by default because the standard `scope` claim can contain a space-separated sequence. -
source
Source of the principal roles.
-
-
Constructor Details
-
Roles
public Roles()
-
-
Method Details
-
fromClaimPath
-
fromClaimPathAndSeparator
-
getRoleClaimPath
-
setRoleClaimPath
-
getRoleClaimSeparator
-
setRoleClaimSeparator
-
getSource
-
setSource
-