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 java.lang.Object
- implements LoginContextService
|
Constructor Summary |
LoginContextServiceImpl(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 |
LoginContextServiceImpl
public LoginContextServiceImpl(@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 LoginContextService
getSuccessPage
public java.lang.String getSuccessPage()
- Specified by:
getSuccessPage in interface LoginContextService
getUnauthorizedPage
public java.lang.String getUnauthorizedPage()
- Specified by:
getUnauthorizedPage in interface LoginContextService
getLocalelessPathWithinApplication
public java.lang.String getLocalelessPathWithinApplication()
- Specified by:
getLocalelessPathWithinApplication in interface LoginContextService
getLocaleFromPath
public java.lang.String getLocaleFromPath(java.lang.String path)
- Specified by:
getLocaleFromPath in interface LoginContextService
saveRequest
public void saveRequest()
- Specified by:
saveRequest in interface LoginContextService
redirectToSavedRequest
public void redirectToSavedRequest(java.lang.String fallbackUrl)
throws java.io.IOException
- Specified by:
redirectToSavedRequest in interface LoginContextService
- Throws:
java.io.IOException
Copyright © 2004-2012. All Rights Reserved.