org.tynamo.security.internal.services.impl
Class LoginContextServiceImpl
java.lang.Object
org.tynamo.security.internal.services.impl.LoginContextServiceImpl
- All Implemented Interfaces:
- LoginContextService
public class LoginContextServiceImpl
- extends Object
- implements LoginContextService
|
Constructor Summary |
LoginContextServiceImpl(String successUrl,
String loginUrl,
String unauthorizedUrl,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.tapestry5.services.LocalizationSetter localizationSetter)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginContextServiceImpl
public LoginContextServiceImpl(@Inject@Symbol(value="security.successurl")
String successUrl,
@Inject@Symbol(value="security.loginurl")
String loginUrl,
@Inject@Symbol(value="security.unauthorizedurl")
String unauthorizedUrl,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.tapestry5.services.LocalizationSetter localizationSetter)
getLoginPage
public String getLoginPage()
- Specified by:
getLoginPage in interface LoginContextService
getSuccessPage
public String getSuccessPage()
- Specified by:
getSuccessPage in interface LoginContextService
getUnauthorizedPage
public String getUnauthorizedPage()
- Specified by:
getUnauthorizedPage in interface LoginContextService
getLocalelessPathWithinApplication
public String getLocalelessPathWithinApplication()
- Specified by:
getLocalelessPathWithinApplication in interface LoginContextService
getLocaleFromPath
public String getLocaleFromPath(String path)
- Specified by:
getLocaleFromPath in interface LoginContextService
saveRequest
public void saveRequest()
- Specified by:
saveRequest in interface LoginContextService
redirectToSavedRequest
public void redirectToSavedRequest(String fallbackUrl)
throws IOException
- Specified by:
redirectToSavedRequest in interface LoginContextService
- Throws:
IOException
Copyright © 2004-2013. All Rights Reserved.