01: // Copyright (C) 2003,2004,2005 by Object Mentor, Inc. All rights reserved.
02: // Released under the terms of the GNU General Public License version 2 or later.
03: package fitnesse.testutil;
04:
05: import fitnesse.authentication.Authenticator;
06: import java.util.Properties;
07:
08: public class SimpleAuthenticator extends Authenticator {
09: public boolean authenticated = false;
10:
11: public SimpleAuthenticator() {
12: }
13:
14: public SimpleAuthenticator(Properties p) {
15: p.propertyNames();
16: }
17:
18: public boolean isAuthenticated(String username, String password) {
19: return authenticated;
20: }
21: }
|