|
||||||||||
| 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.simple.InsecureExceptionHandler
public class InsecureExceptionHandler
This HttpExceptionHandler implementation displays the whole
exception stack, which is not a good idea for a production environment!
| Constructor Summary | |
|---|---|
InsecureExceptionHandler()
Constructor |
|
| Method Summary | |
|---|---|
protected String |
getTitle()
Retrieve the title. |
boolean |
handle(HttpServletRequest request,
HttpServletResponse response,
LoginException exception,
int attempt)
Propagate te given exception |
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.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 InsecureExceptionHandler()
| Method Detail |
|---|
protected final String getTitle()
title's value
public boolean handle(HttpServletRequest request,
HttpServletResponse response,
LoginException exception,
int attempt)
throws IOException
HttpExceptionHandler
handle in interface HttpExceptionHandlerattempt - the number of times login has been started or re-started
on the assoicated LoginContext, or -1 if unknown
true if the authentication sequence should be
terminated, false if it should be re-started with the same
LoginContext.
IOException
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||