Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-738

@SecurityDomain should throw Exception if "java:/jaas/..."

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Minor
    • None
    • EJB 3.0 RC9 - FD
    • EJB3 Extensions
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wolfgangknauf Wolfgang Knauf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: