Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9719

Clients using SecurityClientFactory are not authenticated when using Elytron

    Details

    • Target Release:
    • Steps to Reproduce:
      Hide

      AS testsuite:

      cd testsuite/integration/basic
      mvn clean test -Delytron -Dwildfly.tmp.enable.elytron.profile.tests=true -Dtest=ServletUnitTestCase
      
      Show
      AS testsuite: cd testsuite/integration/basic mvn clean test -Delytron -Dwildfly.tmp.enable.elytron.profile.tests= true -Dtest=ServletUnitTestCase

      Description

      Clients using org.jboss.security.client.SecurityClientFactory are not authenticated when Elytron security is used on the server.

      For instance if a servlet authenticates to call a protected EJB:

      SecurityClient client = SecurityClientFactory.getSecurityClient();
      client.setSimple("user", "password");
      client.login();
      ejb.callProtectedMethod();
      // ...
      

      Clients with such code don't work with Elytron, which makes easy application migration to Elytron impossible.

      Setting priority to blocker as we need to provide a simple migration way.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  fjuma Farah Juma
                  Reporter:
                  jcacek Josef Cacek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: