view flys-client/src/main/java/de/intevation/flys/client/server/auth/User.java @ 3346:f2039d030b5e

Cosmetics, docs. flys-client/trunk@5016 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 16 Jul 2012 08:37:24 +0000
parents 193a113888d4
children 71ba3cf3ec5e
line wrap: on
line source
package de.intevation.flys.client.server.auth;

import java.util.List;

/**
 * User representation after a succesfull login
 */
public interface User {

    /**
     * Returns the username as String
     */
    public String getName();

    /**
     * Returns the password of the user as String
     */
    public String getPassword();

    /**
     * Returns True if the authentication for the user
     * has expired.
     */
    public boolean hasExpired();

    /**
     * Returns a list of roles corresponsing the the user
     */
    public List<String> getRoles();
}
// vim:set ts=4 sw=4 si et fenc=utf8 tw=80:

http://dive4elements.wald.intevation.org