view flys-client/src/main/java/de/intevation/flys/client/server/auth/Authentication.java @ 2968:3e0567e02577

Extend Authentication and Response to throw additional exceptions flys-client/trunk@4964 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 13 Jul 2012 06:46:27 +0000
parents d7f76f197d89
children 98c7a46ec5ae
line wrap: on
line source
package de.intevation.flys.client.server.auth;

import de.intevation.flys.client.server.auth.AuthenticationException;
import de.intevation.flys.client.server.auth.User;


/** 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