What should be the exact behavior of the ObjectModelFactory be for parsing the following
security-domain element.
| <container-configurations>
| <!-- A stateless session config that is not secured -->
| <container-configuration extends="Standard Stateless
SessionBean">
| <container-name>Unsecure Stateless SessionBean</container-name>
| <security-domain/>
| </container-configuration>
| </container-configurations>
|
Currently the JBossEjbObjectFactory has a setValue method on the ConfigurationMetaData,
but I see that a setValue call is not happening for the security-domain tag.
A similar concept exists for web.xml "auth-constraint" empty tag, but the way
the WebMetaDataObjectFactory handles this is via a new AuthConstraint() object which can
be either populated with 1 or more roles.
Is there a need for a SecurityDomain object to handle this case?
Note that the following setting works fine:
| <!-- A stateless session config that uses the spec-test-domain -->
| <container-configuration extends="Standard Stateless SessionBean">
| <container-name>Domain Stateless SessionBean</container-name>
| <security-domain>java:/jaas/spec-test-domain</security-domain>
| </container-configuration>
|
My question in general is how should the following xml element C be handled by an
ObjectModelFactory?
| <A name="xyz">
| <B>Hello Again</B>
| <C/>
| </A>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997803#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...