- 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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, 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
ConstructorsConstructorDescriptionCreates 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) Creates a new password in the current page context. -
Method Summary
Modifier and TypeMethodDescriptioncustomField(String name, PageRef pageRef, String element, String value) protected voiddoBody(CaptureLevel captureLevel, Element.Body<? super Password> body) secretQuestion(String question, String answer) voidwriteTo(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:
doBodyin classElement<Password>- Throws:
ServletExceptionIOExceptionSkipPageException
-
writeTo
public void writeTo(Writer out, ElementContext context) throws IOException, ServletException, SkipPageException
-

Password.MASKED_PASSWORD