Package com.sun.enterprise.security.ee
Class SecurityDeployer
- java.lang.Object
-
- org.glassfish.deployment.common.SimpleDeployer<SecurityContainer,DummyApplication>
-
- com.sun.enterprise.security.ee.SecurityDeployer
-
- All Implemented Interfaces:
Deployer<SecurityContainer,DummyApplication>,org.glassfish.hk2.api.PostConstruct
@Service(name="Security") public class SecurityDeployer extends SimpleDeployer<SecurityContainer,DummyApplication> implements org.glassfish.hk2.api.PostConstruct
Security Deployer which generate and clean the security policiesThis contains many JACC life cycle methods which can/should be moved to the JACC package
-
-
Constructor Summary
Constructors Constructor Description SecurityDeployer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcleanArtifacts(DeploymentContext context)protected voidgenerateArtifacts(DeploymentContext context)static List<EventTypes>getDeploymentEvents()MetaDatagetMetaData()Returns the meta data assocated with this DeployerDummyApplicationload(SecurityContainer container, DeploymentContext context)No-opvoidloadPolicy(WebBundleDescriptor webDescriptor, boolean remove)Translate Web Bundle PolicyvoidpostConstruct()voidunload(DummyApplication container, DeploymentContext context)No-op-
Methods inherited from class org.glassfish.deployment.common.SimpleDeployer
clean, loadMetaData, prepare
-
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct
-
generateArtifacts
protected void generateArtifacts(DeploymentContext context) throws DeploymentException
- Specified by:
generateArtifactsin classSimpleDeployer<SecurityContainer,DummyApplication>- Throws:
DeploymentException
-
cleanArtifacts
protected void cleanArtifacts(DeploymentContext context) throws DeploymentException
- Specified by:
cleanArtifactsin classSimpleDeployer<SecurityContainer,DummyApplication>- Throws:
DeploymentException
-
load
public DummyApplication load(SecurityContainer container, DeploymentContext context)
Description copied from class:SimpleDeployerNo-op- Specified by:
loadin interfaceDeployer<SecurityContainer,DummyApplication>- Overrides:
loadin classSimpleDeployer<SecurityContainer,DummyApplication>- Parameters:
container- in which the application will residecontext- of the deployment- Returns:
- an ApplicationContainer instance identifying the running application
-
unload
public void unload(DummyApplication container, DeploymentContext context)
Description copied from class:SimpleDeployerNo-op- Specified by:
unloadin interfaceDeployer<SecurityContainer,DummyApplication>- Overrides:
unloadin classSimpleDeployer<SecurityContainer,DummyApplication>- Parameters:
container- instance to be stoppedcontext- of the undeployment
-
getMetaData
public MetaData getMetaData()
Description copied from class:SimpleDeployerReturns the meta data assocated with this Deployer- Specified by:
getMetaDatain interfaceDeployer<SecurityContainer,DummyApplication>- Overrides:
getMetaDatain classSimpleDeployer<SecurityContainer,DummyApplication>- Returns:
- the meta data for this Deployer
-
loadPolicy
public void loadPolicy(WebBundleDescriptor webDescriptor, boolean remove) throws DeploymentException
Translate Web Bundle Policy- Parameters:
webDescriptor-remove- boolean indicated whether any existing policy statements are removed form context before translation- Throws:
DeploymentException
-
getDeploymentEvents
public static List<EventTypes> getDeploymentEvents()
-
-