public class AuthenticationInterceptor extends BaseInterceptor
Interceptor that authenticates users.| Constructor and Description |
|---|
AuthenticationInterceptor()
Creates an authentication service interceptor.
|
addContextPartition, getContext, getName, getPrincipal, removeContextPartition, unbindpublic AuthenticationInterceptor()
public void init(DirectoryService directoryService) throws Exception
Authenticators to this service.init in interface Interceptorinit in class BaseInterceptorExceptionpublic Set<Authenticator> getAuthenticators()
public void setAuthenticators(Set<Authenticator> authenticators)
authenticators - authenticators to be used by this AuthenticationInterceptorpublic void destroy()
Authenticators from this service.destroy in interface Interceptordestroy in class BaseInterceptorpublic void add(NextInterceptor next, AddOperationContext opContext) throws Exception
InterceptorPartition.add( AddOperationContext ) call.add in interface Interceptoradd in class BaseInterceptorExceptionpublic void delete(NextInterceptor next, DeleteOperationContext opContext) throws Exception
InterceptorPartition.delete( DeleteOperationContext ) call.delete in interface Interceptordelete in class BaseInterceptorExceptionpublic org.apache.directory.shared.ldap.name.DN getMatchedName(NextInterceptor next, GetMatchedNameOperationContext opContext) throws Exception
InterceptorDefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext ) call.getMatchedName in interface InterceptorgetMatchedName in class BaseInterceptorExceptionpublic ClonedServerEntry getRootDSE(NextInterceptor next, GetRootDSEOperationContext opContext) throws Exception
InterceptorDefaultPartitionNexus#getRootDSE( GetRootDSEOperationContext ) call.getRootDSE in interface InterceptorgetRootDSE in class BaseInterceptorExceptionpublic org.apache.directory.shared.ldap.name.DN getSuffix(NextInterceptor next, GetSuffixOperationContext opContext) throws Exception
InterceptorDefaultPartitionNexus#getSuffix( GetSuffixOperationContext ) call.getSuffix in interface InterceptorgetSuffix in class BaseInterceptorExceptionpublic boolean hasEntry(NextInterceptor next, EntryOperationContext opContext) throws Exception
InterceptorPartition.hasEntry( EntryOperationContext ) call.hasEntry in interface InterceptorhasEntry in class BaseInterceptorExceptionpublic EntryFilteringCursor list(NextInterceptor next, ListOperationContext opContext) throws Exception
InterceptorPartition.list( ListOperationContext ) call.list in interface Interceptorlist in class BaseInterceptorExceptionpublic Set<String> listSuffixes(NextInterceptor next, ListSuffixOperationContext opContext) throws Exception
InterceptorDefaultPartitionNexus#listSuffixes( ListSuffixOperationContext ) call.listSuffixes in interface InterceptorlistSuffixes in class BaseInterceptorExceptionpublic ClonedServerEntry lookup(NextInterceptor next, LookupOperationContext opContext) throws Exception
InterceptorPartition.lookup( LookupOperationContext ) call.lookup in interface Interceptorlookup in class BaseInterceptorExceptionpublic void modify(NextInterceptor next, ModifyOperationContext opContext) throws Exception
InterceptorPartition.modify( ModifyOperationContext ) call.modify in interface Interceptormodify in class BaseInterceptorExceptionpublic void rename(NextInterceptor next, RenameOperationContext opContext) throws Exception
InterceptorPartition.rename( RenameOperationContext ) call.rename in interface Interceptorrename in class BaseInterceptorExceptionpublic boolean compare(NextInterceptor next, CompareOperationContext opContext) throws Exception
InterceptorDefaultPartitionNexus#compare( CompareOperationContext ) call.compare in interface Interceptorcompare in class BaseInterceptorExceptionpublic void moveAndRename(NextInterceptor next, MoveAndRenameOperationContext opContext) throws Exception
InterceptorPartition.moveAndRename( MoveAndRenameOperationContext) call.moveAndRename in interface InterceptormoveAndRename in class BaseInterceptorExceptionpublic void move(NextInterceptor next, MoveOperationContext opContext) throws Exception
InterceptorPartition.move( MoveOperationContext ) call.move in interface Interceptormove in class BaseInterceptorExceptionpublic EntryFilteringCursor search(NextInterceptor next, SearchOperationContext opContext) throws Exception
InterceptorPartition.search( SearchOperationContext ) call.search in interface Interceptorsearch in class BaseInterceptorExceptionpublic void bind(NextInterceptor next, BindOperationContext opContext) throws Exception
InterceptorPartition.bind( BindOperationContext ) call.bind in interface Interceptorbind in class BaseInterceptorExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.