|
||||||||||
| 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
public class AbstractCallbackHandler
Abstract Callback Handler
| Field Summary | |
|---|---|
static String |
LOCAL_ADDR
Prompt to retrieve the Internet Protocol (IP) address of the interface on which the request was received. |
static String |
REMOTE_ADDR
Prompt to retrieve the value of the CGI variable REMOTE_ADDR. |
| Constructor Summary | |
|---|---|
AbstractCallbackHandler()
Constructor |
|
| Method Summary | |
|---|---|
protected void |
endForm(HttpServletRequest request,
Writer html)
Terminate the FORM including its end tag. |
protected String |
getToken(Callback[] callbacks)
The token should be a valua which changes from callback request to callback request. |
boolean |
handle(HttpServletRequest request,
Callback[] callbacks)
One or second phase callback handling |
boolean |
handle(HttpServletRequest request,
HttpServletResponse response,
Callback[] callbacks)
One or two phase callback handling |
protected void |
handle(HttpServletRequest request,
int index,
org.openmdx.kernel.security.authentication.callback.AddressCallback callback)
Handle Address Callbacks |
protected void |
handle(HttpServletRequest request,
int index,
Callback callback)
Handle Callbacks |
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,
LanguageCallback callback)
Handle Language 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,
TextOutputCallback callback)
Handle Text output Callbacks |
protected void |
handle(HttpServletRequest request,
int index,
TokenCallback callback)
Handle Token Callbacks |
protected boolean |
handle(HttpServletRequest request,
Writer html,
int index,
org.openmdx.kernel.security.authentication.callback.AddressCallback callback)
Handle Address Callbacks |
protected boolean |
handle(HttpServletRequest request,
Writer html,
int index,
Callback callback)
Handle 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,
LanguageCallback callback)
Handle Language 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 |
startForm(HttpServletRequest request,
Writer html)
Write the FORM's start tag. |
| 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, init, isDebug, log, log, startBody, startDocument, startHead, 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 |
| Field Detail |
|---|
public static final String REMOTE_ADDR
public static final String LOCAL_ADDR
| Constructor Detail |
|---|
public AbstractCallbackHandler()
| Method Detail |
|---|
public boolean handle(HttpServletRequest request,
HttpServletResponse response,
Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
HttpCallbackHandler
handle in interface HttpCallbackHandlertrue in case of two-phase handling, i.e. if a
body has been added to the response and callback handling will be
resumed using handle(HttpServletRequest,Callback[]).
IOException
UnsupportedCallbackException
protected void startForm(HttpServletRequest request,
Writer html)
throws IOException
request - html -
IOException
protected void endForm(HttpServletRequest request,
Writer html)
throws IOException
request - html -
IOException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
Callback callback)
throws IOException,
UnsupportedCallbackException
request - html - write the to the HTML formindex - callback -
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
org.openmdx.kernel.security.authentication.callback.AddressCallback callback)
throws IOException,
UnsupportedCallbackException
request - html - write the to the HTML formindex - callback -
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
ChoiceCallback callback)
throws IOException,
UnsupportedCallbackException
request - html - write the to the HTML formindex - callback -
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
ConfirmationCallback callback)
throws IOException,
UnsupportedCallbackException
request - html - write the to the HTML formindex - callback -
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
LanguageCallback callback)
throws IOException,
UnsupportedCallbackException
request - html - write the to the HTML formindex - callback -
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
NameCallback callback)
throws IOException,
UnsupportedCallbackException
request - html - write the to the HTML formindex - callback -
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
PasswordCallback callback)
throws IOException,
UnsupportedCallbackException
request - html - write the to the HTML formindex - callback -
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
TextInputCallback callback)
throws IOException,
UnsupportedCallbackException
request - html - write the to the HTML formindex - callback -
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
TextOutputCallback callback)
throws IOException,
UnsupportedCallbackException
request - html - write the to the HTML formindex - callback -
true if a response has been added
IOException
UnsupportedCallbackException
protected boolean handle(HttpServletRequest request,
Writer html,
int index,
TokenCallback callback)
throws IOException,
UnsupportedCallbackException
request - html - write the to the HTML formindex - callback -
true if a response has been added
IOException
UnsupportedCallbackException
public boolean handle(HttpServletRequest request,
Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
HttpCallbackHandler
handle in interface HttpCallbackHandlerIOException
UnsupportedCallbackExceptionprotected String getToken(Callback[] callbacks)
callbacks -
protected void handle(HttpServletRequest request,
int index,
Callback callback)
throws IOException,
UnsupportedCallbackException
request - index - callback -
IOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
org.openmdx.kernel.security.authentication.callback.AddressCallback callback)
throws IOException,
UnsupportedCallbackException
request - index - callback -
IOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
ChoiceCallback callback)
throws IOException,
UnsupportedCallbackException
request - index - callback -
IOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
ConfirmationCallback callback)
throws IOException,
UnsupportedCallbackException
request - index - callback -
IOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
LanguageCallback callback)
throws IOException,
UnsupportedCallbackException
request - index - callback -
IOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
NameCallback callback)
throws IOException,
UnsupportedCallbackException
request - index - callback -
IOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
PasswordCallback callback)
throws IOException,
UnsupportedCallbackException
request - index - callback -
IOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
TextInputCallback callback)
throws IOException,
UnsupportedCallbackException
request - index - callback -
IOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
TextOutputCallback callback)
throws IOException,
UnsupportedCallbackException
request - index - callback -
IOException
UnsupportedCallbackException
protected void handle(HttpServletRequest request,
int index,
TokenCallback callback)
throws IOException,
UnsupportedCallbackException
request - index - callback -
IOException
UnsupportedCallbackException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||