Class GoogleWrapper<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.GoogleWrapper<T>
-
- Type Parameters:
T- the type of theIAuthenticator
- All Implemented Interfaces:
IAuthenticatorWrapper<T>,Serializable
@Deprecated public class GoogleWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>> extends Object implements IAuthenticatorWrapper<T>
Deprecated.UseGoogleAuthenticatorPropertiesinstead.Wrapper for an google authenticator- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_CLIENT_IDDeprecated.UseGoogleAuthenticatorPropertiesinstead.static StringATTR_CLIENT_SECRETDeprecated.UseGoogleAuthenticatorPropertiesinstead.static StringATTR_REQUEST_SCOPEDeprecated.UseGoogleAuthenticatorPropertiesinstead.
-
Constructor Summary
Constructors Constructor Description GoogleWrapper(T authenticator)Deprecated.
-
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 wrapperTgetAuthenticator()Deprecated.Gets theIAuthenticator-entityStringgetClientID()Deprecated.UseGoogleAuthenticatorProperties.getClientID()instead.StringgetClientSecret()Deprecated.UseGoogleAuthenticatorProperties.getClientSecret()instead.org.pac4j.oauth.client.Google2Client.Google2ScopegetScope()Deprecated.UseGoogleAuthenticatorProperties.getScope()instead.voidsetClientID(String clientID)Deprecated.UseGoogleAuthenticatorProperties.setClientID(String)instead.voidsetClientSecret(String clientSecret)Deprecated.voidsetScope(org.pac4j.oauth.client.Google2Client.Google2Scope scope)Deprecated.UseGoogleAuthenticatorProperties.setScope(Google2Scope)instead.
-
-
-
Field Detail
-
ATTR_CLIENT_ID
@Deprecated public static final String ATTR_CLIENT_ID
Deprecated.UseGoogleAuthenticatorPropertiesinstead.- See Also:
- Constant Field Values
-
ATTR_CLIENT_SECRET
@Deprecated public static final String ATTR_CLIENT_SECRET
Deprecated.UseGoogleAuthenticatorPropertiesinstead.- See Also:
- Constant Field Values
-
ATTR_REQUEST_SCOPE
@Deprecated public static final String ATTR_REQUEST_SCOPE
Deprecated.UseGoogleAuthenticatorPropertiesinstead.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GoogleWrapper
public GoogleWrapper(T authenticator)
Deprecated.
-
-
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.UseGoogleAuthenticatorProperties.getClientID()instead.
-
setClientID
@Deprecated public void setClientID(String clientID)
Deprecated.UseGoogleAuthenticatorProperties.setClientID(String)instead.
-
getClientSecret
@Deprecated public String getClientSecret()
Deprecated.UseGoogleAuthenticatorProperties.getClientSecret()instead.
-
setClientSecret
@Deprecated public void setClientSecret(String clientSecret)
Deprecated.
-
setScope
@Deprecated public void setScope(org.pac4j.oauth.client.Google2Client.Google2Scope scope)
Deprecated.UseGoogleAuthenticatorProperties.setScope(Google2Scope)instead.
-
getScope
@Deprecated public org.pac4j.oauth.client.Google2Client.Google2Scope getScope()
Deprecated.UseGoogleAuthenticatorProperties.getScope()instead.
-
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
-
-