org.apache.geronimo.security.deployment
Class GeronimoSecurityBuilderImpl

java.lang.Object
  extended by org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl
All Implemented Interfaces:
org.apache.geronimo.deployment.NamespaceDrivenBuilder, org.apache.geronimo.j2ee.deployment.SecurityBuilder

public class GeronimoSecurityBuilderImpl
extends Object
implements org.apache.geronimo.j2ee.deployment.SecurityBuilder


Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
GeronimoSecurityBuilderImpl()
           
 
Method Summary
 void build(org.apache.xmlbeans.XmlObject container, org.apache.geronimo.deployment.DeploymentContext applicationContext, org.apache.geronimo.deployment.DeploymentContext moduleContext)
           
 org.apache.geronimo.security.deploy.DefaultPrincipal buildDefaultPrincipal(org.apache.xmlbeans.XmlObject xmlObject)
           
 void buildEnvironment(org.apache.xmlbeans.XmlObject container, org.apache.geronimo.kernel.repository.Environment environment)
           
 org.apache.geronimo.security.deploy.PrincipalInfo buildPrincipal(org.apache.xmlbeans.XmlObject xmlObject)
           
static void buildRolePrincipalMap(org.apache.geronimo.security.deploy.Security security, Map roleDesignates, Map roleToPrincipalMap, ClassLoader classLoader)
          non-interface, used in some jetty/tomcat tests
 org.apache.geronimo.gbean.GBeanData configureApplicationPolicyManager(org.apache.geronimo.kernel.Naming naming, org.apache.geronimo.gbean.AbstractName moduleName, Map contextIDToPermissionsMap, Object securityConfiguration)
           
 org.apache.geronimo.gbean.GBeanData configureRoleMapper(org.apache.geronimo.kernel.Naming naming, org.apache.geronimo.gbean.AbstractName moduleName, Object securityConfiguration)
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 String getNamespace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

GeronimoSecurityBuilderImpl

public GeronimoSecurityBuilderImpl()
Method Detail

buildEnvironment

public void buildEnvironment(org.apache.xmlbeans.XmlObject container,
                             org.apache.geronimo.kernel.repository.Environment environment)
                      throws org.apache.geronimo.common.DeploymentException
Specified by:
buildEnvironment in interface org.apache.geronimo.deployment.NamespaceDrivenBuilder
Throws:
org.apache.geronimo.common.DeploymentException

build

public void build(org.apache.xmlbeans.XmlObject container,
                  org.apache.geronimo.deployment.DeploymentContext applicationContext,
                  org.apache.geronimo.deployment.DeploymentContext moduleContext)
           throws org.apache.geronimo.common.DeploymentException
Specified by:
build in interface org.apache.geronimo.deployment.NamespaceDrivenBuilder
Throws:
org.apache.geronimo.common.DeploymentException

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface org.apache.geronimo.deployment.NamespaceDrivenBuilder

buildRolePrincipalMap

public static void buildRolePrincipalMap(org.apache.geronimo.security.deploy.Security security,
                                         Map roleDesignates,
                                         Map roleToPrincipalMap,
                                         ClassLoader classLoader)
non-interface, used in some jetty/tomcat tests

Parameters:
security -
roleDesignates -
roleToPrincipalMap -
classLoader -

buildDefaultPrincipal

public org.apache.geronimo.security.deploy.DefaultPrincipal buildDefaultPrincipal(org.apache.xmlbeans.XmlObject xmlObject)
Specified by:
buildDefaultPrincipal in interface org.apache.geronimo.j2ee.deployment.SecurityBuilder

buildPrincipal

public org.apache.geronimo.security.deploy.PrincipalInfo buildPrincipal(org.apache.xmlbeans.XmlObject xmlObject)
Specified by:
buildPrincipal in interface org.apache.geronimo.j2ee.deployment.SecurityBuilder

configureRoleMapper

public org.apache.geronimo.gbean.GBeanData configureRoleMapper(org.apache.geronimo.kernel.Naming naming,
                                                               org.apache.geronimo.gbean.AbstractName moduleName,
                                                               Object securityConfiguration)

configureApplicationPolicyManager

public org.apache.geronimo.gbean.GBeanData configureApplicationPolicyManager(org.apache.geronimo.kernel.Naming naming,
                                                                             org.apache.geronimo.gbean.AbstractName moduleName,
                                                                             Map contextIDToPermissionsMap,
                                                                             Object securityConfiguration)

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.