public class SecurityLevelsToadlet extends Toadlet
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_PASSWORD_LENGTH |
HANDLE_METHOD_PREFIX| Modifier and Type | Method and Description |
|---|---|
static void |
generatePasswordFormPage(boolean wasWrong,
HTMLNode formNode,
HTMLNode content,
boolean forDowngrade,
boolean forUpgrade,
java.lang.String physicalSecurityLevel,
java.lang.String redirect) |
static void |
generatePasswordFormPage(boolean wasWrong,
ToadletContainer ctx,
HTMLNode content,
boolean forFirstTimeWizard,
boolean forDowngrade,
boolean forUpgrade,
java.lang.String physicalSecurityLevel,
java.lang.String redirect) |
void |
handleMethodGET(java.net.URI uri,
HTTPRequest req,
ToadletContext ctx)
Handle a GET request.
|
void |
handleMethodPOST(java.net.URI uri,
HTTPRequest request,
ToadletContext ctx) |
java.lang.String |
path() |
static void |
sendCantDeleteMasterKeysFileInner(PageHelper helper,
java.lang.String filename,
java.lang.String physicalSecurityLevel) |
static HTMLNode |
sendCantDeleteMasterKeysFileInner(ToadletContext ctx,
java.lang.String filename,
boolean forFirstTimeWizard,
java.lang.String physicalSecurityLevel,
Node node) |
static HTMLNode |
sendPasswordFileCorruptedPageInner(boolean tooBig,
ToadletContext ctx,
boolean forSecLevels,
boolean forFirstTimeWizard,
java.lang.String masterPasswordFile,
Node node) |
static void |
sendPasswordFileCorruptedPageInner(PageHelper helper,
java.lang.String masterPasswordFile) |
addHomepageLink, allowPOSTWithoutPassword, findSupportedMethods, getClientImpl, sendErrorPage, sendErrorPage, sendErrorPage, showAsToadlet, showAsToadlet, writeHTMLReply, writeHTMLReply, writeHTMLReply, writeInternalError, writeReply, writeReply, writeReply, writeReply, writeReply, writeReply, writeTemporaryRedirect, writeTextReply, writeTextReplypublic static final int MAX_PASSWORD_LENGTH
public void handleMethodPOST(java.net.URI uri,
HTTPRequest request,
ToadletContext ctx)
throws ToadletContextClosedException,
java.io.IOException,
RedirectException
ToadletContextClosedExceptionjava.io.IOExceptionRedirectExceptionpublic static void sendCantDeleteMasterKeysFileInner(PageHelper helper, java.lang.String filename, java.lang.String physicalSecurityLevel)
public static HTMLNode sendCantDeleteMasterKeysFileInner(ToadletContext ctx, java.lang.String filename, boolean forFirstTimeWizard, java.lang.String physicalSecurityLevel, Node node)
public void handleMethodGET(java.net.URI uri,
HTTPRequest req,
ToadletContext ctx)
throws ToadletContextClosedException,
java.io.IOException
ToadlethandleMethodGET in class Toadleturi - The URI being fetched.req - The original HTTPRequest, convenient for e.g. fetching ?blah=blah parameters.ctx - The request context. Mainly used for sending a reply; this identifies which
request we are replying to. Also gives access to lots of important objects e.g. PageMaker.ToadletContextClosedExceptionjava.io.IOExceptionpublic static void sendPasswordFileCorruptedPageInner(PageHelper helper, java.lang.String masterPasswordFile)
public static HTMLNode sendPasswordFileCorruptedPageInner(boolean tooBig, ToadletContext ctx, boolean forSecLevels, boolean forFirstTimeWizard, java.lang.String masterPasswordFile, Node node)
public static void generatePasswordFormPage(boolean wasWrong,
ToadletContainer ctx,
HTMLNode content,
boolean forFirstTimeWizard,
boolean forDowngrade,
boolean forUpgrade,
java.lang.String physicalSecurityLevel,
java.lang.String redirect)
forFirstTimeWizard - used to determine form target: wizard if in the wizard, this toadlet if not.