|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.directory.server.core.interceptor.BaseInterceptor
org.apache.directory.server.core.authz.AuthorizationService
An ACI based authorization service.
| Field Summary | |
static javax.naming.directory.SearchControls |
DEFUALT_SEARCH_CONTROLS
|
| Constructor Summary | |
AuthorizationService()
|
|
| Method Summary | |
void |
add(NextInterceptor next,
LdapDN normName,
javax.naming.directory.Attributes entry)
Filters Partition#add(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes) call. |
void |
cacheNewGroup(java.lang.String upName,
LdapDN normName,
javax.naming.directory.Attributes entry)
|
boolean |
compare(NextInterceptor next,
LdapDN name,
java.lang.String oid,
java.lang.Object value)
Filters PartitionNexus#compare(org.apache.directory.shared.ldap.name.LdapDN,String,Object) call. |
void |
delete(NextInterceptor next,
LdapDN name)
Filters Partition#delete(org.apache.directory.shared.ldap.name.LdapDN) call. |
LdapDN |
getMatchedName(NextInterceptor next,
LdapDN dn)
Filters PartitionNexus#getMatchedName(org.apache.directory.shared.ldap.name.LdapDN) call. |
boolean |
hasEntry(NextInterceptor next,
LdapDN name)
Filters Partition#lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call. |
void |
init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
Initializes this interceptor based service by getting a handle on the nexus, setting up the tupe and group membership caches and the ACIItem parser and the ACDF engine. |
boolean |
isPrincipalAnAdministrator(LdapDN principalDn)
|
javax.naming.NamingEnumeration |
list(NextInterceptor next,
LdapDN base)
Filters Partition#list(org.apache.directory.shared.ldap.name.LdapDN) call. |
javax.naming.directory.Attributes |
lookup(NextInterceptor next,
LdapDN name)
Filters Partition#lookup(org.apache.directory.shared.ldap.name.LdapDN) call. |
javax.naming.directory.Attributes |
lookup(NextInterceptor next,
LdapDN dn,
java.lang.String[] attrIds)
Filters Partition#lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call. |
void |
modify(NextInterceptor next,
LdapDN name,
int modOp,
javax.naming.directory.Attributes mods)
Filters Partition#modify(org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes) call. |
void |
modify(NextInterceptor next,
LdapDN name,
javax.naming.directory.ModificationItem[] mods)
Filters Partition#modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]) call. |
void |
modifyRn(NextInterceptor next,
LdapDN name,
java.lang.String newRn,
boolean deleteOldRn)
Filters Partition#modifyRn(org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call. |
void |
move(NextInterceptor next,
LdapDN oriChildName,
LdapDN newParentName)
Filters Partition#move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN) call. |
void |
move(NextInterceptor next,
LdapDN oriChildName,
LdapDN newParentName,
java.lang.String newRn,
boolean deleteOldRn)
Filters Partition#move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call. |
javax.naming.NamingEnumeration |
search(NextInterceptor next,
LdapDN base,
java.util.Map env,
ExprNode filter,
javax.naming.directory.SearchControls searchCtls)
Filters Partition#search(org.apache.directory.shared.ldap.name.LdapDN,java.util.Map,org.apache.directory.shared.ldap.filter.ExprNode,javax.naming.directory.SearchControls) call. |
| Methods inherited from class org.apache.directory.server.core.interceptor.BaseInterceptor |
addContextPartition, bind, destroy, getContext, getPrincipal, getRootDSE, getSuffix, isSuffix, listSuffixes, removeContextPartition, unbind |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final javax.naming.directory.SearchControls DEFUALT_SEARCH_CONTROLS
| Constructor Detail |
public AuthorizationService()
| Method Detail |
public void init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
throws javax.naming.NamingException
init in interface Interceptorinit in class BaseInterceptorfactoryCfg - the ContextFactory configuration for the servercfg - the interceptor configuration
javax.naming.NamingException - if there are problems during initialization
public void add(NextInterceptor next,
LdapDN normName,
javax.naming.directory.Attributes entry)
throws javax.naming.NamingException
InterceptorPartition#add(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes) call.
add in interface Interceptoradd in class BaseInterceptorjavax.naming.NamingException
public void delete(NextInterceptor next,
LdapDN name)
throws javax.naming.NamingException
InterceptorPartition#delete(org.apache.directory.shared.ldap.name.LdapDN) call.
delete in interface Interceptordelete in class BaseInterceptorjavax.naming.NamingException
public void modify(NextInterceptor next,
LdapDN name,
int modOp,
javax.naming.directory.Attributes mods)
throws javax.naming.NamingException
InterceptorPartition#modify(org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes) call.
modify in interface Interceptormodify in class BaseInterceptorjavax.naming.NamingException
public void modify(NextInterceptor next,
LdapDN name,
javax.naming.directory.ModificationItem[] mods)
throws javax.naming.NamingException
InterceptorPartition#modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]) call.
modify in interface Interceptormodify in class BaseInterceptorjavax.naming.NamingException
public boolean hasEntry(NextInterceptor next,
LdapDN name)
throws javax.naming.NamingException
InterceptorPartition#lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call.
hasEntry in interface InterceptorhasEntry in class BaseInterceptorjavax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor next,
LdapDN dn,
java.lang.String[] attrIds)
throws javax.naming.NamingException
InterceptorPartition#lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call.
lookup in interface Interceptorlookup in class BaseInterceptorjavax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor next,
LdapDN name)
throws javax.naming.NamingException
InterceptorPartition#lookup(org.apache.directory.shared.ldap.name.LdapDN) call.
lookup in interface Interceptorlookup in class BaseInterceptorjavax.naming.NamingException
public void modifyRn(NextInterceptor next,
LdapDN name,
java.lang.String newRn,
boolean deleteOldRn)
throws javax.naming.NamingException
InterceptorPartition#modifyRn(org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call.
modifyRn in interface InterceptormodifyRn in class BaseInterceptorjavax.naming.NamingException
public void move(NextInterceptor next,
LdapDN oriChildName,
LdapDN newParentName,
java.lang.String newRn,
boolean deleteOldRn)
throws javax.naming.NamingException
InterceptorPartition#move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call.
move in interface Interceptormove in class BaseInterceptorjavax.naming.NamingException
public void move(NextInterceptor next,
LdapDN oriChildName,
LdapDN newParentName)
throws javax.naming.NamingException
InterceptorPartition#move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN) call.
move in interface Interceptormove in class BaseInterceptorjavax.naming.NamingException
public javax.naming.NamingEnumeration list(NextInterceptor next,
LdapDN base)
throws javax.naming.NamingException
InterceptorPartition#list(org.apache.directory.shared.ldap.name.LdapDN) call.
list in interface Interceptorlist in class BaseInterceptorjavax.naming.NamingException
public javax.naming.NamingEnumeration search(NextInterceptor next,
LdapDN base,
java.util.Map env,
ExprNode filter,
javax.naming.directory.SearchControls searchCtls)
throws javax.naming.NamingException
InterceptorPartition#search(org.apache.directory.shared.ldap.name.LdapDN,java.util.Map,org.apache.directory.shared.ldap.filter.ExprNode,javax.naming.directory.SearchControls) call.
search in interface Interceptorsearch in class BaseInterceptorjavax.naming.NamingException
public final boolean isPrincipalAnAdministrator(LdapDN principalDn)
throws javax.naming.NamingException
javax.naming.NamingException
public boolean compare(NextInterceptor next,
LdapDN name,
java.lang.String oid,
java.lang.Object value)
throws javax.naming.NamingException
InterceptorPartitionNexus#compare(org.apache.directory.shared.ldap.name.LdapDN,String,Object) call.
compare in interface Interceptorcompare in class BaseInterceptorjavax.naming.NamingException
public LdapDN getMatchedName(NextInterceptor next,
LdapDN dn)
throws javax.naming.NamingException
InterceptorPartitionNexus#getMatchedName(org.apache.directory.shared.ldap.name.LdapDN) call.
getMatchedName in interface InterceptorgetMatchedName in class BaseInterceptorjavax.naming.NamingException
public void cacheNewGroup(java.lang.String upName,
LdapDN normName,
javax.naming.directory.Attributes entry)
throws javax.naming.NamingException
javax.naming.NamingException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||