Bugs item #579685, was opened at 2002-07-10 15:48
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=579685&group_id=22866

Category: JBossSX
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Jonathan Leech (jonathan_leech)
Assigned to: Nobody/Anonymous (nobody)
Summary: XMLLoginConfig broken

Initial Comment:
in parseModule(), the logic to determine the flag is 
broken, as the assumption that 
javax.security.auth.login.AppConfigurationEntry.LoginMo
duleControlFlag.OPTIONAL.toString() returns "optional" 
is false.  It returns "LoginModuleControlFlag: optional" 
and so on for REQUIRED, REQUISITE, and 
SUFFICIENT.  As XMLLoginConfig defaults the flag to 
REQUIRED, the problem is masked.  The workaround is 
to specify the full text of "LoginModuleControlFlag: x" in 
login-config.xml.

I have attached a version of XMLLoginConfig.java with 
changes in parseModule to fix the bug.  If the flag 
specified isn't one of {required, requisite, sufficient, 
optional}, I throw an Exception.  I wasn't sure what 
Exception class to use or what level of detail to put in 
the message...

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

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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to