001package org.gbif.api.model.common;
002
003import java.security.Principal;
004
005/**
006 * Simply an extension of {@link Principal} to add the possibility to check roles.
007 */
008public interface ExtendedPrincipal extends Principal {
009   boolean hasRole(String role);
010}