Bug 900640 (JBPAPP6-932) - Unable to use Krb5LoginModule from IBM JDK, because of missing jboss-negotiation module dependency
Summary: Unable to use Krb5LoginModule from IBM JDK, because of missing jboss-negotiat...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBPAPP6-932
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Security
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: EAP 6.0.1
Assignee: Tomaz Cerar
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBP...
Whiteboard: eap6_need_triage
Depends On:
Blocks: JBPAPP6-1159
TreeView+ depends on / blocked
 
Reported: 2012-06-15 13:16 UTC by Josef Cacek
Modified: 2014-05-27 01:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-19 03:53:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPAPP6-932 0 Major Closed Unable to use Krb5LoginModule from IBM JDK, because of missing jboss-negotiation module dependency 2016-07-28 13:27:15 UTC

Description Josef Cacek 2012-06-15 13:16:37 UTC
project_key: JBPAPP6

Using Krb5LoginModule from IBM JDK ends with this error:

{panel:title=Log file| borderStyle=dashed}
15:06:19,110 ERROR [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http-/127.0.0.1:8080-1) Login failure: javax.security.auth.login.LoginException: unable to find LoginModule class: com.ibm.security.auth.module.Krb5LoginModule
	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:834) [rt.jar:1.6.0]
	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:209) [rt.jar:1.6.0]
	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:709) [rt.jar:1.6.0]
	at java.security.AccessController.doPrivileged(AccessController.java:251) [vm.jar:]
	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:706) [rt.jar:1.6.0]
	at javax.security.auth.login.LoginContext.login(LoginContext.java:603) [rt.jar:1.6.0]
	at org.jboss.security.negotiation.spnego.SPNEGOLoginModule.getServerSubject(SPNEGOLoginModule.java:282) [jboss-negotiation-spnego-2.2.0.SP1.jar:2.2.0.SP1]
{panel}

Class Krb5LoginModule from Sun/Oracle is covered by a jboss-negotiation module dependency "sun.jdk", but there is no such dependency for IBM Java.

Comment 1 Josef Cacek 2012-06-18 06:56:59 UTC
The path exports needed for IBM Kerberos login module are:
{panel:borderStyle=dashed}
<path name="*com/ibm/security/auth*"/>
<path name="*com/ibm/security/auth/module*"/>
{panel}

Comment 2 Rajesh Rajasekaran 2012-06-18 19:46:21 UTC
Labels: Added: eap6_need_triage


Comment 3 Rajesh Rajasekaran 2012-06-18 19:46:58 UTC
Link: Added: This issue is a dependency of JBPAPP-9188


Comment 4 Anil Saldhana 2012-06-19 00:10:25 UTC
Josef,  this needs to go into documentation some place. I doubt we can make a product change. 

Comment 6 Tomaz Cerar 2012-07-04 20:00:43 UTC
We are adding new module ibm.jdk that will contain all ibm paths the same way as sun.jdk is for sun's jdk.

Comment 8 Tomaz Cerar 2012-07-07 08:56:39 UTC
Fixed in upstream by adding ibm.jdk module that has ibm jdk specific classpaths imported.

Comment 9 Josef Cacek 2012-10-02 11:31:20 UTC
Verified in EAP 6.0.1.ER2

Comment 10 sgilda 2012-10-04 14:36:49 UTC
Modifying release note status.

Comment 11 sgilda 2012-10-04 14:37:19 UTC
Release Notes Docs Status: Added: Not Yet Documented


Comment 12 sgilda 2012-10-04 14:37:49 UTC
Release Notes Text: Added: Updated release note status.


Comment 13 sgilda 2012-10-04 18:35:00 UTC
Updated release note status.

Comment 14 sgilda 2012-10-04 18:35:00 UTC
Release Notes Text: Removed: Updated release note status. 


Comment 15 Josef Cacek 2012-10-05 13:12:10 UTC
Reopening. 
Sande, I'm not sure what was the point behind the reopening and resolving the issue again. Can I close it again? (functionality was verified already)

Comment 16 sgilda 2012-10-05 13:22:57 UTC
Josef, did I forget to close it again after setting the release note status? Feel free to close it. It can be opened  when the release note text is added.

Comment 17 Dana Mison 2012-10-17 22:31:57 UTC
reopening for release notes updates

Comment 18 Dana Mison 2012-10-17 22:34:03 UTC
Writer: Added: elogue


Comment 19 Dana Mison 2012-10-17 23:13:31 UTC
Writer: Removed: elogue Added: tomwells


Comment 20 Tom WELLS 2012-10-19 03:53:50 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue
Release Notes Text: Added: A missing jboss-negotiation module dependency prevented the use of Krb5LoginModule with the IBM JDK. A new module, ibm.jdk, has been added that contains all required ibm paths. Krb5LoginModule now works successfully with the IBM JDK.


Comment 21 Anne-Louise Tangring 2012-11-13 20:07:50 UTC
Release Notes Docs Status: Removed: Documented as Resolved Issue 
Writer: Removed: tomwells 
Release Notes Text: Removed: A missing jboss-negotiation module dependency prevented the use of Krb5LoginModule with the IBM JDK. A new module, ibm.jdk, has been added that contains all required ibm paths. Krb5LoginModule now works successfully with the IBM JDK. 
Docs QE Status: Removed: NEW 



Note You need to log in before you can comment on or make changes to this bug.