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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    doCheck(org.exoplatform.services.organization.User user)
    check user authentication depends on the specified logic in the plugin
    abstract void
    onCheckFail(String userName)
    Invoked when the check on the authentication is failed
    abstract void
    Invoked when the check on the authentication is succeeded

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SecurityCheckAuthenticationPlugin

      public SecurityCheckAuthenticationPlugin()
  • Method Details

    • doCheck

      public abstract void doCheck(org.exoplatform.services.organization.User user) throws Exception
      check user authentication depends on the specified logic in the plugin
      Parameters:
      user - Target user to be authenticated
      Throws:
      Exception
    • onCheckFail

      public abstract void onCheckFail(String userName)
      Invoked when the check on the authentication is failed
      Parameters:
      userName - Target username
    • onCheckSuccess

      public abstract void onCheckSuccess(String userName)
      Invoked when the check on the authentication is succeeded
      Parameters:
      userName - Target username