[jboss-jira] [JBoss JIRA] (WFLY-5719) Using Kerberos as login module results in LoginException: unable to find LoginModule class

Brett Prucha (JIRA) issues at jboss.org
Fri Nov 20 12:14:00 EST 2015


Brett Prucha created WFLY-5719:
----------------------------------

             Summary: Using Kerberos as login module results in LoginException: unable to find LoginModule class
                 Key: WFLY-5719
                 URL: https://issues.jboss.org/browse/WFLY-5719
             Project: WildFly
          Issue Type: Bug
    Affects Versions: 10.0.0.CR4, 9.0.2.Final
         Environment: Windows Server 2012 R2, Java 8 update 40
            Reporter: Brett Prucha
            Assignee: Jason Greene


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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list