org.openpermis.policy
Interface Domain

All Superinterfaces:
Identifiable, Part, Serializable
All Known Subinterfaces:
DomainBean
All Known Implementing Classes:
BasicDomain

public interface Domain
extends Part, Identifiable

A domain represents a set of addressable entities.

Individual entities are universally addressed with uniform resource identifiers. This includes HTTP URLs for services or LDAP distinguished names for subjects.

Domains may include and exclude individual entities or entire subtrees of a directory structure.

Since:
0.1.0

Method Summary
 boolean contains(URI identity)
          Checks if this domain contains the specified entity.
 
Methods inherited from interface org.openpermis.policy.Part
equals, hashCode, isValid, toString
 
Methods inherited from interface org.openpermis.policy.Identifiable
getIdentity
 

Method Detail

contains

boolean contains(URI identity)
Checks if this domain contains the specified entity.

Parameters:
identity - the entity to search for, may be null.
Returns:
true if this domain contains the specified entity, false if the entity is not contained or the supplied entity is null.
Since:
0.1.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:59
Copyright (c) 2002-2007 Ergon Informatik AG