public class AuthenticationInterceptor extends BaseInterceptor
Interceptor
that authenticates users.Constructor and Description |
---|
AuthenticationInterceptor()
Creates an authentication service interceptor.
|
addContextPartition, getContext, getName, getPrincipal, removeContextPartition, unbind
public AuthenticationInterceptor()
public void init(DirectoryService directoryService) throws Exception
Authenticator
s to this service.init
in interface Interceptor
init
in class BaseInterceptor
Exception
public Set<Authenticator> getAuthenticators()
public void setAuthenticators(Set<Authenticator> authenticators)
authenticators
- authenticators to be used by this AuthenticationInterceptorpublic void destroy()
Authenticator
s from this service.destroy
in interface Interceptor
destroy
in class BaseInterceptor
public void add(NextInterceptor next, AddOperationContext opContext) throws Exception
Interceptor
Partition.add( AddOperationContext )
call.add
in interface Interceptor
add
in class BaseInterceptor
Exception
public void delete(NextInterceptor next, DeleteOperationContext opContext) throws Exception
Interceptor
Partition.delete( DeleteOperationContext )
call.delete
in interface Interceptor
delete
in class BaseInterceptor
Exception
public org.apache.directory.shared.ldap.name.DN getMatchedName(NextInterceptor next, GetMatchedNameOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext )
call.getMatchedName
in interface Interceptor
getMatchedName
in class BaseInterceptor
Exception
public ClonedServerEntry getRootDSE(NextInterceptor next, GetRootDSEOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#getRootDSE( GetRootDSEOperationContext )
call.getRootDSE
in interface Interceptor
getRootDSE
in class BaseInterceptor
Exception
public org.apache.directory.shared.ldap.name.DN getSuffix(NextInterceptor next, GetSuffixOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#getSuffix( GetSuffixOperationContext )
call.getSuffix
in interface Interceptor
getSuffix
in class BaseInterceptor
Exception
public boolean hasEntry(NextInterceptor next, EntryOperationContext opContext) throws Exception
Interceptor
Partition.hasEntry( EntryOperationContext )
call.hasEntry
in interface Interceptor
hasEntry
in class BaseInterceptor
Exception
public EntryFilteringCursor list(NextInterceptor next, ListOperationContext opContext) throws Exception
Interceptor
Partition.list( ListOperationContext )
call.list
in interface Interceptor
list
in class BaseInterceptor
Exception
public Set<String> listSuffixes(NextInterceptor next, ListSuffixOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#listSuffixes( ListSuffixOperationContext )
call.listSuffixes
in interface Interceptor
listSuffixes
in class BaseInterceptor
Exception
public ClonedServerEntry lookup(NextInterceptor next, LookupOperationContext opContext) throws Exception
Interceptor
Partition.lookup( LookupOperationContext )
call.lookup
in interface Interceptor
lookup
in class BaseInterceptor
Exception
public void modify(NextInterceptor next, ModifyOperationContext opContext) throws Exception
Interceptor
Partition.modify( ModifyOperationContext )
call.modify
in interface Interceptor
modify
in class BaseInterceptor
Exception
public void rename(NextInterceptor next, RenameOperationContext opContext) throws Exception
Interceptor
Partition.rename( RenameOperationContext )
call.rename
in interface Interceptor
rename
in class BaseInterceptor
Exception
public boolean compare(NextInterceptor next, CompareOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#compare( CompareOperationContext )
call.compare
in interface Interceptor
compare
in class BaseInterceptor
Exception
public void moveAndRename(NextInterceptor next, MoveAndRenameOperationContext opContext) throws Exception
Interceptor
Partition.moveAndRename( MoveAndRenameOperationContext)
call.moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
Exception
public void move(NextInterceptor next, MoveOperationContext opContext) throws Exception
Interceptor
Partition.move( MoveOperationContext )
call.move
in interface Interceptor
move
in class BaseInterceptor
Exception
public EntryFilteringCursor search(NextInterceptor next, SearchOperationContext opContext) throws Exception
Interceptor
Partition.search( SearchOperationContext )
call.search
in interface Interceptor
search
in class BaseInterceptor
Exception
public void bind(NextInterceptor next, BindOperationContext opContext) throws Exception
Interceptor
Partition.bind( BindOperationContext )
call.bind
in interface Interceptor
bind
in class BaseInterceptor
Exception
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.