org.openmdx.security.auth.servlet.simple
Class VerboseSubjectHandler

java.lang.Object
  extended by org.openmdx.security.auth.servlet.spi.AbstractHandler
      extended by org.openmdx.security.auth.servlet.spi.AbstractSubjectHandler
          extended by org.openmdx.security.auth.servlet.simple.SimpleSubjectHandler
              extended by org.openmdx.security.auth.servlet.simple.VerboseSubjectHandler
All Implemented Interfaces:
ServletConfig, HttpHandler, HttpSubjectHandler

public class VerboseSubjectHandler
extends SimpleSubjectHandler

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

VerboseSubjectHandler

public VerboseSubjectHandler()
Constructor

Method Detail

init

protected void init()
             throws ServletException
Description copied from class: AbstractHandler
A convenience method which can be overridden so that there's no need to call super.init(config).

Instead of overriding init(ServletConfig), simply override this method and it will be called by AbstractHandler.init(ServletConfig).

Overrides:
init in class SimpleSubjectHandler
Throws:
ServletException

getTitle

protected final String getTitle()
Retrieve the title.

Returns:
the title's value

startHead

protected void startHead(Writer html)
                  throws IOException
Description copied from class: AbstractHandler
Write the HEAD's start tag including its META element.

Overrides:
startHead in class AbstractHandler
Throws:
IOException

startBody

protected void startBody(Writer html)
                  throws IOException
Description copied from class: AbstractHandler
Write the BODY's start tag.

Overrides:
startBody in class AbstractHandler
Throws:
IOException

handle

public void handle(HttpServletRequest request,
                   HttpServletResponse response,
                   Subject subject)
            throws IOException
Description copied from interface: HttpSubjectHandler
Use the Subject to authenticate the session or to set cookies.

Specified by:
handle in interface HttpSubjectHandler
Overrides:
handle in class SimpleSubjectHandler
Throws:
IOException


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.