--- java/classes/org/w3c/jigsaw/acl/AuthUserPrincipal.java 2012/06/16 15:48:44 1.3 +++ java/classes/org/w3c/jigsaw/acl/AuthUserPrincipal.java 2013/10/18 13:42:11 1.4 @@ -1,25 +1,26 @@ // AuthUserPrincipal.java -// $Id: AuthUserPrincipal.java,v 1.3 2012/06/16 15:48:44 ylafon Exp $ +// $Id: AuthUserPrincipal.java,v 1.4 2013/10/18 13:42:11 ylafon Exp $ // (c) COPYRIGHT MIT, INRIA and Keio, 1999. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.jigsaw.acl; import java.net.InetAddress; -import java.util.Hashtable; +import java.util.HashMap; +import java.util.Map; import org.w3c.jigsaw.auth.AuthUser; import org.w3c.jigsaw.auth.IPMatcher; /** * @author Benoît Mahé (bmahe@w3.org) - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public class AuthUserPrincipal implements AclPrincipal { protected String name = null; protected String password = null; protected String realm = null; - protected Hashtable values = null; + protected Map values = null; protected IPMatcher ipmatcher = null; public boolean equals(Object another) { @@ -70,7 +71,7 @@ public class AuthUserPrincipal implement this.password = user.getPassword(); this.realm = realm; this.ipmatcher = new IPMatcher(); - this.values = new Hashtable(); + this.values = new HashMap(); short ips[][] = user.getIPTemplates(); if (ips != null) {