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

org.hibernate.secure.spi.JaccService Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.secure.spi;

import org.hibernate.service.Service;

/**
 * Service describing Hibernate integration with JACC for security service.
 *
 * @author Steve Ebersole
 */
public interface JaccService extends Service {
	/**
	 * Obtain the JACC context-id in effect for this service.  {@code null} indicates no
	 * context is in effect (service is disabled).
	 *
	 * @return The effective JACC context-id
	 */
	public String getContextId();

	public void addPermission(GrantedPermission permissionDeclaration);
	public void checkPermission(PermissionCheckEntityInformation entityInformation, PermissibleAction action);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy