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

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

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: EJB 3.0 RC9 - FD
    • Fix Version/s: None
    • Component/s: EJB3 Extensions
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: