org.openpermis.subject.assignment.ldap
Class LdapContext

java.lang.Object
  extended by org.openpermis.subject.assignment.ldap.LdapContext
All Implemented Interfaces:
RoleAssignmentContext

public class LdapContext
extends Object
implements RoleAssignmentContext

An ldap context used by an ldap controller.

Since:
0.9.0

Constructor Summary
LdapContext(InitialLdapContext context, String ldapPath)
          Creates a new ldap context with the specified initial context and path.
 
Method Summary
 InitialLdapContext getInitialLdapContext()
          Returns the InitialLdapContext of this ldap context.
 String getLdapPath()
          Returns the ldap path of this ldap context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapContext

public LdapContext(InitialLdapContext context,
                   String ldapPath)
Creates a new ldap context with the specified initial context and path.

Parameters:
context - the InitialLdapContext referencing the ldap.
ldapPath - the path of the ldap entry.
Since:
0.9.0
Method Detail

getInitialLdapContext

public InitialLdapContext getInitialLdapContext()
Returns the InitialLdapContext of this ldap context.

Returns:
the context.
Since:
0.9.0

getLdapPath

public String getLdapPath()
Returns the ldap path of this ldap context.

Returns:
the ldapPath.
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG