org.apache.cocoon.webapps.authentication.generation
Class JaasSecurityGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
org.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:
- jaasRealm - The JNDI name of the JAAS Realm
- username - The username of the user
- password - The password of the user
- Version:
- $Id: PortalJaasSecurityGenerator.java 96 2004-08-28 21:30:23Z kulawik $
Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
Method Summary |
void |
generate()
Generate the XML and stream it into the pipeline |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaasSecurityGenerator
public JaasSecurityGenerator()
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.