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 Feature Request
    • Status: Closed Closed (View Workflow)
    • Priority: Minor Minor
    • Resolution: Migrated to another ITS
    • Affects Version/s: None
    • Fix Version/s: TBD EAP 6
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Environment:
      JBoss Enterprise Application Platform 5.1.2
    • Similar Issues:
      Show 7 results 

      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

        Issue Links

          Activity

          Hide
          Adam Kovari
          added a comment -

          the original bug case

          Show
          Adam Kovari
          added a comment - the original bug case
          Hide
          RH Bugzilla Integration
          added a comment -

          This issue has been migrated to Bugzilla bug 900349. Please note that this JIRA issue has been closed as part of the migration and therefore you will need to check the Bugzilla issue to find the current status.

          Show
          RH Bugzilla Integration
          added a comment - This issue has been migrated to Bugzilla bug 900349 . Please note that this JIRA issue has been closed as part of the migration and therefore you will need to check the Bugzilla issue to find the current status.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: