Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/auth/Authenticator.java @ 2959:5ba0a6efdf3b
Auth: added simple file based authentication.
flys-client/trunk@4939 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 11 Jul 2012 14:53:33 +0000 |
parents | d7f76f197d89 |
children | 71ba3cf3ec5e |
comparison
equal
deleted
inserted
replaced
2958:973d4a968f6a | 2959:5ba0a6efdf3b |
---|---|
1 package de.intevation.flys.client.server.auth; | 1 package de.intevation.flys.client.server.auth; |
2 | 2 |
3 import java.io.IOException; | 3 import java.io.IOException; |
4 | |
5 import de.intevation.flys.client.server.auth.Authentication; | |
6 import de.intevation.flys.client.server.auth.AuthenticationException; | |
7 | 4 |
8 public interface Authenticator { | 5 public interface Authenticator { |
9 | 6 |
10 public Authentication auth(String username, String password, String encoding) | 7 public Authentication auth(String username, String password, String encoding) |
11 throws AuthenticationException, IOException; | 8 throws AuthenticationException, IOException; |
12 | 9 |
13 } | 10 } |
14 |