@SecurityDomain should throw Exception if "java:/jaas/..."
----------------------------------------------------------
Key: EJBTHREE-738
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-738
Project: EJB 3.0
Issue Type: Feature Request
Components: EJB3 Extensions
Affects Versions: EJB 3.0 RC9 - FD
Reporter: Wolfgang Knauf
Priority: Minor
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira