bjoern@2956: package de.intevation.flys.client.server.auth; bjoern@2956: bjoern@2956: /** Interface to represent user authentications bjoern@2956: */ bjoern@2956: public interface Authentication { bjoern@2956: bjoern@2956: /** Returns true if the authentication was successfull bjoern@2956: */ bjoern@2956: public boolean isSuccess(); bjoern@2956: bjoern@2956: /** Returns a new User object bjoern@2956: */ bjoern@2968: public User getUser() throws AuthenticationException; bjoern@2956: bjoern@2956: }