org.ow2.jonas.web.tomcat6.ws.security
Class SecureWebDeploymentDescBuilder

java.lang.Object
  extended by org.ow2.jonas.web.tomcat6.ws.security.SecureWebDeploymentDescBuilder

public class SecureWebDeploymentDescBuilder
extends Object

The SecureWebDeploymentDescBuilder is responsible of building, from a list of endpoints defined security constraints, a web deployment descriptor strctured tailored for web security.

Author:
Guillaume Sauthier

Constructor Summary
SecureWebDeploymentDescBuilder()
           
 
Method Summary
 WebContainerDeploymentDesc createJOnASWebDescriptor(List<ISecurityConstraint> security)
          Creates the Web DD structure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureWebDeploymentDescBuilder

public SecureWebDeploymentDescBuilder()
Method Detail

createJOnASWebDescriptor

public WebContainerDeploymentDesc createJOnASWebDescriptor(List<ISecurityConstraint> security)
                                                    throws WSException
Creates the Web DD structure.

Parameters:
security - list of security constraints
Returns:
a security tailored deployment descriptor
Throws:
WSException - if the descriptor cannot be created


Copyright © 2010 OW2 Consortium. All Rights Reserved.