Package org.wildfly.security.http.oidc
Class OidcJsonConfiguration
- java.lang.Object
-
- org.wildfly.security.http.oidc.OidcJsonConfiguration
-
public class OidcJsonConfiguration extends Object
Configuration for Java based adapters- Author:
- Bill Burke, Brad Culley, John D. Ament, Farah Juma
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OidcJsonConfiguration()
-
Method Summary
-
-
-
Field Detail
-
allowAnyHostname
protected boolean allowAnyHostname
-
disableTrustManager
protected boolean disableTrustManager
-
truststore
protected String truststore
-
truststorePassword
protected String truststorePassword
-
clientKeystore
protected String clientKeystore
-
clientKeystorePassword
protected String clientKeystorePassword
-
clientKeyPassword
protected String clientKeyPassword
-
connectionPoolSize
protected int connectionPoolSize
-
alwaysRefreshToken
protected boolean alwaysRefreshToken
-
registerNodeAtStartup
protected boolean registerNodeAtStartup
-
registerNodePeriod
protected int registerNodePeriod
-
tokenStore
protected String tokenStore
-
tokenCookiePath
protected String tokenCookiePath
-
principalAttribute
protected String principalAttribute
-
turnOffChangeSessionIdOnLogin
protected Boolean turnOffChangeSessionIdOnLogin
-
tokenMinimumTimeToLive
protected int tokenMinimumTimeToLive
-
minTimeBetweenJwksRequests
protected int minTimeBetweenJwksRequests
-
publicKeyCacheTtl
protected int publicKeyCacheTtl
-
pkce
protected boolean pkce
-
ignoreOAuthQueryParameter
protected boolean ignoreOAuthQueryParameter
-
verifyTokenAudience
protected boolean verifyTokenAudience
-
confidentialPort
protected int confidentialPort
-
resource
protected String resource
-
useResourceRoleMappings
protected boolean useResourceRoleMappings
-
useRealmRoleMappings
protected boolean useRealmRoleMappings
-
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
-
realm
protected String realm
-
realmKey
protected String realmKey
-
authServerUrl
protected String authServerUrl
-
sslRequired
protected String sslRequired
-
providerUrl
protected String providerUrl
-
clientId
protected String clientId
-
tokenSignatureAlgorithm
protected String tokenSignatureAlgorithm
-
proxyUrl
protected String proxyUrl
The Proxy url to use for requests to the auth-server, configurable via the adapter config propertyproxy-url
.
-
-
Method Detail
-
isAllowAnyHostname
public boolean isAllowAnyHostname()
-
setAllowAnyHostname
public void setAllowAnyHostname(boolean allowAnyHostname)
-
isDisableTrustManager
public boolean isDisableTrustManager()
-
setDisableTrustManager
public void setDisableTrustManager(boolean disableTrustManager)
-
getTruststore
public String getTruststore()
-
setTruststore
public void setTruststore(String truststore)
-
getTruststorePassword
public String getTruststorePassword()
-
setTruststorePassword
public void setTruststorePassword(String truststorePassword)
-
getClientKeystore
public String getClientKeystore()
-
setClientKeystore
public void setClientKeystore(String clientKeystore)
-
getClientKeystorePassword
public String getClientKeystorePassword()
-
setClientKeystorePassword
public void setClientKeystorePassword(String clientKeystorePassword)
-
getClientKeyPassword
public String getClientKeyPassword()
-
setClientKeyPassword
public void setClientKeyPassword(String clientKeyPassword)
-
getConnectionPoolSize
public int getConnectionPoolSize()
-
setConnectionPoolSize
public void setConnectionPoolSize(int connectionPoolSize)
-
isAlwaysRefreshToken
public boolean isAlwaysRefreshToken()
-
setAlwaysRefreshToken
public void setAlwaysRefreshToken(boolean alwaysRefreshToken)
-
isRegisterNodeAtStartup
public boolean isRegisterNodeAtStartup()
-
setRegisterNodeAtStartup
public void setRegisterNodeAtStartup(boolean registerNodeAtStartup)
-
getRegisterNodePeriod
public int getRegisterNodePeriod()
-
setRegisterNodePeriod
public void setRegisterNodePeriod(int registerNodePeriod)
-
getTokenStore
public String getTokenStore()
-
setTokenStore
public void setTokenStore(String tokenStore)
-
getTokenCookiePath
public String getTokenCookiePath()
-
setTokenCookiePath
public void setTokenCookiePath(String tokenCookiePath)
-
getPrincipalAttribute
public String getPrincipalAttribute()
-
setPrincipalAttribute
public void setPrincipalAttribute(String principalAttribute)
-
getTurnOffChangeSessionIdOnLogin
public Boolean getTurnOffChangeSessionIdOnLogin()
-
setTurnOffChangeSessionIdOnLogin
public void setTurnOffChangeSessionIdOnLogin(Boolean turnOffChangeSessionIdOnLogin)
-
getProxyUrl
public String getProxyUrl()
-
setProxyUrl
public void setProxyUrl(String proxyUrl)
-
getTokenMinimumTimeToLive
public int getTokenMinimumTimeToLive()
-
setTokenMinimumTimeToLive
public void setTokenMinimumTimeToLive(int tokenMinimumTimeToLive)
-
getMinTimeBetweenJwksRequests
public int getMinTimeBetweenJwksRequests()
-
setMinTimeBetweenJwksRequests
public void setMinTimeBetweenJwksRequests(int minTimeBetweenJwksRequests)
-
getPublicKeyCacheTtl
public int getPublicKeyCacheTtl()
-
setPublicKeyCacheTtl
public void setPublicKeyCacheTtl(int publicKeyCacheTtl)
-
isPkce
public boolean isPkce()
-
setPkce
public void setPkce(boolean pkce)
-
isIgnoreOAuthQueryParameter
public boolean isIgnoreOAuthQueryParameter()
-
setIgnoreOAuthQueryParameter
public void setIgnoreOAuthQueryParameter(boolean ignoreOAuthQueryParameter)
-
isVerifyTokenAudience
public boolean isVerifyTokenAudience()
-
setVerifyTokenAudience
public void setVerifyTokenAudience(boolean verifyTokenAudience)
-
getSslRequired
public String getSslRequired()
-
setSslRequired
public void setSslRequired(String sslRequired)
-
getRealm
public String getRealm()
-
setRealm
public void setRealm(String realm)
-
getRealmKey
public String getRealmKey()
-
setRealmKey
public void setRealmKey(String realmKey)
-
getAuthServerUrl
public String getAuthServerUrl()
-
setAuthServerUrl
public void setAuthServerUrl(String authServerUrl)
-
getProviderUrl
public String getProviderUrl()
-
setProviderUrl
public void setProviderUrl(String providerUrl)
-
getConfidentialPort
public int getConfidentialPort()
-
setConfidentialPort
public void setConfidentialPort(int confidentialPort)
-
getResource
public String getResource()
-
setResource
public void setResource(String resource)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getResourceName
public String getResourceName()
-
isUseResourceRoleMappings
public boolean isUseResourceRoleMappings()
-
setUseResourceRoleMappings
public void setUseResourceRoleMappings(boolean useResourceRoleMappings)
-
isUseRealmRoleMappings
public boolean isUseRealmRoleMappings()
-
setUseRealmRoleMappings
public void setUseRealmRoleMappings(boolean useRealmRoleMappings)
-
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)
-
setRedirectRewriteRules
public void setRedirectRewriteRules(Map<String,String> redirectRewriteRules)
-
getTokenSignatureAlgorithm
public String getTokenSignatureAlgorithm()
-
setTokenSignatureAlgorithm
public void setTokenSignatureAlgorithm(String tokenSignatureAlgorithm)
-
-