Update of 
/var/cvs/applications/cloudcontext/src/org/mmbase/security/implementation/cloudcontext
In directory james.mmbase.org:/tmp/cvs-serv29595

Modified Files:
        Authenticate.java 
Log Message:
clarified an exception


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


Index: Authenticate.java
===================================================================
RCS file: 
/var/cvs/applications/cloudcontext/src/org/mmbase/security/implementation/cloudcontext/Authenticate.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- Authenticate.java   29 Jan 2009 21:51:25 -0000      1.33
+++ Authenticate.java   2 Mar 2009 17:29:15 -0000       1.34
@@ -31,7 +31,7 @@
  * @author Eduard Witteveen
  * @author Pierre van Rooden
  * @author Michiel Meeuwissen
- * @version $Id: Authenticate.java,v 1.33 2009/01/29 21:51:25 michiel Exp $
+ * @version $Id: Authenticate.java,v 1.34 2009/03/02 17:29:15 michiel Exp $
  */
 public class Authenticate extends CloudContextAuthentication {
     private static final Logger log = 
Logging.getLoggerInstance(Authenticate.class);
@@ -200,7 +200,8 @@
                 }
             }
         } else {
-            throw new UnknownAuthenticationMethodException("login module with 
name '" + type + "' not found, only 'anonymous', 'name/password' and 'class' 
are supported");
+            throw new UnknownAuthenticationMethodException("login method with 
name '" + type + "' not found, only 'anonymous', 'name/password', 
'name/encodedpassword' " + (allowEncodedPassword ? " (DISALLOWED) " : "")
+                                                           + "  and 'class' 
are supported");
         }
         if (node == null)  return null;
         return new User(node, getKey(), type);
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to