Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-3186

Protecting ear file with war and ejb jars

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 1.9.8.Final
    • None
    • Adapter - JEE
    • None

    Description

      Trying to secure an ear file which consists of the following structure:

      web.war

      {has keycloak.json and points to keycloak in the web.xml}

      - has all of the web files
      ejbs.jar

      {references keycloak in the securitydomain annotation}

      - has all of the business logic

      When the user logs in and tries to access an EJB method, I get an error stating there is an 'Invalid User'.

      It seems to me that the configuration does not allow for the access to the ejbs within an ear file. I'm not sure how to resolve this issue, could someone please assist.

      Attachments

        Activity

          People

            Unassigned Unassigned
            firdos1980 Firdos Ali (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: