Update of /var/cvs/src/org/mmbase/security/implementation/basic
In directory james.mmbase.org:/tmp/cvs-serv5436/basic

Modified Files:
        AuthenticationHandler.java 
Log Message:
not using deprecated XMLBasicReader any more


See also: 
http://cvs.mmbase.org/viewcvs/src/org/mmbase/security/implementation/basic


Index: AuthenticationHandler.java
===================================================================
RCS file: 
/var/cvs/src/org/mmbase/security/implementation/basic/AuthenticationHandler.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- AuthenticationHandler.java  25 Jul 2007 06:47:11 -0000      1.13
+++ AuthenticationHandler.java  3 Sep 2008 20:00:10 -0000       1.14
@@ -11,7 +11,7 @@
 package org.mmbase.security.implementation.basic;
 
 import org.w3c.dom.Element;
-import org.mmbase.util.XMLBasicReader;
+import org.mmbase.util.xml.DocumentReader;
 import org.mmbase.util.XMLEntityResolver;
 
 import org.mmbase.security.*;
@@ -33,7 +33,7 @@
  * @todo MM: I think it should be possible for admin to login with 
name/password to, how else could
  * you use HTTP authentication (e.g. admin pages).
  * @author Eduard Witteveen
- * @version $Id: AuthenticationHandler.java,v 1.13 2007/07/25 06:47:11 michiel 
Exp $
+ * @version $Id: AuthenticationHandler.java,v 1.14 2008/09/03 20:00:10 michiel 
Exp $
  */
 public class AuthenticationHandler extends Authentication {
     private static final Logger log = 
Logging.getLoggerInstance(AuthenticationHandler.class);
@@ -50,11 +50,11 @@
     private Map<String, Rank> moduleRanks    = new HashMap<String, Rank>();
 
     protected void load() {
-        XMLBasicReader reader;
+        DocumentReader reader;
         try {
             org.xml.sax.InputSource in = 
MMBaseCopConfig.securityLoader.getInputSource(configResource);
             log.debug("using: '" + configResource + "' as config file for 
authentication");
-            reader = new XMLBasicReader(in, getClass());
+            reader = new DocumentReader(in, getClass());
         } catch (Exception e) {
             throw new SecurityException(e);
         }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to