[jboss-dev-forums] [Design of POJO Server] - Principal implementations in metadata project
scott.stark@jboss.org
do-not-reply at jboss.com
Thu Oct 4 12:00:34 EDT 2007
One issue I just ran into is the duplication of the org.jboss.security.{AnybodyPrincipal,AnybodyPrincipal,SimplePrincipal} in the jboss-metadata project. These are Principal implementations that should not be defined by the metadata layer. They really belong in the security project/security aspect project (where they currently are). Removing these means breaking the legacy org.jboss.metadata.BeanMetaData.getMethodPermissions which returns a Set of Principals.
The only way around that is to add a PrincipalFactory api to the metadata project, or add such an interface to the jboss-security-spi and have jboss-metadata depend on that.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091612#4091612
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091612
More information about the jboss-dev-forums
mailing list