Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/server/auth/Authentication.java @ 3485:71ba3cf3ec5e
Refactor Authentication to allow to pass the Freatures to the user class
The Features class can be used to receive the allowed features for the users
roles.
flys-client/trunk@5183 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 10 Aug 2012 07:06:18 +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; }