public class Configuration extends AdapterConfig
allowAnyHostname, alwaysRefreshToken, clientKeyPassword, clientKeystore, clientKeystorePassword, connectionPoolSize, disableTrustManager, ignoreOAuthQueryParameter, minTimeBetweenJwksRequests, pkce, policyEnforcerConfig, principalAttribute, proxyUrl, publicKeyCacheTtl, registerNodeAtStartup, registerNodePeriod, tokenCookiePath, tokenMinimumTimeToLive, tokenStore, truststore, truststorePassword, turnOffChangeSessionIdOnLogin, verifyTokenAudience
autodetectBearerOnly, bearerOnly, cors, corsAllowedHeaders, corsAllowedMethods, corsExposedHeaders, corsMaxAge, credentials, enableBasicAuth, exposeToken, publicClient, redirectRewriteRules, resource, useResourceRoleMappings
authServerUrl, confidentialPort, realm, realmKey, sslRequired
Constructor and Description |
---|
Configuration() |
Configuration(String authServerUrl,
String realm,
String clientId,
Map<String,Object> clientCredentials,
org.apache.http.client.HttpClient httpClient)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.HttpClient |
getHttpClient() |
getClientKeyPassword, getClientKeystore, getClientKeystorePassword, getConnectionPoolSize, getMinTimeBetweenJwksRequests, getPolicyEnforcerConfig, getPrincipalAttribute, getProxyUrl, getPublicKeyCacheTtl, getRegisterNodePeriod, getTokenCookiePath, getTokenMinimumTimeToLive, getTokenStore, getTruststore, getTruststorePassword, getTurnOffChangeSessionIdOnLogin, isAllowAnyHostname, isAlwaysRefreshToken, isDisableTrustManager, isIgnoreOAuthQueryParameter, isPkce, isRegisterNodeAtStartup, isVerifyTokenAudience, setAllowAnyHostname, setAlwaysRefreshToken, setClientKeyPassword, setClientKeystore, setClientKeystorePassword, setConnectionPoolSize, setDisableTrustManager, setIgnoreOAuthQueryParameter, setMinTimeBetweenJwksRequests, setPkce, setPolicyEnforcerConfig, setPrincipalAttribute, setProxyUrl, setPublicKeyCacheTtl, setRegisterNodeAtStartup, setRegisterNodePeriod, setTokenCookiePath, setTokenMinimumTimeToLive, setTokenStore, setTruststore, setTruststorePassword, setTurnOffChangeSessionIdOnLogin, setVerifyTokenAudience
getCorsAllowedHeaders, getCorsAllowedMethods, getCorsExposedHeaders, getCorsMaxAge, getCredentials, getRedirectRewriteRules, getResource, isAutodetectBearerOnly, isBearerOnly, isCors, isEnableBasicAuth, isExposeToken, isPublicClient, isUseResourceRoleMappings, setAutodetectBearerOnly, setBearerOnly, setCors, setCorsAllowedHeaders, setCorsAllowedMethods, setCorsExposedHeaders, setCorsMaxAge, setCredentials, setEnableBasicAuth, setExposeToken, setPublicClient, setRedirectRewriteRules, setResource, setUseResourceRoleMappings
getAuthServerUrl, getConfidentialPort, getRealm, getRealmKey, getSslRequired, setAuthServerUrl, setConfidentialPort, setRealm, setRealmKey, setSslRequired
public Configuration()
public Configuration(String authServerUrl, String realm, String clientId, Map<String,Object> clientCredentials, org.apache.http.client.HttpClient httpClient)
authServerUrl
- the server's URL. E.g.: http://{server}:{port}/auth.(not null
)realm
- the realm name (not null
)clientId
- the client id (not null
)clientCredentials
- a map with the client credentials (not null
)httpClient
- the HttpClient
instance that should be used when sending requests to the server, or null
if a default instance should be createdCopyright © 2019 JBoss by Red Hat. All rights reserved.