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

com.bazaarvoice.commons.data.model.RoleBasedUser Maven / Gradle / Ivy

package com.bazaarvoice.commons.data.model;

import java.util.Set;

public interface RoleBasedUser extends User {

    Set getRoles();

    boolean hasRoles();

    /**
     * Whether or not the user is in at least one of the given roles.
     */
    boolean isInRole(L... roles);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy