org.apache.directory.server.core.authn
Class AuthenticationInterceptor
java.lang.Object
org.apache.directory.server.core.interceptor.BaseInterceptor
org.apache.directory.server.core.authn.AuthenticationInterceptor
- All Implemented Interfaces:
- Interceptor
public class AuthenticationInterceptor
- extends BaseInterceptor
An Interceptor that authenticates users.
- Version:
- $Rev: 923747 $, $Date: 2010-03-16 16:09:38 +0200 (Tue, 16 Mar 2010) $
- Author:
- Apache Directory Project
- XBean
|
Method Summary |
void |
add(NextInterceptor next,
AddOperationContext opContext)
|
void |
bind(NextInterceptor next,
BindOperationContext opContext)
|
boolean |
compare(NextInterceptor next,
CompareOperationContext opContext)
|
void |
delete(NextInterceptor next,
DeleteOperationContext opContext)
|
void |
destroy()
Deinitializes and deregisters all Authenticators from this service. |
java.util.Set<Authenticator> |
getAuthenticators()
|
org.apache.directory.shared.ldap.name.DN |
getMatchedName(NextInterceptor next,
GetMatchedNameOperationContext opContext)
|
ClonedServerEntry |
getRootDSE(NextInterceptor next,
GetRootDSEOperationContext opContext)
|
org.apache.directory.shared.ldap.name.DN |
getSuffix(NextInterceptor next,
GetSuffixOperationContext opContext)
|
boolean |
hasEntry(NextInterceptor next,
EntryOperationContext opContext)
|
void |
init(DirectoryService directoryService)
Registers and initializes all Authenticators to this service. |
EntryFilteringCursor |
list(NextInterceptor next,
ListOperationContext opContext)
|
java.util.Set<java.lang.String> |
listSuffixes(NextInterceptor next,
ListSuffixOperationContext opContext)
|
ClonedServerEntry |
lookup(NextInterceptor next,
LookupOperationContext opContext)
|
void |
modify(NextInterceptor next,
ModifyOperationContext opContext)
|
void |
move(NextInterceptor next,
MoveOperationContext opContext)
|
void |
moveAndRename(NextInterceptor next,
MoveAndRenameOperationContext opContext)
|
void |
rename(NextInterceptor next,
RenameOperationContext opContext)
|
EntryFilteringCursor |
search(NextInterceptor next,
SearchOperationContext opContext)
|
void |
setAuthenticators(java.util.Set<Authenticator> authenticators)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationInterceptor
public AuthenticationInterceptor()
- Creates an authentication service interceptor.
init
public void init(DirectoryService directoryService)
throws java.lang.Exception
- Registers and initializes all
Authenticators to this service.
- Specified by:
init in interface Interceptor- Overrides:
init in class BaseInterceptor
- Throws:
java.lang.Exception
getAuthenticators
public java.util.Set<Authenticator> getAuthenticators()
setAuthenticators
public void setAuthenticators(java.util.Set<Authenticator> authenticators)
- Parameters:
authenticators - authenticators to be used by this AuthenticationInterceptor- XBean Property
- nestedType="org.apache.directory.server.core.authn.Authenticator"
destroy
public void destroy()
- Deinitializes and deregisters all
Authenticators from this service.
- Specified by:
destroy in interface Interceptor- Overrides:
destroy in class BaseInterceptor
add
public void add(NextInterceptor next,
AddOperationContext opContext)
throws java.lang.Exception
- Specified by:
add in interface Interceptor- Overrides:
add in class BaseInterceptor
- Throws:
java.lang.Exception
delete
public void delete(NextInterceptor next,
DeleteOperationContext opContext)
throws java.lang.Exception
- Specified by:
delete in interface Interceptor- Overrides:
delete in class BaseInterceptor
- Throws:
java.lang.Exception
getMatchedName
public org.apache.directory.shared.ldap.name.DN getMatchedName(NextInterceptor next,
GetMatchedNameOperationContext opContext)
throws java.lang.Exception
- Specified by:
getMatchedName in interface Interceptor- Overrides:
getMatchedName in class BaseInterceptor
- Throws:
java.lang.Exception
getRootDSE
public ClonedServerEntry getRootDSE(NextInterceptor next,
GetRootDSEOperationContext opContext)
throws java.lang.Exception
- Specified by:
getRootDSE in interface Interceptor- Overrides:
getRootDSE in class BaseInterceptor
- Throws:
java.lang.Exception
getSuffix
public org.apache.directory.shared.ldap.name.DN getSuffix(NextInterceptor next,
GetSuffixOperationContext opContext)
throws java.lang.Exception
- Specified by:
getSuffix in interface Interceptor- Overrides:
getSuffix in class BaseInterceptor
- Throws:
java.lang.Exception
hasEntry
public boolean hasEntry(NextInterceptor next,
EntryOperationContext opContext)
throws java.lang.Exception
- Specified by:
hasEntry in interface Interceptor- Overrides:
hasEntry in class BaseInterceptor
- Throws:
java.lang.Exception
list
public EntryFilteringCursor list(NextInterceptor next,
ListOperationContext opContext)
throws java.lang.Exception
- Specified by:
list in interface Interceptor- Overrides:
list in class BaseInterceptor
- Throws:
java.lang.Exception
listSuffixes
public java.util.Set<java.lang.String> listSuffixes(NextInterceptor next,
ListSuffixOperationContext opContext)
throws java.lang.Exception
- Specified by:
listSuffixes in interface Interceptor- Overrides:
listSuffixes in class BaseInterceptor
- Throws:
java.lang.Exception
lookup
public ClonedServerEntry lookup(NextInterceptor next,
LookupOperationContext opContext)
throws java.lang.Exception
- Specified by:
lookup in interface Interceptor- Overrides:
lookup in class BaseInterceptor
- Throws:
java.lang.Exception
modify
public void modify(NextInterceptor next,
ModifyOperationContext opContext)
throws java.lang.Exception
- Specified by:
modify in interface Interceptor- Overrides:
modify in class BaseInterceptor
- Throws:
java.lang.Exception
rename
public void rename(NextInterceptor next,
RenameOperationContext opContext)
throws java.lang.Exception
- Specified by:
rename in interface Interceptor- Overrides:
rename in class BaseInterceptor
- Throws:
java.lang.Exception
compare
public boolean compare(NextInterceptor next,
CompareOperationContext opContext)
throws java.lang.Exception
- Specified by:
compare in interface Interceptor- Overrides:
compare in class BaseInterceptor
- Throws:
java.lang.Exception
moveAndRename
public void moveAndRename(NextInterceptor next,
MoveAndRenameOperationContext opContext)
throws java.lang.Exception
- Specified by:
moveAndRename in interface Interceptor- Overrides:
moveAndRename in class BaseInterceptor
- Throws:
java.lang.Exception
move
public void move(NextInterceptor next,
MoveOperationContext opContext)
throws java.lang.Exception
- Specified by:
move in interface Interceptor- Overrides:
move in class BaseInterceptor
- Throws:
java.lang.Exception
search
public EntryFilteringCursor search(NextInterceptor next,
SearchOperationContext opContext)
throws java.lang.Exception
- Specified by:
search in interface Interceptor- Overrides:
search in class BaseInterceptor
- Throws:
java.lang.Exception
bind
public void bind(NextInterceptor next,
BindOperationContext opContext)
throws java.lang.Exception
- Specified by:
bind in interface Interceptor- Overrides:
bind in class BaseInterceptor
- Throws:
java.lang.Exception
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.