Class PluginWrapper<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.PluginWrapper<T>
-
- Type Parameters:
T
- the type of theIAuthenticator
- All Implemented Interfaces:
IAuthenticatorWrapper<T>
,Serializable
public class PluginWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>> extends Object implements IAuthenticatorWrapper<T>
Wrapper for a plugin authenticator- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_PLUGIN_NAME
-
Constructor Summary
Constructors Constructor Description PluginWrapper(T authenticator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthenticatorClients
buildAuthenticatorClients(IFormAuthContext authCtx)
Builds the authentication clients based on the current data of the wrapperList<IAuthenticatorAttributeParam>
getAtributeParams(Mandant client)
T
getAuthenticator()
Gets theIAuthenticator
-entityString
getHtmlHelpSnippet(Mandant client, Locale locale)
String
getPluginName()
void
setPluginName(String name)
-
-
-
Field Detail
-
ATTR_PLUGIN_NAME
public static final String ATTR_PLUGIN_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PluginWrapper
public PluginWrapper(T authenticator)
-
-
Method Detail
-
getAuthenticator
public T getAuthenticator()
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
-
setPluginName
public void setPluginName(String name)
-
getPluginName
public String getPluginName()
-
getAtributeParams
public List<IAuthenticatorAttributeParam> getAtributeParams(Mandant client)
-
buildAuthenticatorClients
public IAuthenticatorClients buildAuthenticatorClients(IFormAuthContext authCtx)
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
-
-