EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB279036: "Login Failure: all modules ignored" error when attempting login using Kerberos authentication with IBM JDK 1.7


Community Admin

• Strategy


"Login Failure: all modules ignored" error when attempting login using Kerberos authentication with IBM JDK 1.7

DESCRIPTION
When attempting to login using Kerberos integrated authentication in an environment running on an IBM JDK v 1.7, the following error is thrown:
 

ka04W000000Og2YQAS_0EM440000002Uy3.jpeg

 


 


org.ietf.jgss.GSSException, major code: 11, minor code: 0 major string: General failure, unspecified at GSSAPI level minor string: Error obtaining kerberos credentials: java.security.PrivilegedActionException: javax.security.auth.login.LoginException: Login Failure: all modules ignored

 
CAUSE
This issue may be caused by an incorrect method in the jaas.conf for IBM JDK 1.7.
 
ACTION:
jaas.conf should only contain the following:

com.ibm.security.jgss.krb5.initiate{
	com.ibm.security.auth.module.Krb5LoginModule required
	principal="INSERT SERVICE PRINCIPAL NAME HERE"
	useDefaultKeytab=true
	credsType=both
	debug=true;
};

Restart the web application server after making this change.

KB279036


Comment

0 comments

Details

Knowledge Article

Published:

July 12, 2017

Last Updated:

July 12, 2017