[jboss-dev-forums] [Design of Security on JBoss] - Re: Security Injection in AS5

alesj do-not-reply at jboss.com
Thu May 1 17:55:11 EDT 2008


Why does SecurityDeployment extend AbstractKernelDeployment?
All you need is ApplicationPolicyBeanMetaDataFactory to be registered (and properly annotated) with SingletonSchemaResolverFactory.

See this discussion:
 - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132413&start=0

Or follow this test:
 - http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/deployers-vfs/src/tests/org/jboss/test/deployers/vfs/xb/test/SchemaResolverXBTestCase.java

btw: the problem there is this:
 - http://jira.jboss.com/jira/browse/JBXB-125
;-)
In other words, non-simple/primitive objects require adapters to know how to marshal them. You are missing those in SecurityDeployment package - see AbstractKernelDeployment package for annotations. ;-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148219#4148219

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148219



More information about the jboss-dev-forums mailing list