Interface OidcTenantConfiguration.PrincipalMapper
- Enclosing interface:
OidcTenantConfiguration
public static interface OidcTenantConfiguration.PrincipalMapper
-
Method Summary
Modifier and TypeMethodDescriptionThe path to the claim that contains the principal ID.The claim that contains the principal name.type()The type of the principal mapper.
-
Method Details
-
idClaimPath
The path to the claim that contains the principal ID. Nested paths can be expressed using "/" as a separator, e.g."resource_access/client1/roles"would look for the "roles" field inside the "client1" object inside the "resource_access" object in the token claims.Optional. Either this option or
nameClaimPath()must be provided. -
nameClaimPath
The claim that contains the principal name. Nested paths can be expressed using "/" as a separator, e.g."resource_access/client1/roles"would look for the "roles" field inside the "client1" object inside the "resource_access" object in the token claims.Optional. Either this option or
idClaimPath()must be provided. -
type
The type of the principal mapper. Must be a registeredPrincipalMapperidentifier.
-