Annotation Type ClaimsDefinition


  • @Retention(RUNTIME)
    public @interface ClaimsDefinition
    ClaimsDefinition annotation defines claims mapping in openid connect client configuration.
    Author:
    jGauravGupta, Rudy De Busscher
    • Optional Element Summary

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

      • 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"