Enum Class OidcClaimsSource

java.lang.Object
java.lang.Enum<OidcClaimsSource>
swiss.trustbroker.federation.xmlconfig.OidcClaimsSource
All Implemented Interfaces:
Serializable, Comparable<OidcClaimsSource>, Constable

public enum OidcClaimsSource extends Enum<OidcClaimsSource>
Source for OIDC CP claims.
Since:
1.10.0
  • Enum Constant Details

    • ID_TOKEN

      public static final OidcClaimsSource ID_TOKEN
      Use claims from ID token.
      Allows override of claims and subject of other sources by default.
    • USERINFO

      public static final OidcClaimsSource USERINFO
      Use claims from userinfo endpoint.
      Allows override of claims other than subject of other sources by default.
    • USERINFO_JWT

      public static final OidcClaimsSource USERINFO_JWT
      Use claims from userinfo endpoint, accepting signed JWT token responses only.
      Allows override of claims and subject of other sources by default.
      Since:
      1.13.0
  • Method Details

    • values

      public static OidcClaimsSource[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OidcClaimsSource valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isClaimsFromUserinfo

      public boolean isClaimsFromUserinfo()
    • isAllowClaimsOverride

      public boolean isAllowClaimsOverride()
    • isAllowSubjectOverride

      public boolean isAllowSubjectOverride()