Class OidcDefinition

java.lang.Object
com.tivoli.am.fim.trustserver.sts.oauth20.OidcDefinition
All Implemented Interfaces:
Serializable

public class OidcDefinition extends Object implements Serializable
Simple container of OIDC configurations of a Definition
See Also:
  • Constructor Details

    • OidcDefinition

      public OidcDefinition(boolean oidc, String iss, String poc, long lifetime, String alg, String db, String cert, String encAlg, String encEnc, boolean includeIssInAuthResp, boolean oidcCompliant, boolean fapiCompliant, JSONObject ext)
  • Method Details

    • isOidc

      public boolean isOidc()
      Returns true if Oidc is enabled on Definition
    • getIss

      public String getIss()
      Returns issure value
    • getPoc

      public String getPoc()
      Returns poc value
    • getLifetime

      public long getLifetime()
      Returns ID token lifetime
    • getAlg

      public String getAlg()
      Returns Signing Algorithm
    • getDb

      public String getDb()
      Returns SSL Database for Signing key
    • getCert

      public String getCert()
      Returns Certificate Label of Signing key
    • getEncAlg

      public String getEncAlg()
      Returns Encryption Key Agreement Algorithm
    • getEncEnc

      public String getEncEnc()
      Returns Encryption Algorithm
    • getIncludeIssInAuthResp

      public boolean getIncludeIssInAuthResp()
      Returns config to include iss in auth response or not
    • dynamicClientsEnabled

      public boolean dynamicClientsEnabled()
      Returns true if Dynamic Client Registeration is Enabled.
    • dynamicClientIssueSecret

      public boolean dynamicClientIssueSecret()
      Returns true if Issue Client Secret for Dynamic Client flag is enabled
    • getOidcCompliant

      public boolean getOidcCompliant()
      Returns true OIDC Compliant flag is set
    • setOidcCompliant

      public void setOidcCompliant(boolean oidcCompliant)
      Set Definition to be OIDC Compliant
    • getFapiCompliant

      public boolean getFapiCompliant()
      Returns true FAP Compliant flag is set
    • setFapiCompliant

      public void setFapiCompliant(boolean fapiCompliant)
      Set Definition to be FAPI Compliant
    • setExt

      public void setExt(JSONObject ext)
      Set Extended attributes
    • getExt

      public Object getExt(String attributeName)
      Returns extended attributes