Patches item #612217, was opened at 2002-09-20 19:50
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=612217&group_id=22866

Category: JBossSX
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Levart (plevart)
Assigned to: Nobody/Anonymous (nobody)
Summary: JAAS 1.0, JBoss & JDK 1.4.1

Initial Comment:
Hello! 
 
Currently JBoss (HEAD) does not build with JDK 
1.4.1 FCS. The reason is the "patched" JAAS 1.0 
javax.security.auth.login.LoginContext class 
which references 
javax.security.auth.login.AppConfigurationEntry.module 
field that is nonexistent in the JDK 1.4.1... 
 
The main reason to include a "patched" version 
of LoginContext as I have managed to read from 
the buld.xml file is that it should use thread's 
context class loader to load login modules. 
 
I can't get the original SUN's JAAS 1.0 sources 
(can somebody?), but by looking at the JDK 1.4.0 
and 1.4.1 sources, It seems that the 
LoginContext in those versions already correctly 
uses the thread's context classloader for loading 
login modules. There's no need therefore for 
compiling and/or bundling these classes with 
jboss when compiling with JDK 1.4+, since such 
build will only run on JDK 1.4+ and the system 
classes are used there anyway (or is JBoss 
installing it's own system classloader?) 
 
As I know there already is a distinction made on 
the JDBC front when compiling JBoss with JDK 
1.3 as oposed to JDK 1.4, so why not doing the 
same with JAAS? 
 
Attatched is a patch for build.xml in the security 
module. I verified with basic testsuite and it 
doesnt introduce any new failures. I can commit 
this to HEAD if approved by a senior developer. 
 
Peter 
 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=612217&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to