| |
|
| java.lang.Object org.objectweb.jonas_ws.wsgen.generator.SecurityGenerator
SecurityGenerator | public class SecurityGenerator (Code) | | Generates the necessary security files to the generated
webapp for a stateless session bean endpoint.
author: Matt Wringe |
SecurityGenerator | public SecurityGenerator(Document securityDesc)(Code) | | Creates a new SecurityGenerator object
Parameters: securityDesc - Dom Document that contains the security settings |
generate | public void generate(WsEndpointDDModifier ddm, ContextDDModifier cddm, WebJettyDDModifier wjddm)(Code) | | Generates the security settings specified in securityDesc document
Parameters: ddm - Used to add security to the web.xml Parameters: cddm - Used to add a security realm to the context.xml Parameters: wjddm - Used to add a security realn to the web-jetty.xml |
getEndpointLoginConfig | public NodeList getEndpointLoginConfig()(Code) | | Returns the login-config nodes from the securityDesc document
the login-config nodes from the securityDesc document |
getEndpointSecurityConstraints | public NodeList getEndpointSecurityConstraints()(Code) | | Returns the security-constraint nodes from the securityDesc document
the security-constraint nodes from the securityDesc document |
getEndpointSecurityRole | public NodeList getEndpointSecurityRole()(Code) | | Returns the security-role nodes from the securityDesc document
the security-role nodes from the securityDesc document |
getRealm | public String getRealm()(Code) | | Returns the context-realm node from the securityDesc document
the realm node from the securityDesc document |
getRealmName | public String getRealmName()(Code) | | Returns the realm name
the realm name |
getSecurityDesc | public Document getSecurityDesc()(Code) | | Returns the Document that contains the security settings
Document that contains the security settings |
|
|
|