|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ws.wsgen.generator.SecurityGenerator
Generates the necessary security files to the generated webapp for a stateless session bean endpoint.
Constructor Summary | |
SecurityGenerator(org.w3c.dom.Document securityDesc)
Creates a new SecurityGenerator object |
Method Summary | |
void |
generate(WsEndpointDDModifier ddm,
ContextDDModifier cddm,
WebJettyDDModifier wjddm)
Generates the security settings specified in securityDesc document |
org.w3c.dom.NodeList |
getEndpointLoginConfig()
Returns the login-config nodes from the securityDesc document |
org.w3c.dom.NodeList |
getEndpointSecurityConstraints()
Returns the security-constraint nodes from the securityDesc document |
org.w3c.dom.NodeList |
getEndpointSecurityRole()
Returns the security-role nodes from the securityDesc document |
java.lang.String |
getRealm()
Returns the context-realm node from the securityDesc document |
java.lang.String |
getRealmName()
Returns the realm name |
org.w3c.dom.Document |
getSecurityDesc()
Returns the Document that contains the security settings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SecurityGenerator(org.w3c.dom.Document securityDesc)
securityDesc
- Dom Document that contains the security settingsMethod Detail |
public void generate(WsEndpointDDModifier ddm, ContextDDModifier cddm, WebJettyDDModifier wjddm)
ddm
- Used to add security to the web.xmlcddm
- Used to add a security realm to the context.xmlwjddm
- Used to add a security realn to the web-jetty.xmlpublic org.w3c.dom.NodeList getEndpointLoginConfig()
public org.w3c.dom.NodeList getEndpointSecurityConstraints()
public org.w3c.dom.NodeList getEndpointSecurityRole()
public java.lang.String getRealm()
public java.lang.String getRealmName()
public org.w3c.dom.Document getSecurityDesc()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |