Class LoginContextServiceImpl
java.lang.Object
org.tynamo.security.internal.services.impl.LoginContextServiceImpl
- All Implemented Interfaces:
LoginContextService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final org.apache.tapestry5.services.ComponentEventLinkEncoderprotected final Stringprotected final Stringprotected final org.apache.tapestry5.http.services.RequestGlobalsprotected final jakarta.servlet.http.HttpServletRequestprotected final jakarta.servlet.http.HttpServletResponseprotected final org.apache.tapestry5.http.internal.services.TapestrySessionFactoryprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionLoginContextServiceImpl(String successUrl, String loginUrl, String unauthorizedUrl, String requestEncoding, jakarta.servlet.http.HttpServletRequest serlvetRequest, jakarta.servlet.http.HttpServletResponse servletResponse, org.apache.tapestry5.services.LocalizationSetter localizationSetter, org.apache.tapestry5.internal.services.LinkSource linkSource, org.apache.tapestry5.services.ComponentEventLinkEncoder linkEncoder, org.apache.tapestry5.http.internal.services.TapestrySessionFactory sessionFactory, org.apache.tapestry5.http.services.RequestGlobals requestGlobals) -
Method Summary
Modifier and TypeMethodDescriptiongetLocaleFromPath(String path) voidredirectToSavedRequest(String fallbackUrl) voidvoidvoidsaveRequest(String contextPath) Deprecated.
-
Field Details
-
loginPage
-
defaultSuccessPage
-
unauthorizedPage
-
servletRequest
protected final jakarta.servlet.http.HttpServletRequest servletRequest -
servletResponse
protected final jakarta.servlet.http.HttpServletResponse servletResponse -
linkEncoder
protected final org.apache.tapestry5.services.ComponentEventLinkEncoder linkEncoder -
sessionFactory
protected final org.apache.tapestry5.http.internal.services.TapestrySessionFactory sessionFactory -
requestGlobals
protected final org.apache.tapestry5.http.services.RequestGlobals requestGlobals -
requestEncoding
-
-
Constructor Details
-
LoginContextServiceImpl
public LoginContextServiceImpl(@Inject @Symbol("security.successurl") String successUrl, @Inject @Symbol("security.loginurl") String loginUrl, @Inject @Symbol("security.unauthorizedurl") String unauthorizedUrl, @Inject @Symbol("tapestry.charset") String requestEncoding, jakarta.servlet.http.HttpServletRequest serlvetRequest, jakarta.servlet.http.HttpServletResponse servletResponse, org.apache.tapestry5.services.LocalizationSetter localizationSetter, org.apache.tapestry5.internal.services.LinkSource linkSource, org.apache.tapestry5.services.ComponentEventLinkEncoder linkEncoder, org.apache.tapestry5.http.internal.services.TapestrySessionFactory sessionFactory, org.apache.tapestry5.http.services.RequestGlobals requestGlobals)
-
-
Method Details
-
getLoginPage
- Specified by:
getLoginPagein interfaceLoginContextService
-
getSuccessPage
- Specified by:
getSuccessPagein interfaceLoginContextService
-
getUnauthorizedPage
- Specified by:
getUnauthorizedPagein interfaceLoginContextService
-
getLoginURL
- Specified by:
getLoginURLin interfaceLoginContextService
-
getSuccessURL
- Specified by:
getSuccessURLin interfaceLoginContextService
-
getUnauthorizedURL
- Specified by:
getUnauthorizedURLin interfaceLoginContextService
-
getLocalelessPathWithinApplication
- Specified by:
getLocalelessPathWithinApplicationin interfaceLoginContextService
-
getLocaleFromPath
- Specified by:
getLocaleFromPathin interfaceLoginContextService
-
removeSavedRequest
public void removeSavedRequest()- Specified by:
removeSavedRequestin interfaceLoginContextService
-
saveRequest
public void saveRequest()- Specified by:
saveRequestin interfaceLoginContextService
-
saveRequest
Deprecated.- Specified by:
saveRequestin interfaceLoginContextService
-
redirectToSavedRequest
- Specified by:
redirectToSavedRequestin interfaceLoginContextService- Throws:
IOException
-