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

org.picketlink.permission.PermissionManager Maven / Gradle / Ivy

There is a newer version: 3.0.0.Beta2
Show newest version
package org.picketlink.permission;

import java.util.Collection;


/**
 * Manages user, role and group permissions. 
 * 
 * @author Shane Bryzak
 *
 */
public interface PermissionManager
{
    /**
     * 
     * @return A new PermissionQuery
     */
    PermissionQuery createPermissionQuery();
    
    /**
     * 
     * @param permission
     */
    void grantPermission(Permission permission);
    
    /**
     * 
     * @param permission
     */
    void grantPermissions(Collection permission);
    
    /**
     * 
     * @param permission
     */
    void revokePermission(Permission permission);
    
    /**
     * 
     * @param permissions
     */
    void revokePermissions(Collection permissions);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy