Class OidcClaimsSources

java.lang.Object
swiss.trustbroker.federation.xmlconfig.OidcClaimsSources
All Implemented Interfaces:
Serializable

public class OidcClaimsSources extends Object implements Serializable
Sources of claims for OIDC CPs.
Since:
1.10.0
See Also:
  • Constructor Details

    • OidcClaimsSources

      public OidcClaimsSources()
    • OidcClaimsSources

      public OidcClaimsSources(Boolean allowClaimsOverride, Boolean allowSubjectOverride, List<OidcClaimsSource> claimsSourceList)
      Creates a new OidcClaimsSources instance.
      Parameters:
      allowClaimsOverride - Allow overriding claims by sources in the given order.
      Default: The sources' default.
      allowSubjectOverride - Allow overriding subject by sources in the given order.
      Default: The sources' default.
      claimsSourceList - List of claims sources.
      Claims from sources are combined in the given order.
      Since:
      1.14.0, 1.14.0
      See Also:
  • Method Details

    • allowClaimsOverride

      public boolean allowClaimsOverride(OidcClaimsSource source)
    • allowSubjectOverride

      public boolean allowSubjectOverride(OidcClaimsSource source)
    • builder

    • getAllowClaimsOverride

      public Boolean getAllowClaimsOverride()
      Allow overriding claims by sources in the given order.
      Default: The sources' default.
      Since:
      1.14.0
    • getAllowSubjectOverride

      public Boolean getAllowSubjectOverride()
      Allow overriding subject by sources in the given order.
      Default: The sources' default.
      Since:
      1.14.0
    • getClaimsSourceList

      public List<OidcClaimsSource> getClaimsSourceList()
      List of claims sources.
      Claims from sources are combined in the given order.
      See Also:
    • setAllowClaimsOverride

      public void setAllowClaimsOverride(Boolean allowClaimsOverride)
      Allow overriding claims by sources in the given order.
      Default: The sources' default.
      Since:
      1.14.0
    • setAllowSubjectOverride

      public void setAllowSubjectOverride(Boolean allowSubjectOverride)
      Allow overriding subject by sources in the given order.
      Default: The sources' default.
      Since:
      1.14.0
    • setClaimsSourceList

      public void setClaimsSourceList(List<OidcClaimsSource> claimsSourceList)
      List of claims sources.
      Claims from sources are combined in the given order.
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object