Class SplibWebSecurityConfigForSwitchUser
java.lang.Object
jp.ecuacion.splib.web.config.SplibWebSecurityConfigForSwitchUser
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringReturns the path of the page displayed when exitting the switched user is successfully done.protected abstract StringReturns the path of the page displayed when switching user is successfully done.protected abstract StringReturns the path of the page displayed when switching user is successfully done.
-
Constructor Details
-
SplibWebSecurityConfigForSwitchUser
public SplibWebSecurityConfigForSwitchUser()
-
-
Method Details
-
getSwitchingUserDonePagePath
Returns the path of the page displayed when switching user is successfully done.- Returns:
- url path string, like '/account/dashboard/page'.
-
getSwitchingUserFailurePagePath
Returns the path of the page displayed when switching user is successfully done.- Returns:
- url path string, like '/account/dashboard/page'.
-
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'.
-