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

Using Kerberos as login module results in LoginException: unable to find LoginModule class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • 11.0.0.Alpha1
    • 9.0.2.Final, 10.0.0.CR4
    • Security
    • None

    Description

      When using <login-module code="Kerberos" flag="required">, the following exception is thrown:

      javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.security.negotiation.KerberosLoginModule

      When replacing the login module with the one provided by the JVM:

      <login-module code="com.sun.security.auth.module.Krb5LoginModule" flag="required">

      no exception is thrown and authentication works as expected.

      The Kerberos login module works in Wildfly 8.2.0. It appears the class loading or something similar has changed in 9.x onwards to cause this to stop working.

      Attachments

        Activity

          People

            darran.lofthouse@redhat.com Darran Lofthouse
            bprucha Brett Prucha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: