view flys-client/src/main/java/de/intevation/flys/client/server/auth/Authentication.java @ 3515:70c0942156ad

Add service to list available modules for a user The new service returns a list of modules that a user is allowed to access. flys-client/trunk@5289 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Wed, 29 Aug 2012 10:43:36 +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