/*
 * Copyright 2002 Tryllian BV and Otto Moerbeek
 * http://www.tryllian.com
 * otto@tryllian.com
 */

package net.drijf.javaone;

import java.security.PermissionCollection;

/**
 * This interface defines how to retrieve the collection of
 * permissions associated with a role.
 *
 * @author Otto Moerbeek
 */
public interface Role
{
    /** Return the permission associated with this role. */
    PermissionCollection getPermissions();

    /** Return the name of this role. */
    String getName();
}
