- All Implemented Interfaces:
ElementWriter
-
Nested Class Summary
Nested classes/interfaces inherited from class com.semanticcms.core.servlet.Element
Element.Body<E extends Element>, Element.PageContextBody<E extends Element>, Element.PageContextNoElementBody
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class com.semanticcms.core.servlet.Element
element, request, response, servletContext
-
Constructor Summary
ConstructorDescriptionCreates a new password in the current page context.Creates a new password in the current page context.Password
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Password element, String password) Password
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, String password) -
Method Summary
Modifier and TypeMethodDescriptioncustomField
(String name, PageRef pageRef, String element, String value) protected void
doBody
(CaptureLevel captureLevel, Element.Body<? super Password> body) secretQuestion
(String question, String answer) void
writeTo
(Writer out, ElementContext context)
-
Field Details
-
DEMO_MODE_PASSWORD
Deprecated, for removal: This API element is subject to removal in a future version.Please usePassword.MASKED_PASSWORD
- See Also:
-
-
Constructor Details
-
Password
public Password(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Password element, String password) -
Password
public Password(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, String password) -
Password
Creates a new password in the current page context.- See Also:
-
Password
Creates a new password in the current page context.- See Also:
-
-
Method Details
-
id
-
href
-
username
-
customField
-
secretQuestion
-
doBody
protected void doBody(CaptureLevel captureLevel, Element.Body<? super Password> body) throws ServletException, IOException, SkipPageException - Overrides:
doBody
in classElement<Password>
- Throws:
ServletException
IOException
SkipPageException
-
writeTo
public void writeTo(Writer out, ElementContext context) throws IOException, ServletException, SkipPageException
-
Password.MASKED_PASSWORD