All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geomajas.security.SavedAuthorization Maven / Gradle / Ivy

There is a newer version: 1.18.5
Show newest version
/*
 * This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
 *
 * Copyright 2008-2015 Geosparc nv, http://www.geosparc.com/, Belgium.
 *
 * The program is available in open source according to the GNU Affero
 * General Public License. All contributions in this program are covered
 * by the Geomajas Contributors License Agreement. For full licensing
 * details, see LICENSE.txt in the project root.
 */

package org.geomajas.security;

import java.io.Serializable;
import java.util.List;

import org.geomajas.annotation.Api;

/**
 * Saved authorizations, usable to persist and restore a security context. Acts as a serialized security context.
 * 

* The serialized security context does not contain user info, only authentications (hence the name). * Restoring a SaveAuthorization objects erases user information from the security context. * * @author Joachim Van der Auwera * @since 1.9.0 */ @Api(allMethods = true) public interface SavedAuthorization extends Serializable { /** * Get the {@link SavedAuthentication}s contained in this object. *

* This SavedAuthentication class is a placeholder for the {@link Authorization}s and the providing * {@link SecurityService}. It does not contains actual authentication or user information. * * @return list of authentications */ List getAuthentications(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy