public abstract class AjaxPage
extends org.apache.click.Page
Modifier and Type | Field and Description |
---|---|
org.apache.click.control.ActionLink |
checkPasswordsLink |
protected Locale |
configLocale |
static Debug |
debug |
static String |
OLD_RESPONSE_TEMPLATE |
protected ResourceBundle |
rb |
protected static String |
RB_NAME |
org.apache.click.control.ActionLink |
resetSessionAttributesLink |
static String |
RESPONSE_TEMPLATE |
String |
responseString |
org.apache.click.control.ActionLink |
validateInputLink |
Constructor and Description |
---|
AjaxPage() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPasswords() |
String |
getAttribute(String attr,
String defaultValue) |
String |
getAvailablePort(int portNumber) |
String |
getBaseDir(javax.servlet.http.HttpServletRequest req) |
protected org.forgerock.opendj.ldap.Connection |
getConnection(String host,
int port,
String bindDN,
char[] bindPwd,
int timeout,
boolean isSSl) |
String |
getCookieDomain() |
String |
getHostName() |
String |
getHostName(String serverUrl,
String defaultHostName) |
String |
getLocalizedString(String i18nKey) |
String |
getQuoteEscapedLocalizedString(String i18nKey) |
int |
getServerPort(String serverUrl,
int defaultPort) |
void |
initializeResourceBundle() |
boolean |
isRendering() |
void |
onInit() |
boolean |
resetSessionAttributes() |
protected boolean |
toBoolean(String paramName) |
protected int |
toInt(String paramName) |
protected String |
toString(String paramName) |
boolean |
validateInput() |
protected boolean |
writeErrorToResponse(org.forgerock.opendj.ldap.ResultCode resultCode) |
protected void |
writeInvalid(String message) |
protected void |
writeJsonResponse(boolean valid,
String responseBody) |
protected void |
writeJsonResponse(String valid,
String responseBody) |
protected void |
writeToResponse(String text) |
protected void |
writeValid() |
protected void |
writeValid(String message) |
addControl, addModel, getContentType, getContext, getControls, getFormat, getForward, getHeadElements, getHeaders, getHtmlImports, getMessage, getMessage, getMessages, getModel, getPageImports, getPath, getRedirect, getTemplate, hasControls, hasHeaders, isIncludeControlHeadElements, isStateful, onDestroy, onGet, onPost, onRender, onSecurityCheck, removeControl, setFormat, setForward, setForward, setForward, setHeader, setHeaders, setIncludeControlHeadElements, setPageImports, setPath, setRedirect, setRedirect, setRedirect, setRedirect, setStateful, setTemplate
public org.apache.click.control.ActionLink checkPasswordsLink
public org.apache.click.control.ActionLink validateInputLink
public org.apache.click.control.ActionLink resetSessionAttributesLink
public static final String RESPONSE_TEMPLATE
public static final String OLD_RESPONSE_TEMPLATE
protected Locale configLocale
protected ResourceBundle rb
protected static final String RB_NAME
public String responseString
public static Debug debug
public void onInit()
onInit
in class org.apache.click.Page
public boolean isRendering()
protected boolean toBoolean(String paramName)
protected int toInt(String paramName)
protected void writeValid()
protected void writeValid(String message)
protected void writeInvalid(String message)
protected void writeJsonResponse(boolean valid, String responseBody)
protected org.forgerock.opendj.ldap.Connection getConnection(String host, int port, String bindDN, char[] bindPwd, int timeout, boolean isSSl) throws GeneralSecurityException, org.forgerock.opendj.ldap.LdapException
GeneralSecurityException
org.forgerock.opendj.ldap.LdapException
protected boolean writeErrorToResponse(org.forgerock.opendj.ldap.ResultCode resultCode)
protected void writeToResponse(String text)
public void initializeResourceBundle()
public String getHostName()
public int getServerPort(String serverUrl, int defaultPort)
public String getBaseDir(javax.servlet.http.HttpServletRequest req)
public String getCookieDomain()
public boolean validateInput()
public boolean resetSessionAttributes()
public String getAvailablePort(int portNumber)
public boolean checkPasswords()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.