5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster/**
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster *
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * Copyright (c) 2009 Sun Microsystems Inc. All Rights Reserved
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster *
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * The contents of this file are subject to the terms
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * of the Common Development and Distribution License
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * (the License). You may not use this file except in
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * compliance with the License.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster *
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * You can obtain a copy of the License at
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * https://opensso.dev.java.net/public/CDDLv1.0.html or
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * opensso/legal/CDDLv1.0.txt
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * See the License for the specific language governing
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * permission and limitations under the License.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster *
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * When distributing Covered Code, include this CDDL
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * Header Notice in each file and include the License file
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * at opensso/legal/CDDLv1.0.txt.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * If applicable, add the following below the CDDL Header,
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * with the fields enclosed by brackets [] replaced by
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * your own identifying information:
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * "Portions Copyrighted [year] [name of copyright owner]"
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster *
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * $Id: ResourceName.java,v 1.1 2009/11/24 21:42:35 madan_ranganath Exp $
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster *
63fcfdd800e1773bb54462cff066db6a312a99bbJames Phillpotts * Portions Copyrighted 2014 ForgeRock AS
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster */
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Fosterpackage com.sun.identity.shared.whitelist;
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
63fcfdd800e1773bb54462cff066db6a312a99bbJames Phillpottsimport org.forgerock.openam.shared.resourcename.BaseResourceName;
63fcfdd800e1773bb54462cff066db6a312a99bbJames Phillpotts
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Fosterimport java.net.MalformedURLException;
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Fosterimport java.util.Map;
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Fosterimport java.util.Set;
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster/**
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * The interface <code>ResourceName</code> provides
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * methods to determine the hierarchy of resource names.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * It provides methods to compare resources, get sub resources etc.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * Also it provides an interface to determine the service
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * type to which it be used. Service developers could
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * provide an implementation of this interface that will
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * determine its hierarchy during policy evaluation and
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * also its display in the GUI. A class that implements
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * this interface must have a empty constructor.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * @supported.all.api
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster */
63fcfdd800e1773bb54462cff066db6a312a99bbJames Phillpottspublic interface ResourceName extends BaseResourceName<ResourceMatch, MalformedURLException> {
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster}