view flys-client/src/main/java/de/intevation/flys/client/server/auth/Authentication.java @ 3507:59c77a9551c8

User new find-user REST service in UserClient Use new find-user REST interface to check if a user already exists in the database or a new user must be created. flys-client/trunk@5265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 24 Aug 2012 14:14:30 +0000
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