view flys-client/src/main/java/de/intevation/flys/client/server/auth/Authentication.java @ 4489:fea3e4b6faba

Return after sending a redirect Maybe this avoids the internel state errors in tomcat.
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 14 Nov 2012 10:37:21 +0100
parents 98c7a46ec5ae
children
line wrap: on
line source
package de.intevation.flys.client.server.auth;

/** Interface to represent user authentications
 */
public interface Authentication {

    /** Returns true if the authentication was successfull
     */
    public boolean isSuccess();

    /** Returns a new User object
     */
    public User getUser() throws AuthenticationException;

}

http://dive4elements.wald.intevation.org