Annotation Type ClaimsDefinition


  • @Retention(RUNTIME)
    public @interface ClaimsDefinition
    ClaimsDefinition annotation defines claims mapping in openid connect client configuration.
    • Optional Element Summary

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

      • callerNameClaim

        java.lang.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

        java.lang.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"