|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.generators.wsgen.generator.SecurityGenerator
public class SecurityGenerator
Generates the necessary security files to the generated webapp for a stateless session bean endpoint.
Constructor Summary | |
---|---|
SecurityGenerator(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 |
NodeList |
getEndpointLoginConfig()
Returns the login-config nodes from the securityDesc document |
NodeList |
getEndpointSecurityConstraints()
Returns the security-constraint nodes from the securityDesc document |
NodeList |
getEndpointSecurityRole()
Returns the security-role nodes from the securityDesc document |
String |
getRealm()
Returns the context-realm node from the securityDesc document |
String |
getRealmName()
Returns the realm name |
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(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 NodeList getEndpointLoginConfig()
public NodeList getEndpointSecurityConstraints()
public NodeList getEndpointSecurityRole()
public String getRealm()
public String getRealmName()
public Document getSecurityDesc()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |