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

javax.jcr.security.NamedAccessControlPolicy Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
/*
 * Copyright 2008 Day Management AG, Switzerland. All rights reserved.
 */
package javax.jcr.security;

import javax.jcr.RepositoryException;

/**
 * An NamedAccessControlPolicy is an opaque access control policy
 * that is described by a JCR name and optionally a description.
 * NamedAccessControlPolicy are immutable and can therefore be
 * directly applied to a node without additional configuration step.
 *
 * @since JCR 2.0
 */
public interface NamedAccessControlPolicy extends AccessControlPolicy {

    /**
     * Returns the name of the access control policy, which is JCR name and
     * should be unique among the choices applicable to any particular node.
     *
     * @return the name of the access control policy. A JCR name.
     * @throws RepositoryException if an error occurs.
     */
    public String getName() throws RepositoryException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy