org.tynamo.security.services.impl
Class PageServiceImpl
java.lang.Object
org.tynamo.security.services.impl.PageServiceImpl
- All Implemented Interfaces:
- PageService
public class PageServiceImpl
- extends Object
- implements PageService
|
Constructor Summary |
PageServiceImpl(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 |
PageServiceImpl
public PageServiceImpl(@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 PageService
getSuccessPage
public String getSuccessPage()
- Specified by:
getSuccessPage in interface PageService
getUnauthorizedPage
public String getUnauthorizedPage()
- Specified by:
getUnauthorizedPage in interface PageService
getLocalelessPathWithinApplication
public String getLocalelessPathWithinApplication()
- Specified by:
getLocalelessPathWithinApplication in interface PageService
getLocaleFromPath
public String getLocaleFromPath(String path)
- Specified by:
getLocaleFromPath in interface PageService
saveRequest
public void saveRequest()
- Specified by:
saveRequest in interface PageService
redirectToSavedRequest
public void redirectToSavedRequest(String fallbackUrl)
throws IOException
- Specified by:
redirectToSavedRequest in interface PageService
- Throws:
IOException
Copyright © 2004-2012. All Rights Reserved.