|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcorelib.services.web.webapplications.WebPage
corelib.services.web.components.security.RestrictedWebPage
public class RestrictedWebPage
Use this web page base class to control the redirection to the login web page if the current user is not authentified.
To do this operation, this class search the connectedUser entry in the session object for the current user.
If this session entry is not defined, the class search the LOGIN_FORM_WEB_PAGE init parameter in the web.xml
file: this parameter defines the location of the login web page. The web browser is redirected to this location.
LoginForm| Field Summary |
|---|
| Fields inherited from class corelib.services.web.webapplications.WebPage |
|---|
application, bIsValid, out, request, response, session, traceLogger |
| Constructor Summary | |
|---|---|
RestrictedWebPage()
This constructor checks if the user is connected. |
|
| Method Summary |
|---|
| Methods inherited from class corelib.services.web.webapplications.WebPage |
|---|
getAliasForNamespace, getApplication, getEventDispatcher, getLocale, getNextAutoIdentifier, getOut, getRequest, getRequestedURI, getResponse, getSession, getTraceLogger, getValidators, getWebComponent, getWebComponents, isValid, page_init, page_load, page_postRender, page_preRender, page_preRepeaterDuplications, page_render, redirect, setLocale, setRequestedURI, setTraceLogger, setValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RestrictedWebPage()
MissingInitParamException - Thrown if LOGIN_FORM_WEB_PAGE init parameter is not present in the web.xml file.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||