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, verifyTokenAudienceautodetectBearerOnly, bearerOnly, cors, corsAllowedHeaders, corsAllowedMethods, corsExposedHeaders, corsMaxAge, credentials, enableBasicAuth, exposeToken, publicClient, redirectRewriteRules, resource, useResourceRoleMappingsauthServerUrl, 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, setVerifyTokenAudiencegetCorsAllowedHeaders, 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, setUseResourceRoleMappingsgetAuthServerUrl, getConfidentialPort, getRealm, getRealmKey, getSslRequired, setAuthServerUrl, setConfidentialPort, setRealm, setRealmKey, setSslRequiredpublic 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.