Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-1583

Allow @RolesAllowed and @DeclareRoles on JAXWS EJB be declared in descriptor(ejb-jar.xml or jboss.xml)

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Migrated to another ITS
    • Affects Version/s: None
    • Fix Version/s: TBD EAP 6
    • Component/s: None
    • Environment:

      JBoss Enterprise Application Platform 5.1.2

      Description

      When "strict" is set in allRolesMode in server.xml Realm, then authentication roles can only be set using annotations @DeclareRoles and @RolesAllowed.
      The documentation on [1] says that this can be configured also using sun-ejb-jar.xml, we should have this option also in JBoss descriptors.

      STRICT_MODE
      Use the strict servlet spec interpretation which requires that the user have one of the web-app/security-role/role-name

      When using JAXWS EJB endpoints, this can be achieved using @DeclareRoles annotation, see:
      http://docs.oracle.com/javaee/5/tutorial/doc/bncav.html#bncaw

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  adam.kovari Adam Kovari
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: