Class OIDCWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>>
java.lang.Object
de.xima.fc.web.common.auth.wrapper.OIDCWrapper<T>
- Type Parameters:
T- the Type of theIAuthenticator
- All Implemented Interfaces:
IAuthenticatorWrapper<T>,Serializable
@Deprecated
public class OIDCWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>>
extends Object
implements IAuthenticatorWrapper<T>
Deprecated.
Wrapper for an openid connect authenticator
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static final StringDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead. -
Constructor Summary
ConstructorsConstructorDescriptionOIDCWrapper(T authenticator) Deprecated.Creates a new wrapper for the given authenticator that lets you extract the properties and build a PAC4J client. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Builds the authentication clients based on the current data of the wrapperbooleanDeprecated.Deprecated.Deprecated.Gets theIAuthenticator-entityDeprecated.UseOpenIdConnectAuthenticatorProperties.getClientID()instead.Deprecated.intDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Usediscovery URIsinstead.booleanDeprecated.Deprecated.Deprecated.Deprecated.UseOpenIdConnectAuthenticatorProperties.getMaxAuthAge()instead.intDeprecated.Deprecated.Deprecated.getScope()Deprecated.UseOpenIdConnectAuthenticatorProperties.getScope()instead.intDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.voidsetAllowUnsignedIdTokens(boolean allow) Deprecated.voidsetAuthenticationMethod(String authenticationMethod) Deprecated.voidsetClientID(String clientID) Deprecated.voidsetClientSecret(String clientSecret) Deprecated.voidsetConnectionTimeout(int connectionTimeout) Deprecated.voidsetDirectClientCookieName(String directClientCookieName) Deprecated.voidsetDirectClientEnabled(boolean directHeaderClientEnabled) Deprecated.voidsetDirectClientHeaderName(String directClientHeaderName) Deprecated.voidsetDirectClientHeaderPrefix(String directClientHeaderPrefix) Deprecated.voidsetDirectCookieClientEnabled(boolean directCookieClientEnabled) Deprecated.voidsetDirectHeaderClientEnabled(boolean directHeaderClientEnabled) Deprecated.voidsetDiscoveryURI(String discoveryURI) Deprecated.voidsetExpireSessionWithToken(boolean expireSession) Deprecated.voidsetFurtherAttributes(Map<String, String> furtherAttributes) Deprecated.voidsetJwtAlgorithm(String jwtAlgorithm) Deprecated.voidsetMaxAuthAge(Integer maxAuthAge) Deprecated.voidsetMaxClockSkew(int maxClockSkew) Deprecated.voidsetResponseMode(String responseMode) Deprecated.voidsetResponseType(String responseType) Deprecated.voidDeprecated.voidsetTokenExpirationAdvance(int tokenExpiration) Deprecated.
-
Field Details
-
ATTR_CLIENT_ID
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_CLIENT_SECRET
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_DISCOVERY_URI
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_SCOPE
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_AUTHENTICATION_METHOD
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_JWT_ALGO
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_ALLOW_UNSIGNED_ID_TOKENS
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_RESPONSE_TYPE
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_FURTHER_ATTRIBUTES
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_MAX_AUT_AGE
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_RESPONSE_MODE
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_CONNECTION_TIMEOUT
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_MAX_CLOCK_SKEW
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_EXPIRE_SESSION_TOKEN
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_TOKEN_EXPIRATION_ADVANCE
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_DIRECT_CLIENT_HEADER_ENABLED
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_DIRECT_CLIENT_ENABLED
Deprecated.- See Also:
-
ATTR_DIRECT_CLIENT_HEADER_NAME
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_DIRECT_CLIENT_HEADER_PREFIX
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_DIRECT_CLIENT_COOKIE_ENABLED
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
ATTR_DIRECT_CLIENT_COOKIE_NAME
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
-
-
Constructor Details
-
OIDCWrapper
Deprecated.Creates a new wrapper for the given authenticator that lets you extract the properties and build a PAC4J client.- Parameters:
authenticator- Authenticator to wrap.
-
-
Method Details
-
getAuthenticator
Deprecated.Description copied from interface:IAuthenticatorWrapperGets theIAuthenticator-entity- Specified by:
getAuthenticatorin interfaceIAuthenticatorWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>> - Returns:
- the
IAuthenticator
-
getClientID
Deprecated.UseOpenIdConnectAuthenticatorProperties.getClientID()instead.- Returns:
- The corresponding value from the properties of the authenticator.
-
setAuthenticationMethod
Deprecated.- Parameters:
authenticationMethod- madgaksha The corresponding value from the properties of the authenticator.
-
getAuthenticationMethod
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setJwtAlgorithm
Deprecated.- Parameters:
jwtAlgorithm- madgaksha The corresponding value from the properties of the authenticator.
-
getJwtAlgorithm
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setAllowUnsignedIdTokens
public void setAllowUnsignedIdTokens(boolean allow) Deprecated. -
getAllowUnsignedIdTokens
public boolean getAllowUnsignedIdTokens()Deprecated. -
setResponseType
Deprecated.- Parameters:
responseType- madgaksha The corresponding value from the properties of the authenticator.
-
getResponseType
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setMaxAuthAge
Deprecated.- Parameters:
maxAuthAge- madgaksha The corresponding value from the properties of the authenticator.
-
getMaxAuthAge
Deprecated.UseOpenIdConnectAuthenticatorProperties.getMaxAuthAge()instead.- Returns:
- The corresponding value from the properties of the authenticator.
-
setResponseMode
Deprecated.- Parameters:
responseMode- madgaksha The corresponding value from the properties of the authenticator.
-
getResponseMode
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setConnectionTimeout
Deprecated.- Parameters:
connectionTimeout- madgaksha The corresponding value from the properties of the authenticator.
-
getConnectionTimeout
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setMaxClockSkew
Deprecated.- Parameters:
maxClockSkew- The corresponding value from the properties of the authenticator.
-
getMaxClockSkew
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setClientID
Deprecated.- Parameters:
clientID- madgaksha The corresponding value from the properties of the authenticator.
-
getClientSecret
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setClientSecret
Deprecated.- Parameters:
clientSecret- madgaksha The corresponding value from the properties of the authenticator.
-
getDiscoveryURI
Deprecated.Usediscovery URIsinstead.- Returns:
- The corresponding value from the properties of the authenticator.
-
setDiscoveryURI
Deprecated.- Parameters:
discoveryURI- The corresponding value from the properties of the authenticator.
-
getScope
Deprecated.UseOpenIdConnectAuthenticatorProperties.getScope()instead.- Returns:
- The corresponding value from the properties of the authenticator.
-
setScope
Deprecated.- Parameters:
scope- madgaksha The corresponding value from the properties of the authenticator.
-
getFurtherAttributes
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setFurtherAttributes
Deprecated.- Parameters:
furtherAttributes- madgaksha The corresponding value from the properties of the authenticator.
-
getExpireSessionWithToken
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setExpireSessionWithToken
Deprecated.- Parameters:
expireSession- madgaksha The corresponding value from the properties of the authenticator.
-
setTokenExpirationAdvance
Deprecated.- Parameters:
tokenExpiration- madgaksha The corresponding value from the properties of the authenticator.
-
getTokenExpirationAdvance
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
isDirectHeaderClientEnabled
public boolean isDirectHeaderClientEnabled()Deprecated. -
setDirectHeaderClientEnabled
public void setDirectHeaderClientEnabled(boolean directHeaderClientEnabled) Deprecated. -
isDirectClientEnabled
Deprecated.- Returns:
- if the header client is enabled
-
setDirectClientEnabled
Deprecated.- Parameters:
directHeaderClientEnabled- if the header client should be enabled
-
getDirectClientHeaderName
Deprecated. -
setDirectClientHeaderName
Deprecated. -
getDirectClientHeaderPrefix
Deprecated. -
setDirectClientHeaderPrefix
Deprecated. -
isDirectCookieClientEnabled
public boolean isDirectCookieClientEnabled()Deprecated. -
setDirectCookieClientEnabled
public void setDirectCookieClientEnabled(boolean directCookieClientEnabled) Deprecated. -
getDirectClientCookieName
Deprecated. -
setDirectClientCookieName
Deprecated. -
buildAuthenticatorClients
Deprecated.Description copied from interface:IAuthenticatorWrapperBuilds the authentication clients based on the current data of the wrapper- Specified by:
buildAuthenticatorClientsin interfaceIAuthenticatorWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>> - Parameters:
authCtx-IFormAuthContextto build the client for- Returns:
- the
Client
-
OpenIdConnectAuthenticatorPropertiesinstead.