Class SecurityCheckAuthenticationPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.organization.plugin.SecurityCheckAuthenticationPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public abstract class SecurityCheckAuthenticationPlugin
extends org.exoplatform.container.component.BaseComponentPlugin
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddoCheck(org.exoplatform.services.organization.User user) check user authentication depends on the specified logic in the pluginabstract voidonCheckFail(String userName) Invoked when the check on the authentication is failedabstract voidonCheckSuccess(String userName) Invoked when the check on the authentication is succeededMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
SecurityCheckAuthenticationPlugin
public SecurityCheckAuthenticationPlugin()
-
-
Method Details
-
doCheck
check user authentication depends on the specified logic in the plugin- Parameters:
user- Target user to be authenticated- Throws:
Exception
-
onCheckFail
Invoked when the check on the authentication is failed- Parameters:
userName- Target username
-
onCheckSuccess
Invoked when the check on the authentication is succeeded- Parameters:
userName- Target username
-