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 Summary
Fields Modifier and Type Field Description protected boolean
autodetectBearerOnly
protected boolean
bearerOnly
protected boolean
cors
protected String
corsAllowedHeaders
protected String
corsAllowedMethods
protected String
corsExposedHeaders
protected int
corsMaxAge
protected Map<String,Object>
credentials
protected boolean
enableBasicAuth
protected boolean
exposeToken
protected boolean
publicClient
protected Map<String,String>
redirectRewriteRules
protected String
resource
protected boolean
useResourceRoleMappings
-
Fields inherited from class org.keycloak.representations.adapters.config.BaseRealmConfig
authServerUrl, confidentialPort, realm, realmKey, sslRequired
-
-
Constructor Summary
Constructors Constructor Description BaseAdapterConfig()
-
Method Summary
-
Methods inherited from class org.keycloak.representations.adapters.config.BaseRealmConfig
getAuthServerUrl, getConfidentialPort, getRealm, getRealmKey, getSslRequired, setAuthServerUrl, setConfidentialPort, setRealm, setRealmKey, setSslRequired
-
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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)
-
isPublicClient
public boolean isPublicClient()
-
setPublicClient
public void setPublicClient(boolean publicClient)
-
-