org.apache.geronimo.security.jacc
Class WebModuleConfiguration
java.lang.Object
org.apache.geronimo.security.jacc.AbstractModuleConfiguration
org.apache.geronimo.security.jacc.WebModuleConfiguration
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, ModuleConfiguration
- public class WebModuleConfiguration
- extends AbstractModuleConfiguration
This es an GBean wrapper class that performs much of the utility work
needed to perform the translation of the web deployment descriptors
into equivalent security permissions. These permissions are placed into
the appropriate PolicyConfiguration
object as defined in the
JAAC spec.
It is expected that deployment tools will configure modules through
these utility MBeans and not directly access the
PolicyConfiguration
objects.
- Version:
- $Revision: 1.7 $ $Date: 2004/07/12 06:07:49 $
- See Also:
PolicyConfiguration
,
"Java Authorization Contract for Containers", section 3.1.3
Constructor Summary |
WebModuleConfiguration(String contextId,
org.apache.geronimo.xbeans.j2ee.WebAppType webApp,
noNamespace.SecurityType security)
|
Method Summary |
void |
doStart()
Translate the web deployment descriptors into equivalent security
permissions. |
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
Methods inherited from class org.apache.geronimo.security.jacc.AbstractModuleConfiguration |
addRoleMapping, commit, delete, doFail, doStop, getContextID, getPolicyConfiguration, getRoles, inService, linkConfiguration, setConfigured |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebModuleConfiguration
public WebModuleConfiguration(String contextId,
org.apache.geronimo.xbeans.j2ee.WebAppType webApp,
noNamespace.SecurityType security)
doStart
public void doStart()
- Translate the web deployment descriptors into equivalent security
permissions. These permissions are placed into the appropriate
PolicyConfiguration
object as defined in the JAAC spec.
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Overrides:
doStart
in class AbstractModuleConfiguration
- Throws:
GeronimoSecurityException
- if there is any violation of the semantics of
the security descriptor or the state of the module configuration.- See Also:
PolicyConfiguration
,
"Java Authorization Contract for Containers", section 3.1.3
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.