org.apache.cocoon.webapps.authentication.generation
Class JaasSecurityGenerator

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.xml.AbstractXMLProducer
          extended byorg.apache.cocoon.generation.AbstractGenerator
              extended byorg.apache.cocoon.generation.ServiceableGenerator
                  extended byorg.apache.cocoon.webapps.authentication.generation.JaasSecurityGenerator
All Implemented Interfaces:
Disposable, Generator, LogEnabled, Poolable, Recyclable, Serviceable, SitemapModelComponent, XMLProducer

public class JaasSecurityGenerator
extends ServiceableGenerator

This Generator provides a possibility to use the Authentication Framework of Cocoon against a JAAS-Realm of an Application Server.
You must provide following Parameters to get it running:

Version:
$Id: PortalJaasSecurityGenerator.java 96 2004-08-28 21:30:23Z kulawik $

Field Summary
 
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator
manager
 
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
 
Fields inherited from interface org.apache.cocoon.generation.Generator
ROLE
 
Constructor Summary
JaasSecurityGenerator()
           
 
Method Summary
 void generate()
          Generate the XML and stream it into the pipeline
 
Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
dispose, service
 
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setup
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 

Constructor Detail

JaasSecurityGenerator

public JaasSecurityGenerator()
Method Detail

generate

public void generate()
              throws SAXException,
                     ProcessingException
Description copied from interface: Generator
Generate the XML and stream it into the pipeline

Throws:
SAXException
ProcessingException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.