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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanChecks if sessions expire with token expiration.protected StringClock skew in order to account for drift, when validating id tokens.protected StringThe JWS algorithm to use forcefully when validating ID tokens.protected StringThe response mode specifies how the result of the authorization request is formatted.protected StringDefault time period advance (in seconds) for considering an access token expired.protected booleanWhether 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetDiscoveryUri(String discoveryUri) voidsetExpireSessionWithToken(boolean expireSessionWithToken) voidsetMaxClockSkew(String maxClockSkew) voidsetPreferredJwsAlgorithm(String preferredJwsAlgorithm) voidsetResponseMode(String responseMode) voidsetTokenExpirationAdvance(String tokenExpirationAdvance) voidsetUseNonce(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, setUserIdAttributeMethods inherited from class org.apache.syncope.common.lib.auth.Pac4jAuthModuleConf
getClientName, setClientNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-