issrg.pba.rbac.policies
Interface LDAPEntry

All Superinterfaces:
Entry
All Known Implementing Classes:
ACUserEntry, IssuerEntry, PermisTarget, UserEntry

public interface LDAPEntry
extends Entry

This is an interface to objects that can be located in an LDAP Directory. The objects can tell their LDAPDNPrincipal, which represents the entry DN and they know the object classes they are an instance of.

It is used when doing subtree inclusion match.

Version:
1.0
Author:
A Otenko

Method Summary
 LDAPDNPrincipal getDN()
          This method returns the DN of the entry
 boolean isObjectClass(java.lang.String what)
          This method tells whether or not the object is of the given class.
 
Methods inherited from interface issrg.utils.repository.Entry
getEntryName
 

Method Detail

getDN

LDAPDNPrincipal getDN()
This method returns the DN of the entry

Returns:
the DN of the entry

isObjectClass

boolean isObjectClass(java.lang.String what)
This method tells whether or not the object is of the given class.

Parameters:
what - is the LDAP name of the object class to match
Returns:
true, if the object is of that class; false otherwise; note that any object can be an instance of several classes