Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/server/auth/Authentication.java @ 2974:8255247da645
Implement re-authentication if the user (ticket) has expired.
Every "ticket" in GGInA has an end date. Therefore send a new
authentication request if the current date is after the end date.
flys-client/trunk@4970 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 13 Jul 2012 07:56:10 +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; }