|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.security.auth.servlet.spi.AbstractHandler
org.openmdx.security.auth.servlet.spi.AbstractCallbackHandler
org.openmdx.security.auth.servlet.simple.SimpleCallbackHandler
public class SimpleCallbackHandler
Simple Callback Handler
| Field Summary |
|---|
| Fields inherited from class org.openmdx.security.auth.servlet.spi.AbstractCallbackHandler |
|---|
LOCAL_ADDR, REMOTE_ADDR |
| Constructor Summary | |
|---|---|
SimpleCallbackHandler()
Constructor |
|
| Method Summary | |
|---|---|
protected String |
getFieldName(int fieldIndex)
Construct a field name |
protected String |
getTitle()
Retrieve the title. |
protected void |
handle(HttpServletRequest request,
int index,
ChoiceCallback callback)
Handle Choice Callbacks |
protected void |
handle(HttpServletRequest request,
int index,
ConfirmationCallback callback)
Handle Confirmation Callbacks |
protected void |
handle(HttpServletRequest request,
int index,
NameCallback callback)
Handle Name Callbacks |
protected void |
handle(HttpServletRequest request,
int index,
PasswordCallback callback)
Handle Password Callbacks |
protected void |
handle(HttpServletRequest request,
int index,
TextInputCallback callback)
Handle Text Input Callbacks |
protected void |
handle(HttpServletRequest request,
int index,
TokenCallback callback)
Handle Token Callbacks |
protected boolean |
handle(HttpServletRequest request,
Writer html,
int index,
ChoiceCallback callback)
Handle Choice Callbacks |
protected boolean |
handle(HttpServletRequest request,
Writer html,
int index,
ConfirmationCallback callback)
Handle Confirmation Callbacks |
protected boolean |
handle(HttpServletRequest request,
Writer html,
int index,
NameCallback callback)
Handle Name Callbacks |
protected boolean |
handle(HttpServletRequest request,
Writer html,
int index,
PasswordCallback callback)
Handle Password Callbacks |
protected boolean |
handle(HttpServletRequest request,
Writer html,
int index,
TextInputCallback callback)
Handle Text Input Callbacks |
protected boolean |
handle(HttpServletRequest request,
Writer html,
int index,
TextOutputCallback callback)
Handle Text output Callbacks |
protected boolean |
handle(HttpServletRequest request,
Writer html,
int index,
TokenCallback callback)
Handle Token Callbacks |
protected void |
init()
A convenience method which can be overridden so that there's no need to call super.init(config). |
protected void |
startBody(Writer html)
Write the BODY's start tag. |
protected void |
startHead(Writer html)
Write the HEAD's start tag including its META element. |
| Methods inherited from class org.openmdx.security.auth.servlet.spi.AbstractCallbackHandler |
|---|
endForm, getToken, handle, handle, handle, handle, handle, handle, handle, handle, handle, startForm |
| Methods inherited from class org.openmdx.security.auth.servlet.spi.AbstractHandler |
|---|
debugDefault, destroy, endBody, endDocument, endHead, getInitParameter, getInitParameter, getInitParameter, getInitParameter, getInitParameter, getInitParameterNames, getServletContext, getServletName, init, isDebug, log, log, startDocument, writeEncoded |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openmdx.security.auth.servlet.cci.HttpHandler |
|---|
destroy, init |
| Constructor Detail |
|---|
public SimpleCallbackHandler()
| Method Detail |
|---|
protected String getFieldName(int fieldIndex)
fieldIndex -
fieldPrefix's value concatenated with the index.protected final String getTitle()
title's value
protected void init()
throws ServletException
AbstractHandlersuper.init(config).
Instead of overriding init(ServletConfig), simply override
this method and it will be called by
AbstractHandler.init(ServletConfig).
init in class AbstractHandlerServletException
protected void startHead(Writer html)
throws IOException
AbstractHandler
startHead in class AbstractHandlerIOException
protected void startBody(Writer html)
throws IOException
AbstractHandler
startBody in class AbstractHandlerIOException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
ChoiceCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerhtml - write the to the HTML form
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
ConfirmationCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerhtml - write the to the HTML form
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
NameCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerhtml - write the to the HTML form
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
PasswordCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerhtml - write the to the HTML form
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
TextInputCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerhtml - write the to the HTML form
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
TextOutputCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerhtml - write the to the HTML form
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
TokenCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerhtml - write the to the HTML form
true if a response has been added
IOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
ChoiceCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerIOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
ConfirmationCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerIOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
NameCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerIOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
PasswordCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerIOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
TextInputCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerIOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
TokenCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlerIOException
UnsupportedCallbackException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||