Class BaseAdapterConfig
java.lang.Object
org.keycloak.representations.adapters.config.BaseRealmConfig
org.keycloak.representations.adapters.config.BaseAdapterConfig
- Direct Known Subclasses:
AdapterConfig
Common Adapter configuration
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected String
protected String
protected String
protected int
protected boolean
protected boolean
protected boolean
protected String
protected boolean
Fields inherited from class org.keycloak.representations.adapters.config.BaseRealmConfig
authServerUrl, confidentialPort, realm, realmKey, sslRequired
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
boolean
isCors()
boolean
boolean
boolean
boolean
void
setAutodetectBearerOnly
(boolean autodetectBearerOnly) void
setBearerOnly
(boolean bearerOnly) void
setCors
(boolean cors) void
setCorsAllowedHeaders
(String corsAllowedHeaders) void
setCorsAllowedMethods
(String corsAllowedMethods) void
setCorsExposedHeaders
(String corsExposedHeaders) void
setCorsMaxAge
(int corsMaxAge) void
setCredentials
(Map<String, Object> credentials) void
setEnableBasicAuth
(boolean enableBasicAuth) void
setExposeToken
(boolean exposeToken) void
setPublicClient
(boolean publicClient) void
setRedirectRewriteRules
(Map<String, String> redirectRewriteRules) void
setResource
(String resource) void
setUseResourceRoleMappings
(boolean useResourceRoleMappings) Methods inherited from class org.keycloak.representations.adapters.config.BaseRealmConfig
getAuthServerUrl, getConfidentialPort, getRealm, getRealmKey, getSslRequired, setAuthServerUrl, setConfidentialPort, setRealm, setRealmKey, setSslRequired
-
Field Details
-
resource
-
useResourceRoleMappings
protected boolean useResourceRoleMappings -
cors
protected boolean cors -
corsMaxAge
protected int corsMaxAge -
corsAllowedHeaders
-
corsAllowedMethods
-
corsExposedHeaders
-
exposeToken
protected boolean exposeToken -
bearerOnly
protected boolean bearerOnly -
autodetectBearerOnly
protected boolean autodetectBearerOnly -
enableBasicAuth
protected boolean enableBasicAuth -
publicClient
protected boolean publicClient -
credentials
-
redirectRewriteRules
-
-
Constructor Details
-
BaseAdapterConfig
public BaseAdapterConfig()
-
-
Method Details
-
isUseResourceRoleMappings
public boolean isUseResourceRoleMappings() -
setUseResourceRoleMappings
public void setUseResourceRoleMappings(boolean useResourceRoleMappings) -
getResource
-
setResource
-
isCors
public boolean isCors() -
setCors
public void setCors(boolean cors) -
getCorsMaxAge
public int getCorsMaxAge() -
setCorsMaxAge
public void setCorsMaxAge(int corsMaxAge) -
getCorsAllowedHeaders
-
setCorsAllowedHeaders
-
getCorsAllowedMethods
-
setCorsAllowedMethods
-
getCorsExposedHeaders
-
setCorsExposedHeaders
-
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
-
setCredentials
-
isPublicClient
public boolean isPublicClient() -
setPublicClient
public void setPublicClient(boolean publicClient) -
getRedirectRewriteRules
-
setRedirectRewriteRules
-