|
||||||||||
| 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.authn.AuthenticationService
public class AuthenticationService
An Interceptor that authenticates users.
| Nested Class Summary | |
|---|---|
class |
AuthenticationService.TrustedPrincipalWrapper
FIXME This doesn't secure anything actually. |
| Field Summary | |
|---|---|
java.util.Map |
authenticators
authenticators |
| Constructor Summary | |
|---|---|
AuthenticationService()
Creates an authentication service interceptor. |
|
| Method Summary | |
|---|---|
void |
add(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN normName,
javax.naming.directory.Attributes entry)
Filters Partition.add(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes) call. |
void |
bind(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN bindDn,
byte[] credentials,
java.util.List mechanisms,
java.lang.String saslAuthId)
Filters Partition.bind(org.apache.directory.shared.ldap.name.LdapDN,byte[],java.util.List,String) call. |
void |
delete(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.delete(org.apache.directory.shared.ldap.name.LdapDN) call. |
void |
destroy()
Deinitializes and deregisters all Authenticators from this service. |
org.apache.directory.shared.ldap.name.LdapDN |
getMatchedName(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN dn)
Filters PartitionNexus.getMatchedName(org.apache.directory.shared.ldap.name.LdapDN) call. |
javax.naming.directory.Attributes |
getRootDSE(NextInterceptor next)
Filters PartitionNexus.getRootDSE() call. |
org.apache.directory.shared.ldap.name.LdapDN |
getSuffix(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN dn)
Filters PartitionNexus.getSuffix(org.apache.directory.shared.ldap.name.LdapDN) call. |
boolean |
hasEntry(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call. |
void |
init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
Registers and initializes all Authenticators to this service. |
boolean |
isSuffix(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.isSuffix(org.apache.directory.shared.ldap.name.LdapDN) call. |
javax.naming.NamingEnumeration |
list(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN base)
Filters Partition.list(org.apache.directory.shared.ldap.name.LdapDN) call. |
java.util.Iterator |
listSuffixes(NextInterceptor next)
Filters PartitionNexus.listSuffixes() call. |
javax.naming.directory.Attributes |
lookup(NextInterceptor next,
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 next,
org.apache.directory.shared.ldap.name.LdapDN dn,
java.lang.String[] attrIds)
Filters Partition.lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call. |
void |
modify(NextInterceptor next,
org.apache.directory.shared.ldap.name.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,
org.apache.directory.shared.ldap.name.LdapDN name,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] mods)
Filters Partition#modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]) call. |
void |
modifyRn(NextInterceptor next,
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 next,
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 next,
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 next,
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 |
|---|
addContextPartition, compare, getContext, getPrincipal, removeContextPartition, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.Map authenticators
| Constructor Detail |
|---|
public AuthenticationService()
| Method Detail |
|---|
public void init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
throws javax.naming.NamingException
Authenticators to this service.
init in interface Interceptorinit in class BaseInterceptorjavax.naming.NamingExceptionpublic void destroy()
Authenticators from this service.
destroy in interface Interceptordestroy in class BaseInterceptor
public void add(NextInterceptor next,
org.apache.directory.shared.ldap.name.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,
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 org.apache.directory.shared.ldap.name.LdapDN getMatchedName(NextInterceptor next,
org.apache.directory.shared.ldap.name.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 javax.naming.directory.Attributes getRootDSE(NextInterceptor next)
throws javax.naming.NamingException
InterceptorPartitionNexus.getRootDSE() call.
getRootDSE in interface InterceptorgetRootDSE in class BaseInterceptorjavax.naming.NamingException
public org.apache.directory.shared.ldap.name.LdapDN getSuffix(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN dn)
throws javax.naming.NamingException
InterceptorPartitionNexus.getSuffix(org.apache.directory.shared.ldap.name.LdapDN) call.
getSuffix in interface InterceptorgetSuffix in class BaseInterceptorjavax.naming.NamingException
public boolean hasEntry(NextInterceptor next,
org.apache.directory.shared.ldap.name.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 boolean isSuffix(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name)
throws javax.naming.NamingException
InterceptorPartition.isSuffix(org.apache.directory.shared.ldap.name.LdapDN) call.
isSuffix in interface InterceptorisSuffix in class BaseInterceptorjavax.naming.NamingException
public javax.naming.NamingEnumeration list(NextInterceptor next,
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
public java.util.Iterator listSuffixes(NextInterceptor next)
throws javax.naming.NamingException
InterceptorPartitionNexus.listSuffixes() call.
listSuffixes in interface InterceptorlistSuffixes in class BaseInterceptorjavax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor next,
org.apache.directory.shared.ldap.name.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,
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 void modify(NextInterceptor next,
org.apache.directory.shared.ldap.name.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,
org.apache.directory.shared.ldap.name.LdapDN name,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] 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 void modifyRn(NextInterceptor next,
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 next,
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 void move(NextInterceptor next,
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 javax.naming.NamingEnumeration search(NextInterceptor next,
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 void bind(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN bindDn,
byte[] credentials,
java.util.List mechanisms,
java.lang.String saslAuthId)
throws javax.naming.NamingException
InterceptorPartition.bind(org.apache.directory.shared.ldap.name.LdapDN,byte[],java.util.List,String) call.
bind in interface Interceptorbind in class BaseInterceptorjavax.naming.NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||