Annotation Interface ClaimsDefinition


@Retention(RUNTIME) public @interface ClaimsDefinition
ClaimsDefinition annotation defines claims mapping in openid connect client configuration. Expression Language

Expressions in attributes of type String are evaluated.

Author:
jGauravGupta, Rudy De Busscher
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Maps the callerGroupsClaim's value to caller groups value in jakarta.security.enterprise.identitystore.IdentityStore#validate
    Maps the callerNameClaim's value to caller name value in jakarta.security.enterprise.identitystore.IdentityStore#validate
  • Element Details

    • callerNameClaim

      String callerNameClaim
      Maps the callerNameClaim's value to caller name value in jakarta.security.enterprise.identitystore.IdentityStore#validate
      Returns:
      Claim name to be used as caller.
      Default:
      "preferred_username"
    • callerGroupsClaim

      String callerGroupsClaim
      Maps the callerGroupsClaim's value to caller groups value in jakarta.security.enterprise.identitystore.IdentityStore#validate
      Returns:
      Claim name to be used as caller Group.
      Default:
      "groups"