Patches item #852828, was opened at 2003-12-02 21:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=852828&group_id=22866

Category: JBossServer
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Submitted By: Jarno Peltoniemi (jarnopeltoniemi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Default security-domain used by AbstractWebContainer

Initial Comment:
AbstractWebContainer binds security/securityMgr to 
NullSecurityManager if security-domain isn't specified in 
jboss-web.xml. NullSecurityManager allows access with 
any credentials and provides all roles to the user. 
Therefore it's too easy to accidentally deploy an 
application that allows everyone access to classified 
information.

Most importantly, the current implementation is quite 
obscure for new JBoss Users. I have already given 
advices about specifying the security-domain a couple 
of times, one example being 
http://www.jboss.org/thread.jsp?
forum=49&thread=42861.

The submitted patch uses java:/jaas/other as the 
default security-domain if one isn't specified. The freaks 
who like to test their applications with 
NullSecurityManager can still do it by specifying 
java:/jaas/null as the security-domain.

I realize the fact that the implementation should be more 
elaborate and have the default security-domain specified 
in the configuration files. I just didn't feel like wasting 
my time on it if no one likes the suggestion.


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

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


-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to