|
||||||||||
| 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.DefaultAuthorizationService
public class DefaultAuthorizationService
An Interceptor that controls access to PartitionNexus.
If a user tries to perform any operations that requires
permission he or she doesn't have, NoPermissionException will be
thrown and therefore the current invocation chain will terminate.
| Constructor Summary | |
|---|---|
DefaultAuthorizationService()
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
delete(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.delete(org.apache.directory.shared.ldap.name.LdapDN) call. |
boolean |
hasEntry(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name)
Note that we do nothing here. |
void |
init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
This method does nothing by default. |
javax.naming.NamingEnumeration |
list(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN base)
Filters Partition.list(org.apache.directory.shared.ldap.name.LdapDN) call. |
javax.naming.directory.Attributes |
lookup(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.lookup(org.apache.directory.shared.ldap.name.LdapDN) call. |
javax.naming.directory.Attributes |
lookup(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
java.lang.String[] attrIds)
Filters Partition.lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call. |
void |
modify(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
int modOp,
javax.naming.directory.Attributes attrs)
This policy needs to be really tight too because some attributes may take part in giving the user permissions to protected resources. |
void |
modify(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] items)
This policy needs to be really tight too because some attributes may take part in giving the user permissions to protected resources. |
void |
modifyRn(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
java.lang.String newRn,
boolean deleteOldRn)
Filters Partition.modifyRn(org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call. |
void |
move(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN oriChildName,
org.apache.directory.shared.ldap.name.LdapDN newParentName)
Filters Partition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN) call. |
void |
move(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN oriChildName,
org.apache.directory.shared.ldap.name.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 nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN base,
java.util.Map env,
org.apache.directory.shared.ldap.filter.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 |
|---|
add, addContextPartition, bind, compare, destroy, getContext, getMatchedName, 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 |
| Constructor Detail |
|---|
public DefaultAuthorizationService()
| Method Detail |
|---|
public void init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
throws javax.naming.NamingException
BaseInterceptor
init in interface Interceptorinit in class BaseInterceptorjavax.naming.NamingException
public void delete(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.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 boolean hasEntry(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name)
throws javax.naming.NamingException
hasEntry in interface InterceptorhasEntry in class BaseInterceptorjavax.naming.NamingException
public void modify(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
int modOp,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
modify in interface Interceptormodify in class BaseInterceptorjavax.naming.NamingException
public void modify(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] items)
throws javax.naming.NamingException
modify in interface Interceptormodify in class BaseInterceptorjavax.naming.NamingException
public void modifyRn(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.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 nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN oriChildName,
org.apache.directory.shared.ldap.name.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 void move(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN oriChildName,
org.apache.directory.shared.ldap.name.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 javax.naming.directory.Attributes lookup(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.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 javax.naming.directory.Attributes lookup(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
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.NamingEnumeration search(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN base,
java.util.Map env,
org.apache.directory.shared.ldap.filter.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 javax.naming.NamingEnumeration list(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||