public interface RedirectAuthHandler extends AuthenticationHandler
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LOGIN_REDIRECT_URL
Default path the user will be redirected to
|
static String |
DEFAULT_RETURN_URL_PARAM
Default name of param used to store return url information in session
|
Modifier and Type | Method and Description |
---|---|
static RedirectAuthHandler |
create(AuthenticationProvider authProvider)
Create a handler
|
static RedirectAuthHandler |
create(AuthenticationProvider authProvider,
String loginRedirectURL)
Create a handler
|
static RedirectAuthHandler |
create(AuthenticationProvider authProvider,
String loginRedirectURL,
String returnURLParam)
Create a handler
|
static final String DEFAULT_LOGIN_REDIRECT_URL
static final String DEFAULT_RETURN_URL_PARAM
static RedirectAuthHandler create(AuthenticationProvider authProvider)
authProvider
- the auth service to usestatic RedirectAuthHandler create(AuthenticationProvider authProvider, String loginRedirectURL)
authProvider
- the auth service to useloginRedirectURL
- the url to redirect the user tostatic RedirectAuthHandler create(AuthenticationProvider authProvider, String loginRedirectURL, String returnURLParam)
authProvider
- the auth service to useloginRedirectURL
- the url to redirect the user toreturnURLParam
- the name of param used to store return url information in sessionCopyright © 2022 Eclipse. All rights reserved.