com.sun.identity.policy
Class ProtectedResource

java.lang.Object
  extended by com.sun.identity.policy.ProtectedResource

public class ProtectedResource
extends Object

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


Method Summary
 Set getPolicies()
          Gets policies that protect the resource name
 String getResourceName()
          Gets the protected resource name
 

Method Detail

getResourceName

public String getResourceName()
Gets the protected resource name

Returns:
protected resource name

getPolicies

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

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