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.UseOpenIdConnectAuthenticatorProperties
instead.Wrapper for an openid connect authenticator- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_ALLOW_UNSIGNED_ID_TOKENS
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_AUTHENTICATION_METHOD
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_CLIENT_ID
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_CLIENT_SECRET
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_CONNECTION_TIMEOUT
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_DIRECT_CLIENT_COOKIE_ENABLED
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_DIRECT_CLIENT_COOKIE_NAME
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_DIRECT_CLIENT_ENABLED
Deprecated.static String
ATTR_DIRECT_CLIENT_HEADER_ENABLED
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_DIRECT_CLIENT_HEADER_NAME
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_DIRECT_CLIENT_HEADER_PREFIX
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_DISCOVERY_URI
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_EXPIRE_SESSION_TOKEN
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_FURTHER_ATTRIBUTES
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_JWT_ALGO
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_MAX_AUT_AGE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_MAX_CLOCK_SKEW
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_RESPONSE_MODE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_RESPONSE_TYPE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_SCOPE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.static String
ATTR_TOKEN_EXPIRATION_ADVANCE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.
-
Constructor Summary
Constructors Constructor Description OIDCWrapper(T authenticator)
Deprecated.Creates a new wrapper for the given authenticator that lets you extract the properties and build a PAC4J client.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IAuthenticatorClients
buildAuthenticatorClients(IFormAuthContext authCtx)
Deprecated.Builds the authentication clients based on the current data of the wrapperboolean
getAllowUnsignedIdTokens()
Deprecated.String
getAuthenticationMethod()
Deprecated.T
getAuthenticator()
Deprecated.Gets theIAuthenticator
-entityString
getClientID()
Deprecated.UseOpenIdConnectAuthenticatorProperties.getClientID()
instead.String
getClientSecret()
Deprecated.int
getConnectionTimeout()
Deprecated.String
getDirectClientCookieName()
Deprecated.String
getDirectClientHeaderName()
Deprecated.String
getDirectClientHeaderPrefix()
Deprecated.String
getDiscoveryURI()
Deprecated.Usediscovery URIs
instead.boolean
getExpireSessionWithToken()
Deprecated.Map<String,String>
getFurtherAttributes()
Deprecated.String
getJwtAlgorithm()
Deprecated.Integer
getMaxAuthAge()
Deprecated.UseOpenIdConnectAuthenticatorProperties.getMaxAuthAge()
instead.int
getMaxClockSkew()
Deprecated.String
getResponseMode()
Deprecated.String
getResponseType()
Deprecated.String
getScope()
Deprecated.UseOpenIdConnectAuthenticatorProperties.getScope()
instead.int
getTokenExpirationAdvance()
Deprecated.boolean
isDirectClientEnabled()
Deprecated.boolean
isDirectCookieClientEnabled()
Deprecated.boolean
isDirectHeaderClientEnabled()
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
setScope(String scope)
Deprecated.void
setTokenExpirationAdvance(int tokenExpiration)
Deprecated.
-
-
-
Field Detail
-
ATTR_CLIENT_ID
@Deprecated public static final String ATTR_CLIENT_ID
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_CLIENT_SECRET
@Deprecated public static final String ATTR_CLIENT_SECRET
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_DISCOVERY_URI
@Deprecated public static final String ATTR_DISCOVERY_URI
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_SCOPE
@Deprecated public static final String ATTR_SCOPE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_AUTHENTICATION_METHOD
@Deprecated public static final String ATTR_AUTHENTICATION_METHOD
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_JWT_ALGO
@Deprecated public static final String ATTR_JWT_ALGO
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_ALLOW_UNSIGNED_ID_TOKENS
@Deprecated public static final String ATTR_ALLOW_UNSIGNED_ID_TOKENS
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_RESPONSE_TYPE
@Deprecated public static final String ATTR_RESPONSE_TYPE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_FURTHER_ATTRIBUTES
@Deprecated public static final String ATTR_FURTHER_ATTRIBUTES
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_MAX_AUT_AGE
@Deprecated public static final String ATTR_MAX_AUT_AGE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_RESPONSE_MODE
@Deprecated public static final String ATTR_RESPONSE_MODE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_CONNECTION_TIMEOUT
@Deprecated public static final String ATTR_CONNECTION_TIMEOUT
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_MAX_CLOCK_SKEW
@Deprecated public static final String ATTR_MAX_CLOCK_SKEW
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_EXPIRE_SESSION_TOKEN
@Deprecated public static final String ATTR_EXPIRE_SESSION_TOKEN
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_TOKEN_EXPIRATION_ADVANCE
@Deprecated public static final String ATTR_TOKEN_EXPIRATION_ADVANCE
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_DIRECT_CLIENT_HEADER_ENABLED
@Deprecated public static final String ATTR_DIRECT_CLIENT_HEADER_ENABLED
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_DIRECT_CLIENT_ENABLED
@Deprecated public static final String ATTR_DIRECT_CLIENT_ENABLED
Deprecated.- See Also:
- Constant Field Values
-
ATTR_DIRECT_CLIENT_HEADER_NAME
@Deprecated public static final String ATTR_DIRECT_CLIENT_HEADER_NAME
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_DIRECT_CLIENT_HEADER_PREFIX
@Deprecated public static final String ATTR_DIRECT_CLIENT_HEADER_PREFIX
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_DIRECT_CLIENT_COOKIE_ENABLED
@Deprecated public static final String ATTR_DIRECT_CLIENT_COOKIE_ENABLED
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
ATTR_DIRECT_CLIENT_COOKIE_NAME
@Deprecated public static final String ATTR_DIRECT_CLIENT_COOKIE_NAME
Deprecated.UseOpenIdConnectAuthenticatorProperties
to get or set the properties instead.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OIDCWrapper
public OIDCWrapper(T authenticator)
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 Detail
-
getAuthenticator
public T 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 public String getClientID()
Deprecated.UseOpenIdConnectAuthenticatorProperties.getClientID()
instead.- Returns:
- The corresponding value from the properties of the authenticator.
-
setAuthenticationMethod
@Deprecated public void setAuthenticationMethod(String authenticationMethod)
Deprecated.- Parameters:
authenticationMethod
- madgaksha The corresponding value from the properties of the authenticator.
-
getAuthenticationMethod
@Deprecated public String getAuthenticationMethod()
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setJwtAlgorithm
@Deprecated public void setJwtAlgorithm(String jwtAlgorithm)
Deprecated.- Parameters:
jwtAlgorithm
- madgaksha The corresponding value from the properties of the authenticator.
-
getJwtAlgorithm
@Deprecated public String 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 public void setResponseType(String responseType)
Deprecated.- Parameters:
responseType
- madgaksha The corresponding value from the properties of the authenticator.
-
getResponseType
@Deprecated public String getResponseType()
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setMaxAuthAge
@Deprecated public void setMaxAuthAge(Integer maxAuthAge)
Deprecated.- Parameters:
maxAuthAge
- madgaksha The corresponding value from the properties of the authenticator.
-
getMaxAuthAge
@Deprecated public Integer getMaxAuthAge()
Deprecated.UseOpenIdConnectAuthenticatorProperties.getMaxAuthAge()
instead.- Returns:
- The corresponding value from the properties of the authenticator.
-
setResponseMode
@Deprecated public void setResponseMode(String responseMode)
Deprecated.- Parameters:
responseMode
- madgaksha The corresponding value from the properties of the authenticator.
-
getResponseMode
@Deprecated public String getResponseMode()
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setConnectionTimeout
@Deprecated public void setConnectionTimeout(int connectionTimeout)
Deprecated.- Parameters:
connectionTimeout
- madgaksha The corresponding value from the properties of the authenticator.
-
getConnectionTimeout
@Deprecated public int getConnectionTimeout()
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setMaxClockSkew
@Deprecated public void setMaxClockSkew(int maxClockSkew)
Deprecated.- Parameters:
maxClockSkew
- The corresponding value from the properties of the authenticator.
-
getMaxClockSkew
@Deprecated public int getMaxClockSkew()
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setClientID
@Deprecated public void setClientID(String clientID)
Deprecated.- Parameters:
clientID
- madgaksha The corresponding value from the properties of the authenticator.
-
getClientSecret
@Deprecated public String getClientSecret()
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setClientSecret
@Deprecated public void setClientSecret(String clientSecret)
Deprecated.- Parameters:
clientSecret
- madgaksha The corresponding value from the properties of the authenticator.
-
getDiscoveryURI
@Deprecated public String getDiscoveryURI()
Deprecated.Usediscovery URIs
instead.- Returns:
- The corresponding value from the properties of the authenticator.
-
setDiscoveryURI
@Deprecated public void setDiscoveryURI(String discoveryURI)
Deprecated.- Parameters:
discoveryURI
- The corresponding value from the properties of the authenticator.
-
getScope
@Deprecated public String getScope()
Deprecated.UseOpenIdConnectAuthenticatorProperties.getScope()
instead.- Returns:
- The corresponding value from the properties of the authenticator.
-
setScope
@Deprecated public void setScope(String scope)
Deprecated.- Parameters:
scope
- madgaksha The corresponding value from the properties of the authenticator.
-
getFurtherAttributes
@Deprecated public Map<String,String> getFurtherAttributes()
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setFurtherAttributes
@Deprecated public void setFurtherAttributes(Map<String,String> furtherAttributes)
Deprecated.- Parameters:
furtherAttributes
- madgaksha The corresponding value from the properties of the authenticator.
-
getExpireSessionWithToken
@Deprecated public boolean getExpireSessionWithToken()
Deprecated.- Returns:
- The corresponding value from the properties of the authenticator.
-
setExpireSessionWithToken
@Deprecated public void setExpireSessionWithToken(boolean expireSession)
Deprecated.- Parameters:
expireSession
- madgaksha The corresponding value from the properties of the authenticator.
-
setTokenExpirationAdvance
@Deprecated public void setTokenExpirationAdvance(int tokenExpiration)
Deprecated.- Parameters:
tokenExpiration
- madgaksha The corresponding value from the properties of the authenticator.
-
getTokenExpirationAdvance
@Deprecated public int 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 public boolean isDirectClientEnabled()
Deprecated.- Returns:
- if the header client is enabled
-
setDirectClientEnabled
@Deprecated public void setDirectClientEnabled(boolean directHeaderClientEnabled)
Deprecated.- Parameters:
directHeaderClientEnabled
- if the header client should be enabled
-
getDirectClientHeaderName
public String getDirectClientHeaderName()
Deprecated.
-
setDirectClientHeaderName
public void setDirectClientHeaderName(String directClientHeaderName)
Deprecated.
-
getDirectClientHeaderPrefix
public String getDirectClientHeaderPrefix()
Deprecated.
-
setDirectClientHeaderPrefix
public void setDirectClientHeaderPrefix(String directClientHeaderPrefix)
Deprecated.
-
isDirectCookieClientEnabled
public boolean isDirectCookieClientEnabled()
Deprecated.
-
setDirectCookieClientEnabled
public void setDirectCookieClientEnabled(boolean directCookieClientEnabled)
Deprecated.
-
getDirectClientCookieName
public String getDirectClientCookieName()
Deprecated.
-
setDirectClientCookieName
public void setDirectClientCookieName(String directClientCookieName)
Deprecated.
-
buildAuthenticatorClients
public IAuthenticatorClients buildAuthenticatorClients(IFormAuthContext authCtx)
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
-
-