public class AuthValveContext extends Object
| Constructor and Description |
|---|
AuthValveContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
JCRSessionFactory sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.http.HttpServletRequest |
getRequest() |
javax.servlet.http.HttpServletResponse |
getResponse() |
JCRSessionFactory |
getSessionFactory() |
boolean |
isAuthRetrievedFromSession()
This method will return true if the auth was indeed retrieved by the session.
|
void |
setAuthRetrievedFromSession(boolean authRetrievedFromSession)
A valve that resolves the authentication from an HttpSession attribute should set this value to true.
|
public AuthValveContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
JCRSessionFactory sessionFactory)
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public JCRSessionFactory getSessionFactory()
public boolean isAuthRetrievedFromSession()
public void setAuthRetrievedFromSession(boolean authRetrievedFromSession)
authRetrievedFromSession - set to true if the authentication was read from the session, false otherwise.
if not yet the default value is false.Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.