01: /*
02: * (C) Copyright Simulacra Media Ltd, 2004. All rights reserved.
03: *
04: * The program is provided "AS IS" without any warranty express or
05: * implied, including the warranty of non-infringement and the implied
06: * warranties of merchantibility and fitness for a particular purpose.
07: * Simulacra Media Ltd will not be liable for any damages suffered by you as a result
08: * of using the Program. In no event will Simulacra Media Ltd be liable for any
09: * 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 user, String pwd)
32: throws WebDAVException;
33:
34: public boolean isSuperUser(ResourceImpl resource)
35: throws WebDAVException;
36: }
|