I must have left that one in as an initiation test !
Jules
--- Jan Bartel <[EMAIL PROTECTED]> wrote: >
User: janb
> Date: 02/03/21 04:12:36
>
> Modified:
> jetty/src/main/org/jboss/jetty/security
> JBossUserRealm.java
> Log:
> Fixed authentication problem: _password was member
> of JBossUserRealm instead
> of JBossUserPrincipal, meaning everyone in the
> realm was using the same
> password.
>
> Revision Changes Path
> 1.6 +11 -3
>
contrib/jetty/src/main/org/jboss/jetty/security/JBossUserRealm.java
>
> Index: JBossUserRealm.java
>
>
===================================================================
> RCS file:
>
/cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/security/JBossUserRealm.java,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -r1.5 -r1.6
> --- JBossUserRealm.java 20 Feb 2002 00:15:36 -0000
> 1.5
> +++ JBossUserRealm.java 21 Mar 2002 12:12:34 -0000
> 1.6
> @@ -5,7 +5,7 @@
> * See terms of license at gnu.org.
> */
>
> -// $Id: JBossUserRealm.java,v 1.5 2002/02/20
> 00:15:36 jules_gosnell Exp $
> +// $Id: JBossUserRealm.java,v 1.6 2002/03/21
> 12:12:34 janb Exp $
>
> package org.jboss.jetty.security;
>
> @@ -29,7 +29,7 @@
> /** An implementation of UserRealm that
> integrates with the JBossSX
> * security manager associted with the web
> application.
> * @author [EMAIL PROTECTED]
> - * @version $Revision: 1.5 $
> + * @version $Revision: 1.6 $
> */
>
> // TODO
> @@ -41,6 +41,15 @@
> extends SimplePrincipal // JBoss API
> implements UserPrincipal // Jetty API
> {
> +
> +
> + /*
>
------------------------------------------------------------
> */
> + /* principal's credential
> + */
> + private String _password;
> +
> +
> +
> JBossUserPrincipal(String name)
> {
> super(name);
> @@ -173,7 +182,6 @@
> private RealmMapping _realmMapping;
> private HashMap _users = new
> HashMap();
> private SubjectSecurityManager _subjSecMgr;
> - private String _password;
> private String _subjAttrName;
> private boolean _useJAAS;
>
>
>
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-development
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development