Hi
I had to authenitcate user which are defined in the ldap server and which
we do not want to integrate into the CMS (That is for example necessary if
you want to restricte access to a page to all users which are defined in
the LDAP).
Therefore I would like to extend the Authenticator inteface by an
overloaded method:
--- Authenticator.java (revision 368106)
+++ Authenticator.java (working copy)
@@ -19,10 +19,11 @@
import org.apache.avalon.framework.component.Component;
import org.apache.cocoon.environment.Request;
+import org.apache.lenya.ac.User;
/**
* An authenticator.
- * @version $Id: Authenticator.java,v 1.3 2004/08/16 16:21:22 andreas Exp
$
+ * @version $Id$
*/
public interface Authenticator extends Component {
@@ -40,4 +41,8 @@
*/
boolean authenticate(AccreditableManager accreditableManager, Request
request)
throws AccessControlException;
+
+ boolean authenticate(AccreditableManager accreditableManager, Request
request, User user)
+ throws AccessControlException;
+
}
WDYT
Jann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]