|
|||||||||||
| 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(PageContext context,
HttpServletRequest req,
HttpServletResponse res)
Public constructor for login page. |
|
| Method Summary | |
protected void |
appendDefaultLoginScript(StringBuffer html,
CmsMessageContainer message)
Appends the JavaScript for the login screen to the given HTML buffer. |
protected void |
appendWorkplaceOpenerScript(StringBuffer html,
String requestedResource,
CmsMessageContainer message)
Appends the JavaScript that opens the Workplace window after a successful login to the given HTML buffer. |
String |
displayDialog()
Returns the HTML for the login dialog in it's current state. |
protected 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, getContent, getContent, getMessages, getMessages, getMessages, getNavigation, 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, setSupressingExceptions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmsLogin(PageContext context,
HttpServletRequest req,
HttpServletResponse res)
context - the JSP page context objectreq - the JSP requestres - the JSP response| Method Detail |
public String displayDialog()
throws IOException
IOException - in case a redirect fails
protected void appendDefaultLoginScript(StringBuffer html,
CmsMessageContainer message)
html - the html buffer to append the script tomessage - the message to display after an unsuccessful login
protected void appendWorkplaceOpenerScript(StringBuffer html,
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 String displayLoginForm()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||