|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ldap.server.interceptor.BaseInterceptor
org.apache.ldap.server.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,
java.lang.String upName,
javax.naming.Name normName,
javax.naming.directory.Attributes entry)
Filters DirectoryPartition.add(String, Name, Attributes) call. |
void |
delete(NextInterceptor next,
javax.naming.Name name)
Filters DirectoryPartition.delete(Name) call. |
void |
destroy()
Deinitializes and deregisters all Authenticator s from this service. |
javax.naming.Name |
getMatchedName(NextInterceptor next,
javax.naming.Name dn,
boolean normalized)
Filters DirectoryPartitionNexus.getMatchedName(Name, boolean) call. |
javax.naming.directory.Attributes |
getRootDSE(NextInterceptor next)
Filters DirectoryPartitionNexus.getRootDSE() call. |
javax.naming.Name |
getSuffix(NextInterceptor next,
javax.naming.Name dn,
boolean normalized)
Filters DirectoryPartitionNexus.getSuffix(Name, boolean) call. |
boolean |
hasEntry(NextInterceptor next,
javax.naming.Name name)
Filters DirectoryPartition.lookup(Name, String[]) call. |
void |
init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
Registers and initializes all Authenticator s to this service. |
boolean |
isSuffix(NextInterceptor next,
javax.naming.Name name)
Filters DirectoryPartition.isSuffix(Name) call. |
javax.naming.NamingEnumeration |
list(NextInterceptor next,
javax.naming.Name base)
Filters DirectoryPartition.list(Name) call. |
java.util.Iterator |
listSuffixes(NextInterceptor next,
boolean normalized)
Filters DirectoryPartitionNexus.listSuffixes(boolean) call. |
javax.naming.directory.Attributes |
lookup(NextInterceptor next,
javax.naming.Name name)
Filters DirectoryPartition.lookup(Name) call. |
javax.naming.directory.Attributes |
lookup(NextInterceptor next,
javax.naming.Name dn,
java.lang.String[] attrIds)
Filters DirectoryPartition.lookup(Name, String[]) call. |
void |
modify(NextInterceptor next,
javax.naming.Name name,
int modOp,
javax.naming.directory.Attributes mods)
Filters DirectoryPartition.modify(Name, int, Attributes) call. |
void |
modify(NextInterceptor next,
javax.naming.Name name,
javax.naming.directory.ModificationItem[] mods)
Filters DirectoryPartition.modify(Name, ModificationItem[]) call. |
void |
modifyRn(NextInterceptor next,
javax.naming.Name name,
java.lang.String newRn,
boolean deleteOldRn)
Filters DirectoryPartition.modifyRn(Name, String, boolean) call. |
void |
move(NextInterceptor next,
javax.naming.Name oriChildName,
javax.naming.Name newParentName)
Filters DirectoryPartition.move(Name, Name) call. |
void |
move(NextInterceptor next,
javax.naming.Name oriChildName,
javax.naming.Name newParentName,
java.lang.String newRn,
boolean deleteOldRn)
Filters DirectoryPartition.move(Name, Name, String, boolean) call. |
javax.naming.NamingEnumeration |
search(NextInterceptor next,
javax.naming.Name base,
java.util.Map env,
org.apache.ldap.common.filter.ExprNode filter,
javax.naming.directory.SearchControls searchCtls)
Filters DirectoryPartition.search(Name, Map, ExprNode, SearchControls) call. |
Methods inherited from class org.apache.ldap.server.interceptor.BaseInterceptor |
---|
addContextPartition, compare, getContext, getPrincipal, removeContextPartition |
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
Authenticator
s to this service.
init
in interface Interceptor
init
in class BaseInterceptor
javax.naming.NamingException
public void destroy()
Authenticator
s from this service.
destroy
in interface Interceptor
destroy
in class BaseInterceptor
public void add(NextInterceptor next, java.lang.String upName, javax.naming.Name normName, javax.naming.directory.Attributes entry) throws javax.naming.NamingException
Interceptor
DirectoryPartition.add(String, Name, Attributes)
call.
add
in interface Interceptor
add
in class BaseInterceptor
javax.naming.NamingException
public void delete(NextInterceptor next, javax.naming.Name name) throws javax.naming.NamingException
Interceptor
DirectoryPartition.delete(Name)
call.
delete
in interface Interceptor
delete
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.Name getMatchedName(NextInterceptor next, javax.naming.Name dn, boolean normalized) throws javax.naming.NamingException
Interceptor
DirectoryPartitionNexus.getMatchedName(Name, boolean)
call.
getMatchedName
in interface Interceptor
getMatchedName
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.directory.Attributes getRootDSE(NextInterceptor next) throws javax.naming.NamingException
Interceptor
DirectoryPartitionNexus.getRootDSE()
call.
getRootDSE
in interface Interceptor
getRootDSE
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.Name getSuffix(NextInterceptor next, javax.naming.Name dn, boolean normalized) throws javax.naming.NamingException
Interceptor
DirectoryPartitionNexus.getSuffix(Name, boolean)
call.
getSuffix
in interface Interceptor
getSuffix
in class BaseInterceptor
javax.naming.NamingException
public boolean hasEntry(NextInterceptor next, javax.naming.Name name) throws javax.naming.NamingException
Interceptor
DirectoryPartition.lookup(Name, String[])
call.
hasEntry
in interface Interceptor
hasEntry
in class BaseInterceptor
javax.naming.NamingException
public boolean isSuffix(NextInterceptor next, javax.naming.Name name) throws javax.naming.NamingException
Interceptor
DirectoryPartition.isSuffix(Name)
call.
isSuffix
in interface Interceptor
isSuffix
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.NamingEnumeration list(NextInterceptor next, javax.naming.Name base) throws javax.naming.NamingException
Interceptor
DirectoryPartition.list(Name)
call.
list
in interface Interceptor
list
in class BaseInterceptor
javax.naming.NamingException
public java.util.Iterator listSuffixes(NextInterceptor next, boolean normalized) throws javax.naming.NamingException
Interceptor
DirectoryPartitionNexus.listSuffixes(boolean)
call.
listSuffixes
in interface Interceptor
listSuffixes
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor next, javax.naming.Name dn, java.lang.String[] attrIds) throws javax.naming.NamingException
Interceptor
DirectoryPartition.lookup(Name, String[])
call.
lookup
in interface Interceptor
lookup
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor next, javax.naming.Name name) throws javax.naming.NamingException
Interceptor
DirectoryPartition.lookup(Name)
call.
lookup
in interface Interceptor
lookup
in class BaseInterceptor
javax.naming.NamingException
public void modify(NextInterceptor next, javax.naming.Name name, int modOp, javax.naming.directory.Attributes mods) throws javax.naming.NamingException
Interceptor
DirectoryPartition.modify(Name, int, Attributes)
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
javax.naming.NamingException
public void modify(NextInterceptor next, javax.naming.Name name, javax.naming.directory.ModificationItem[] mods) throws javax.naming.NamingException
Interceptor
DirectoryPartition.modify(Name, ModificationItem[])
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
javax.naming.NamingException
public void modifyRn(NextInterceptor next, javax.naming.Name name, java.lang.String newRn, boolean deleteOldRn) throws javax.naming.NamingException
Interceptor
DirectoryPartition.modifyRn(Name, String, boolean)
call.
modifyRn
in interface Interceptor
modifyRn
in class BaseInterceptor
javax.naming.NamingException
public void move(NextInterceptor next, javax.naming.Name oriChildName, javax.naming.Name newParentName, java.lang.String newRn, boolean deleteOldRn) throws javax.naming.NamingException
Interceptor
DirectoryPartition.move(Name, Name, String, boolean)
call.
move
in interface Interceptor
move
in class BaseInterceptor
javax.naming.NamingException
public void move(NextInterceptor next, javax.naming.Name oriChildName, javax.naming.Name newParentName) throws javax.naming.NamingException
Interceptor
DirectoryPartition.move(Name, Name)
call.
move
in interface Interceptor
move
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.NamingEnumeration search(NextInterceptor next, javax.naming.Name base, java.util.Map env, org.apache.ldap.common.filter.ExprNode filter, javax.naming.directory.SearchControls searchCtls) throws javax.naming.NamingException
Interceptor
DirectoryPartition.search(Name, Map, ExprNode, SearchControls)
call.
search
in interface Interceptor
search
in class BaseInterceptor
javax.naming.NamingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |