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

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

Go to download

The Content Repository API for JavaTM Technology Version 2.0 is specified by JSR-283. This module contains the complete API as specified.

The newest version!
/*
 * Copyright 2008 Day Management AG, Switzerland. All rights reserved.
 */
package javax.jcr.security;

import java.security.Principal;

/**
 * An AccessControlEntry represents the association of one or more
 * Privilege objects with a specific Principal.
 *
 * @since JCR 2.0
 */
public interface AccessControlEntry {
    /**
     * Returns the principal associated with this access control entry.
     *
     * @return a Principal.
     */
    public Principal getPrincipal();

    /**
     * Returns the privileges associated with this access control entry.
     *
     * @return an array of Privileges.
     */
    public Privilege[] getPrivileges();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy