view src/main/java/de/intevation/lada/auth/Authentication.java @ 366:567ce7697fc7 0.5

Code documentation.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 10 Sep 2013 15:55:54 +0200
parents 49d0becf3c65
children 183f8116d9a6
line wrap: on
line source
package de.intevation.lada.auth;

import javax.ws.rs.core.HttpHeaders;

/**
 * Defines the interface authentication modules that provide information about
 * the user.
 *
 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a>
 */
public interface Authentication
{
    public boolean isAuthorizedUser(HttpHeaders headers)
    throws AuthenticationException;

    public AuthenticationResponse authorizedGroups(HttpHeaders headers)
    throws AuthenticationException;

    public boolean hasAccess(HttpHeaders headers, String probeId)
    throws AuthenticationException;

    public String getUserName(HttpHeaders headers)
    throws AuthenticationException;
}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)