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.UseOpenIdConnectAuthenticatorPropertiesinstead.Wrapper for an openid connect authenticator- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringATTR_ALLOW_UNSIGNED_ID_TOKENSDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_AUTHENTICATION_METHODDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_CLIENT_IDDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_CLIENT_SECRETDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_CONNECTION_TIMEOUTDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_DIRECT_CLIENT_COOKIE_ENABLEDDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_DIRECT_CLIENT_COOKIE_NAMEDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_DIRECT_CLIENT_ENABLEDDeprecated.static StringATTR_DIRECT_CLIENT_HEADER_ENABLEDDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_DIRECT_CLIENT_HEADER_NAMEDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_DIRECT_CLIENT_HEADER_PREFIXDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_DISCOVERY_URIDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_EXPIRE_SESSION_TOKENDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_FURTHER_ATTRIBUTESDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_JWT_ALGODeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_MAX_AUT_AGEDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_MAX_CLOCK_SKEWDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_RESPONSE_MODEDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_RESPONSE_TYPEDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_SCOPEDeprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.static StringATTR_TOKEN_EXPIRATION_ADVANCEDeprecated.UseOpenIdConnectAuthenticatorPropertiesto 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 IAuthenticatorClientsbuildAuthenticatorClients(IFormAuthContext authCtx)Deprecated.Builds the authentication clients based on the current data of the wrapperbooleangetAllowUnsignedIdTokens()Deprecated.StringgetAuthenticationMethod()Deprecated.TgetAuthenticator()Deprecated.Gets theIAuthenticator-entityStringgetClientID()Deprecated.UseOpenIdConnectAuthenticatorProperties.getClientID()instead.StringgetClientSecret()Deprecated.intgetConnectionTimeout()Deprecated.StringgetDirectClientCookieName()Deprecated.StringgetDirectClientHeaderName()Deprecated.StringgetDirectClientHeaderPrefix()Deprecated.StringgetDiscoveryURI()Deprecated.Usediscovery URIsinstead.booleangetExpireSessionWithToken()Deprecated.Map<String,String>getFurtherAttributes()Deprecated.StringgetJwtAlgorithm()Deprecated.IntegergetMaxAuthAge()Deprecated.UseOpenIdConnectAuthenticatorProperties.getMaxAuthAge()instead.intgetMaxClockSkew()Deprecated.StringgetResponseMode()Deprecated.StringgetResponseType()Deprecated.StringgetScope()Deprecated.UseOpenIdConnectAuthenticatorProperties.getScope()instead.intgetTokenExpirationAdvance()Deprecated.booleanisDirectClientEnabled()Deprecated.booleanisDirectCookieClientEnabled()Deprecated.booleanisDirectHeaderClientEnabled()Deprecated.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.voidsetScope(String scope)Deprecated.voidsetTokenExpirationAdvance(int tokenExpiration)Deprecated. 
 - 
 
- 
- 
Field Detail
- 
ATTR_CLIENT_ID
@Deprecated public static final String ATTR_CLIENT_ID
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
 - Constant Field Values
 
 
- 
ATTR_CLIENT_SECRET
@Deprecated public static final String ATTR_CLIENT_SECRET
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
 - Constant Field Values
 
 
- 
ATTR_DISCOVERY_URI
@Deprecated public static final String ATTR_DISCOVERY_URI
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
 - Constant Field Values
 
 
- 
ATTR_SCOPE
@Deprecated public static final String ATTR_SCOPE
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
 - Constant Field Values
 
 
- 
ATTR_AUTHENTICATION_METHOD
@Deprecated public static final String ATTR_AUTHENTICATION_METHOD
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
 - Constant Field Values
 
 
- 
ATTR_JWT_ALGO
@Deprecated public static final String ATTR_JWT_ALGO
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto 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.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
 - Constant Field Values
 
 
- 
ATTR_RESPONSE_TYPE
@Deprecated public static final String ATTR_RESPONSE_TYPE
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
 - Constant Field Values
 
 
- 
ATTR_FURTHER_ATTRIBUTES
@Deprecated public static final String ATTR_FURTHER_ATTRIBUTES
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto 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.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
 - Constant Field Values
 
 
- 
ATTR_RESPONSE_MODE
@Deprecated public static final String ATTR_RESPONSE_MODE
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto get or set the properties instead.- See Also:
 - Constant Field Values
 
 
- 
ATTR_CONNECTION_TIMEOUT
@Deprecated public static final String ATTR_CONNECTION_TIMEOUT
Deprecated.UseOpenIdConnectAuthenticatorPropertiesto 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.UseOpenIdConnectAuthenticatorPropertiesto 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.UseOpenIdConnectAuthenticatorPropertiesto 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.UseOpenIdConnectAuthenticatorPropertiesto 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.UseOpenIdConnectAuthenticatorPropertiesto 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.UseOpenIdConnectAuthenticatorPropertiesto 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.UseOpenIdConnectAuthenticatorPropertiesto 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.UseOpenIdConnectAuthenticatorPropertiesto 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.UseOpenIdConnectAuthenticatorPropertiesto 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: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 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 URIsinstead.- 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: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 
 
 - 
 
 -