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 String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static final String
Deprecated.UseOpenIdConnectAuthenticatorProperties
to 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 wrapperboolean
Deprecated.Deprecated.Deprecated.Gets theIAuthenticator
-entityDeprecated.UseOpenIdConnectAuthenticatorProperties.getClientID()
instead.Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Usediscovery URIs
instead.boolean
Deprecated.Deprecated.Deprecated.Deprecated.UseOpenIdConnectAuthenticatorProperties.getMaxAuthAge()
instead.int
Deprecated.Deprecated.Deprecated.getScope()
Deprecated.UseOpenIdConnectAuthenticatorProperties.getScope()
instead.int
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.void
setAllowUnsignedIdTokens
(boolean allow) Deprecated.void
setAuthenticationMethod
(String authenticationMethod) Deprecated.void
setClientID
(String clientID) Deprecated.void
setClientSecret
(String clientSecret) Deprecated.void
setConnectionTimeout
(int connectionTimeout) Deprecated.void
setDirectClientCookieName
(String directClientCookieName) Deprecated.void
setDirectClientEnabled
(boolean directHeaderClientEnabled) Deprecated.void
setDirectClientHeaderName
(String directClientHeaderName) Deprecated.void
setDirectClientHeaderPrefix
(String directClientHeaderPrefix) Deprecated.void
setDirectCookieClientEnabled
(boolean directCookieClientEnabled) Deprecated.void
setDirectHeaderClientEnabled
(boolean directHeaderClientEnabled) Deprecated.void
setDiscoveryURI
(String discoveryURI) Deprecated.void
setExpireSessionWithToken
(boolean expireSession) Deprecated.void
setFurtherAttributes
(Map<String, String> furtherAttributes) Deprecated.void
setJwtAlgorithm
(String jwtAlgorithm) Deprecated.void
setMaxAuthAge
(Integer maxAuthAge) Deprecated.void
setMaxClockSkew
(int maxClockSkew) Deprecated.void
setResponseMode
(String responseMode) Deprecated.void
setResponseType
(String responseType) Deprecated.void
Deprecated.void
setTokenExpirationAdvance
(int tokenExpiration) Deprecated.
-
Field Details
-
ATTR_CLIENT_ID
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_CLIENT_SECRET
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_DISCOVERY_URI
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_SCOPE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_AUTHENTICATION_METHOD
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_JWT_ALGO
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_ALLOW_UNSIGNED_ID_TOKENS
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_RESPONSE_TYPE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_FURTHER_ATTRIBUTES
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_MAX_AUT_AGE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_RESPONSE_MODE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_CONNECTION_TIMEOUT
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_MAX_CLOCK_SKEW
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_EXPIRE_SESSION_TOKEN
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_TOKEN_EXPIRATION_ADVANCE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_DIRECT_CLIENT_HEADER_ENABLED
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_DIRECT_CLIENT_ENABLED
Deprecated.- See Also:
-
ATTR_DIRECT_CLIENT_HEADER_NAME
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_DIRECT_CLIENT_HEADER_PREFIX
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_DIRECT_CLIENT_COOKIE_ENABLED
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
-
ATTR_DIRECT_CLIENT_COOKIE_NAME
Deprecated.UseOpenIdConnectAuthenticatorProperties
to 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:IAuthenticatorWrapper
Gets theIAuthenticator
-entity- Specified by:
getAuthenticator
in 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 URIs
instead.- 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:IAuthenticatorWrapper
Builds the authentication clients based on the current data of the wrapper- Specified by:
buildAuthenticatorClients
in interfaceIAuthenticatorWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,
? extends IFileDataEntity<?>>>> - Parameters:
authCtx
-IFormAuthContext
to build the client for- Returns:
- the
Client
-
OpenIdConnectAuthenticatorProperties
instead.