Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4043

Cannot load custom login module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Beta1
    • 8.1.0.Final
    • Documentation, Security
    • None
    • Java 1.8.0_25

    • Hide

      Modify ejb-security-plus quickstart as follows:

      • Modify ApplicationRealm configuration for JAAS:
        <security-realm name="ApplicationRealm">
        <authentication>
        <jaas name="quickstart-domain"/>
        </authentication>
        </security-realm>
      • Enable plain text transport in jboss-ejb-client.properties:
        remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT=false
      Show
      Modify ejb-security-plus quickstart as follows: Modify ApplicationRealm configuration for JAAS: <security-realm name="ApplicationRealm"> <authentication> <jaas name="quickstart-domain"/> </authentication> </security-realm> Enable plain text transport in jboss-ejb-client.properties: remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT=false

      When security realm authentication is configured to use JAAS domain, it is not possible to use custom login module, because there is no loader present for deployed classes. LoginContext attempts to load the login module class and fails with ClassNotFoundException.

              bstansbe@redhat.com Brian Stansberry
              rsmirnov_jira Rostyslav Smirnov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: