public class BaseAdapterConfig extends BaseRealmConfig
Modifier and Type | Field and Description |
---|---|
protected boolean |
bearerOnly |
protected boolean |
cors |
protected String |
corsAllowedHeaders |
protected String |
corsAllowedMethods |
protected int |
corsMaxAge |
protected Map<String,Object> |
credentials |
protected boolean |
enableBasicAuth |
protected boolean |
exposeToken |
protected boolean |
publicClient |
protected String |
resource |
protected boolean |
useResourceRoleMappings |
authServerUrl, realm, realmKey, sslRequired
Constructor and Description |
---|
BaseAdapterConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getCorsAllowedHeaders() |
String |
getCorsAllowedMethods() |
int |
getCorsMaxAge() |
Map<String,Object> |
getCredentials() |
String |
getResource() |
boolean |
isBearerOnly() |
boolean |
isCors() |
boolean |
isEnableBasicAuth() |
boolean |
isExposeToken() |
boolean |
isPublicClient() |
boolean |
isUseResourceRoleMappings() |
void |
setBearerOnly(boolean bearerOnly) |
void |
setCors(boolean cors) |
void |
setCorsAllowedHeaders(String corsAllowedHeaders) |
void |
setCorsAllowedMethods(String corsAllowedMethods) |
void |
setCorsMaxAge(int corsMaxAge) |
void |
setCredentials(Map<String,Object> credentials) |
void |
setEnableBasicAuth(boolean enableBasicAuth) |
void |
setExposeToken(boolean exposeToken) |
void |
setPublicClient(boolean publicClient) |
void |
setResource(String resource) |
void |
setUseResourceRoleMappings(boolean useResourceRoleMappings) |
getAuthServerUrl, getRealm, getRealmKey, getSslRequired, setAuthServerUrl, setRealm, setRealmKey, setSslRequired
protected String resource
protected boolean useResourceRoleMappings
protected boolean cors
protected int corsMaxAge
protected String corsAllowedHeaders
protected String corsAllowedMethods
protected boolean exposeToken
protected boolean bearerOnly
protected boolean enableBasicAuth
protected boolean publicClient
public boolean isUseResourceRoleMappings()
public void setUseResourceRoleMappings(boolean useResourceRoleMappings)
public String getResource()
public void setResource(String resource)
public boolean isCors()
public void setCors(boolean cors)
public int getCorsMaxAge()
public void setCorsMaxAge(int corsMaxAge)
public String getCorsAllowedHeaders()
public void setCorsAllowedHeaders(String corsAllowedHeaders)
public String getCorsAllowedMethods()
public void setCorsAllowedMethods(String corsAllowedMethods)
public boolean isExposeToken()
public void setExposeToken(boolean exposeToken)
public boolean isBearerOnly()
public void setBearerOnly(boolean bearerOnly)
public boolean isEnableBasicAuth()
public void setEnableBasicAuth(boolean enableBasicAuth)
public boolean isPublicClient()
public void setPublicClient(boolean publicClient)
Copyright © 2016 JBoss by Red Hat. All rights reserved.