Class BaseAdapterConfig

java.lang.Object
org.keycloak.representations.adapters.config.BaseRealmConfig
org.keycloak.representations.adapters.config.BaseAdapterConfig
Direct Known Subclasses:
AdapterConfig

public class BaseAdapterConfig extends BaseRealmConfig
Common Adapter configuration
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • resource

      protected String resource
    • useResourceRoleMappings

      protected boolean useResourceRoleMappings
    • cors

      protected boolean cors
    • corsMaxAge

      protected int corsMaxAge
    • corsAllowedHeaders

      protected String corsAllowedHeaders
    • corsAllowedMethods

      protected String corsAllowedMethods
    • corsExposedHeaders

      protected String corsExposedHeaders
    • exposeToken

      protected boolean exposeToken
    • bearerOnly

      protected boolean bearerOnly
    • autodetectBearerOnly

      protected boolean autodetectBearerOnly
    • enableBasicAuth

      protected boolean enableBasicAuth
    • publicClient

      protected boolean publicClient
    • credentials

      protected Map<String,Object> credentials
    • redirectRewriteRules

      protected Map<String,String> redirectRewriteRules
  • Constructor Details

    • BaseAdapterConfig

      public BaseAdapterConfig()
  • Method Details

    • isUseResourceRoleMappings

      public boolean isUseResourceRoleMappings()
    • setUseResourceRoleMappings

      public void setUseResourceRoleMappings(boolean useResourceRoleMappings)
    • getResource

      public String getResource()
    • setResource

      public void setResource(String resource)
    • isCors

      public boolean isCors()
    • setCors

      public void setCors(boolean cors)
    • getCorsMaxAge

      public int getCorsMaxAge()
    • setCorsMaxAge

      public void setCorsMaxAge(int corsMaxAge)
    • getCorsAllowedHeaders

      public String getCorsAllowedHeaders()
    • setCorsAllowedHeaders

      public void setCorsAllowedHeaders(String corsAllowedHeaders)
    • getCorsAllowedMethods

      public String getCorsAllowedMethods()
    • setCorsAllowedMethods

      public void setCorsAllowedMethods(String corsAllowedMethods)
    • getCorsExposedHeaders

      public String getCorsExposedHeaders()
    • setCorsExposedHeaders

      public void setCorsExposedHeaders(String corsExposedHeaders)
    • isExposeToken

      public boolean isExposeToken()
    • setExposeToken

      public void setExposeToken(boolean exposeToken)
    • isBearerOnly

      public boolean isBearerOnly()
    • setBearerOnly

      public void setBearerOnly(boolean bearerOnly)
    • isAutodetectBearerOnly

      public boolean isAutodetectBearerOnly()
    • setAutodetectBearerOnly

      public void setAutodetectBearerOnly(boolean autodetectBearerOnly)
    • isEnableBasicAuth

      public boolean isEnableBasicAuth()
    • setEnableBasicAuth

      public void setEnableBasicAuth(boolean enableBasicAuth)
    • getCredentials

      public Map<String,Object> getCredentials()
    • setCredentials

      public void setCredentials(Map<String,Object> credentials)
    • isPublicClient

      public boolean isPublicClient()
    • setPublicClient

      public void setPublicClient(boolean publicClient)
    • getRedirectRewriteRules

      public Map<String,String> getRedirectRewriteRules()
    • setRedirectRewriteRules

      public void setRedirectRewriteRules(Map<String,String> redirectRewriteRules)