Class AbstractOIDCAuthModuleConf
java.lang.Object
org.apache.syncope.common.lib.auth.Pac4jAuthModuleConf
org.apache.syncope.common.lib.auth.AbstractOAuth20AuthModuleConf
org.apache.syncope.common.lib.auth.AbstractOIDCAuthModuleConf
- All Implemented Interfaces:
Serializable
,AuthModuleConf
,BaseBean
- Direct Known Subclasses:
AppleOIDCAuthModuleConf
,AzureOIDCAuthModuleConf
,GoogleOIDCAuthModuleConf
,KeycloakOIDCAuthModuleConf
,OIDCAuthModuleConf
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.syncope.common.lib.auth.AuthModuleConf
AuthModuleConf.Mapper
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected boolean
Checks if sessions expire with token expiration.protected String
Clock skew in order to account for drift, when validating id tokens.protected String
The JWS algorithm to use forcefully when validating ID tokens.protected String
The response mode specifies how the result of the authorization request is formatted.protected String
Default time period advance (in seconds) for considering an access token expired.protected boolean
Whether an initial nonce should be to used initially for replay attack mitigation.Fields inherited from class org.apache.syncope.common.lib.auth.AbstractOAuth20AuthModuleConf
clientId, clientSecret, customParams, enabled, responseType, scope, tokenUrl, userIdAttribute
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setDiscoveryUri
(String discoveryUri) void
setExpireSessionWithToken
(boolean expireSessionWithToken) void
setMaxClockSkew
(String maxClockSkew) void
setPreferredJwsAlgorithm
(String preferredJwsAlgorithm) void
setResponseMode
(String responseMode) void
setTokenExpirationAdvance
(String tokenExpirationAdvance) void
setUseNonce
(boolean useNonce) Methods inherited from class org.apache.syncope.common.lib.auth.AbstractOAuth20AuthModuleConf
getClientId, getClientSecret, getCustomParams, getResponseType, getScope, getTokenUrl, getUserIdAttribute, isEnabled, setClientId, setClientSecret, setCustomParams, setEnabled, setId, setResponseType, setScope, setTokenUrl, setUserIdAttribute
Methods inherited from class org.apache.syncope.common.lib.auth.Pac4jAuthModuleConf
getClientName, setClientName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.syncope.common.lib.auth.AuthModuleConf
map
-
Field Details
-
discoveryUri
-
useNonce
protected boolean useNonceWhether an initial nonce should be to used initially for replay attack mitigation. -
preferredJwsAlgorithm
The JWS algorithm to use forcefully when validating ID tokens. If none is defined, the first algorithm from metadata will be used. -
maxClockSkew
Clock skew in order to account for drift, when validating id tokens. -
responseMode
The response mode specifies how the result of the authorization request is formatted. Possible values includes "query", "fragment", "form_post", or "web_message" -
expireSessionWithToken
protected boolean expireSessionWithTokenChecks if sessions expire with token expiration. -
tokenExpirationAdvance
Default time period advance (in seconds) for considering an access token expired. This settings supports the java.time.Duration syntax. The format of the value will be PTnHnMnS, where n is the relevant hours, minutes or seconds part of the duration. Any fractional seconds are placed after a decimal point in the seconds section. If a section has a zero value, it is omitted. The hours, minutes and seconds will all have the same sign. Example values could be in the form of PT20S, PT15M, PT10H, PT6D, P2DT3H4M. If the value is set to 0 or never, the duration will be set to zero. If the value is blank, set to -1, or infinite, the value will effectively represent an unending duration.
-
-
Constructor Details
-
AbstractOIDCAuthModuleConf
public AbstractOIDCAuthModuleConf()
-
-
Method Details
-
getDiscoveryUri
-
setDiscoveryUri
-
isUseNonce
public boolean isUseNonce() -
setUseNonce
public void setUseNonce(boolean useNonce) -
getPreferredJwsAlgorithm
-
setPreferredJwsAlgorithm
-
getMaxClockSkew
-
setMaxClockSkew
-
getResponseMode
-
setResponseMode
-
isExpireSessionWithToken
public boolean isExpireSessionWithToken() -
setExpireSessionWithToken
public void setExpireSessionWithToken(boolean expireSessionWithToken) -
getTokenExpirationAdvance
-
setTokenExpirationAdvance
-