KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ibm > webdav > impl > UserAuthenticator


1 /*
2  * (C) Copyright Simulacra Media Ltd, 2004. All rights reserved.
3  *
4  * The program is provided "AS IS" without any warranty express or
5  * implied, including the warranty of non-infringement and the implied
6  * warranties of merchantibility and fitness for a particular purpose.
7  * Simulacra Media Ltd will not be liable for any damages suffered by you as a result
8  * of using the Program. In no event will Simulacra Media Ltd be liable for any
9  * special, indirect or consequential damages or lost profits even if
10  * Simulacra Media Ltd has been advised of the possibility of their occurrence.
11  * Simulacra Media Ltd will not be liable for any third party claims against you.
12  *
13  */

14
15 package com.ibm.webdav.impl;
16
17 import com.ibm.webdav.WebDAVException;
18
19 /**
20  * UserAuthenticator implements all WebDAV authentication methods that are
21  * dependent on a specific repository manager interface. This manager is
22  * used by ResourceImpl and its subclasses to interface with a particular
23  * repository manager for authenticating the request principal.
24  *
25  * @author Michael Bell
26  * @version $Revision: 1.1 $
27  *
28  */

29 public interface UserAuthenticator {
30
31     public boolean authenticate(String JavaDoc user,String JavaDoc pwd) throws WebDAVException ;
32
33     public boolean isSuperUser(ResourceImpl resource) throws WebDAVException ;
34 }
Popular Tags