[jboss-jira] [JBoss JIRA] Closed: (EJBTHREE-738) @SecurityDomain should throw Exception if "java:/jaas/..."

Wolfgang Knauf (JIRA) jira-events at lists.jboss.org
Mon Dec 15 09:33:03 EST 2008


     [ https://jira.jboss.org/jira/browse/EJBTHREE-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wolfgang Knauf closed EJBTHREE-738.
-----------------------------------

    Resolution: Won't Fix


JBoss 5.0 accepts the long and the short version of the security domain.

> @SecurityDomain should throw Exception if "java:/jaas/..."
> ----------------------------------------------------------
>
>                 Key: EJBTHREE-738
>                 URL: https://jira.jboss.org/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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list