|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.jsp.CmsJspBean
org.opencms.jsp.CmsJspActionElement
org.opencms.jsp.CmsJspLoginBean
org.opencms.workplace.CmsLogin
Handles the login of Users to the OpenCms workplace.
Field Summary |
Fields inherited from class org.opencms.jsp.CmsJspActionElement |
NOT_INITIALIZED |
Constructor Summary | |
CmsLogin(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor for login page. |
Method Summary | |
protected void |
appendDefaultLoginScript(java.lang.StringBuffer html,
CmsMessageContainer message)
Appends the JavaScript for the login screen to the given HTML buffer. |
protected void |
appendWorkplaceOpenerScript(java.lang.StringBuffer html,
java.lang.String requestedResource,
CmsMessageContainer message)
Appends the JavaScript that opens the Workplace window after a successful login to the given HTML buffer. |
java.lang.String |
displayDialog()
Returns the HTML for the login dialog in it's current state. |
protected java.lang.String |
displayLoginForm()
Returns the HTML for the login form. |
Methods inherited from class org.opencms.jsp.CmsJspLoginBean |
getFormLink, getLoginException, getUser, getUserName, isLoggedIn, isLoginSuccess, login, login, login, logout |
Methods inherited from class org.opencms.jsp.CmsJspActionElement |
editable, editable, editable, editableManualClose, editableManualOpen, getContent, getContent, getMessages, getMessages, getMessages, getMessages, getNavigation, img, img, include, include, include, include, include, includeSilent, includeSilent, includeSilent, includeSilent, info, label, link, properties, properties, property, property, property, property, template, template, template, toAbsolute, user |
Methods inherited from class org.opencms.jsp.CmsJspBean |
getCmsObject, getController, getJspContext, getMessage, getRequest, getRequestContext, getResponse, handleException, init, isNotInitialized, isSupressingExceptions, setContentType, setStatus, setSupressingExceptions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmsLogin(javax.servlet.jsp.PageContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
context
- the JSP page context objectreq
- the JSP requestres
- the JSP responseMethod Detail |
public java.lang.String displayDialog() throws java.io.IOException
java.io.IOException
- in case a redirect failsprotected void appendDefaultLoginScript(java.lang.StringBuffer html, CmsMessageContainer message)
html
- the html buffer to append the script tomessage
- the message to display after an unsuccessful loginprotected void appendWorkplaceOpenerScript(java.lang.StringBuffer html, java.lang.String requestedResource, CmsMessageContainer message)
html
- the html buffer to append the script torequestedResource
- the requested resource to open in a new windowmessage
- the message to display if the originally requested resource is not availableprotected java.lang.String displayLoginForm()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |