teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5861: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.server.auth; bjoern@2956: bjoern@2956: import java.io.IOException; bjoern@2956: bh@5933: import javax.servlet.ServletContext; bh@5933: teichmann@5835: import org.dive4elements.river.client.server.features.Features; bjoern@3485: bh@5933: bjoern@2956: public interface Authenticator { bjoern@2956: bh@5933: public Authentication auth(String username, String password, bh@5933: String encoding, Features features, bh@5933: ServletContext context) bjoern@2956: throws AuthenticationException, IOException; bjoern@2956: bjoern@2956: }