|
||||||||||
| 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.AbstractSubjectHandler
org.openmdx.security.auth.servlet.simple.SimpleSubjectHandler
org.openmdx.security.auth.servlet.simple.VerboseSubjectHandler
public class VerboseSubjectHandler
Simple Subject Handler
| Constructor Summary | |
|---|---|
VerboseSubjectHandler()
Constructor |
|
| Method Summary | |
|---|---|
protected String |
getTitle()
Retrieve the title. |
void |
handle(HttpServletRequest request,
HttpServletResponse response,
Subject subject)
Use the Subject to authenticate the session or to set
cookies. |
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.simple.SimpleSubjectHandler |
|---|
getKeyProvider |
| Methods inherited from class org.openmdx.security.auth.servlet.spi.AbstractSubjectHandler |
|---|
getCookie, getCookieComment, getCookieDomain, getCookieName, getCookiePath, getSignatureAlgorithm, getToken, getTokenFactory, getTokenTimeout, init, isCookieSecure |
| Methods inherited from class org.openmdx.security.auth.servlet.spi.AbstractHandler |
|---|
debugDefault, destroy, endBody, endDocument, endHead, getInitParameter, getInitParameter, getInitParameter, getInitParameter, getInitParameter, getInitParameterNames, getServletContext, getServletName, 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 |
| Constructor Detail |
|---|
public VerboseSubjectHandler()
| Method Detail |
|---|
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 SimpleSubjectHandlerServletExceptionprotected final String getTitle()
title's value
protected void startHead(Writer html)
throws IOException
AbstractHandler
startHead in class AbstractHandlerIOException
protected void startBody(Writer html)
throws IOException
AbstractHandler
startBody in class AbstractHandlerIOException
public void handle(HttpServletRequest request,
HttpServletResponse response,
Subject subject)
throws IOException
HttpSubjectHandlerSubject to authenticate the session or to set
cookies.
handle in interface HttpSubjectHandlerhandle in class SimpleSubjectHandlerIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||