/** * Create a handler * * @param authProvider the auth service to use * @param loginRedirectURL the url to redirect the user to * @return the handler */ static AuthHandler create(AuthProvider authProvider, String loginRedirectURL) { return new RedirectAuthHandlerImpl(authProvider, loginRedirectURL, DEFAULT_RETURN_URL_PARAM); }
/** * Create a handler * * @param authProvider the auth service to use * @param loginRedirectURL the url to redirect the user to * @param returnURLParam the name of param used to store return url information in session * @return the handler */ static AuthHandler create(AuthProvider authProvider, String loginRedirectURL, String returnURLParam) { return new RedirectAuthHandlerImpl(authProvider, loginRedirectURL, returnURLParam); } }
/** * Create a handler * * @param authProvider the auth service to use * @return the handler */ static AuthHandler create(AuthProvider authProvider) { return new RedirectAuthHandlerImpl(authProvider, DEFAULT_LOGIN_REDIRECT_URL, DEFAULT_RETURN_URL_PARAM); }
/** * Create a handler * * @param authProvider the auth service to use * @param loginRedirectURL the url to redirect the user to * @return the handler */ static AuthHandler create(AuthProvider authProvider, String loginRedirectURL) { return new RedirectAuthHandlerImpl(authProvider, loginRedirectURL, DEFAULT_RETURN_URL_PARAM); }
/** * Create a handler * * @param authProvider the auth service to use * @return the handler */ static AuthHandler create(AuthProvider authProvider) { return new RedirectAuthHandlerImpl(authProvider, DEFAULT_LOGIN_REDIRECT_URL, DEFAULT_RETURN_URL_PARAM); }
/** * Create a handler * * @param authProvider the auth service to use * @param loginRedirectURL the url to redirect the user to * @param returnURLParam the name of param used to store return url information in session * @return the handler */ static AuthHandler create(AuthProvider authProvider, String loginRedirectURL, String returnURLParam) { return new RedirectAuthHandlerImpl(authProvider, loginRedirectURL, returnURLParam); } }