org.tynamo.security.services.impl
Class PageServiceImpl
java.lang.Object
org.tynamo.security.services.impl.PageServiceImpl
- All Implemented Interfaces:
- PageService
public class PageServiceImpl
- extends java.lang.Object
- implements PageService
|
Constructor Summary |
PageServiceImpl(java.lang.String successUrl,
java.lang.String loginUrl,
java.lang.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")
java.lang.String successUrl,
@Inject@Symbol(value="security.loginurl")
java.lang.String loginUrl,
@Inject@Symbol(value="security.unauthorizedurl")
java.lang.String unauthorizedUrl,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.tapestry5.services.LocalizationSetter localizationSetter)
getLoginPage
public java.lang.String getLoginPage()
- Specified by:
getLoginPage in interface PageService
getSuccessPage
public java.lang.String getSuccessPage()
- Specified by:
getSuccessPage in interface PageService
getUnauthorizedPage
public java.lang.String getUnauthorizedPage()
- Specified by:
getUnauthorizedPage in interface PageService
getLocalelessPathWithinApplication
public java.lang.String getLocalelessPathWithinApplication()
- Specified by:
getLocalelessPathWithinApplication in interface PageService
getLocaleFromPath
public java.lang.String getLocaleFromPath(java.lang.String path)
- Specified by:
getLocaleFromPath in interface PageService
saveRequest
public void saveRequest()
- Specified by:
saveRequest in interface PageService
redirectToSavedRequest
public void redirectToSavedRequest(java.lang.String fallbackUrl)
throws java.io.IOException
- Specified by:
redirectToSavedRequest in interface PageService
- Throws:
java.io.IOException
Copyright © 2004-2012. All Rights Reserved.