Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/server/auth/Authentication.java @ 2984:06d999e95615
Add UserClient class to handle REST communication for user related interfaces.
If a logged in user is not known add him to the database via the REST protocol.
flys-client/trunk@4994 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 13 Jul 2012 13:38:32 +0000 |
parents | 3e0567e02577 |
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; }