5 Replies Latest reply on Oct 4, 2007 1:34 PM by starksm64

    Principal implementations in metadata project

    starksm64

      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.