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

javax.jcr.security.AccessControlEntry 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 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 - 2024 Weber Informatics LLC | Privacy Policy