Details
-
Feature Request
-
Resolution: Won't Do
-
Minor
-
None
-
EJB 3.0 RC9 - FD
-
None
Description
Security Domains in J2EE 1.4 environment were always specified as "java:/jaas/MySecurityDomain", but the @SecurityDomain requires only "MySecurityDomain".
To avoid this trapdoor a simple check "if (value.startsWith ("java:/jaas/") ) throw Exception" would probably avoid some errors in updating from EJB2.1 to EJB3.
Same check makes sense for the annotation "<security-domain>" in jboss.xml.