Class SplibWebSecurityConfigForSwitchUser

java.lang.Object
jp.ecuacion.splib.web.config.SplibWebSecurityConfigForSwitchUser

public abstract class SplibWebSecurityConfigForSwitchUser extends Object
Provides the abstract SecurityConfig class for swith user (impersonation).

Since using this class is not mandatory in the library, it's abstract and It has no annotations to be recognized as it. If you want to use this, create a new class which extends it and put class annotations on the new class: Configuration.

  • Constructor Details

    • SplibWebSecurityConfigForSwitchUser

      public SplibWebSecurityConfigForSwitchUser()
  • Method Details

    • getSwitchingUserDonePagePath

      protected abstract String getSwitchingUserDonePagePath()
      Returns the path of the page displayed when switching user is successfully done.
      Returns:
      url path string, like '/account/dashboard/page'.
    • getSwitchingUserFailurePagePath

      protected abstract String getSwitchingUserFailurePagePath()
      Returns the path of the page displayed when switching user is successfully done.
      Returns:
      url path string, like '/account/dashboard/page'.
    • getExitingUserDonePagePath

      protected abstract String getExitingUserDonePagePath()
      Returns the path of the page displayed when exitting the switched user is successfully done.

      This path is also used when the switching is failed.

      Returns:
      url path string, like '/account/dashboard/page'.