keycloak-scim/server-spi/src/main/java/org/keycloak/models/RoleModel.java
2016-01-15 18:44:17 -05:00

36 lines
668 B
Java
Executable file

package org.keycloak.models;
import java.util.Set;
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*/
public interface RoleModel {
String getName();
String getDescription();
void setDescription(String description);
String getId();
void setName(String name);
boolean isScopeParamRequired();
void setScopeParamRequired(boolean scopeParamRequired);
boolean isComposite();
void addCompositeRole(RoleModel role);
void removeCompositeRole(RoleModel role);
Set<RoleModel> getComposites();
RoleContainerModel getContainer();
boolean hasRole(RoleModel role);
}