com.sun.identity.policy
Class ProtectedResource

java.lang.Object
  extended bycom.sun.identity.policy.ProtectedResource

public class ProtectedResource
extends java.lang.Object

Class that encapsulates a resource and policies protecting the resource for a given user


Method Summary
 java.util.Set getPolicies()
          Gets policies that protect the resource name
 java.lang.String getResourceName()
          Gets the protected resource name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResourceName

public java.lang.String getResourceName()
Gets the protected resource name

Returns:
protected resource name

getPolicies

public java.util.Set getPolicies()
Gets policies that protect the resource name

Returns:
set of policies that protect the resource. The set contains Policy objects.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.