Modifier and Type | Field and Description |
---|---|
static LdapPrincipal |
LdapPrincipal.ANONYMOUS
the no name anonymous user whose DN is the empty String
|
Modifier and Type | Method and Description |
---|---|
LdapPrincipal |
MockCoreSession.getAuthenticatedPrincipal() |
LdapPrincipal |
DefaultCoreSession.getAuthenticatedPrincipal() |
LdapPrincipal |
CoreSession.getAuthenticatedPrincipal()
Gets the LDAP principal used to authenticate.
|
LdapPrincipal |
MockOperation.getEffectivePrincipal() |
LdapPrincipal |
MockCoreSession.getEffectivePrincipal() |
LdapPrincipal |
DefaultCoreSession.getEffectivePrincipal() |
LdapPrincipal |
CoreSession.getEffectivePrincipal()
Gets the LDAP principal used for the effective identity associated with
this session which may not be the same as the authenticated principal.
|
Modifier and Type | Method and Description |
---|---|
CoreSession |
MockDirectoryService.getSession(LdapPrincipal principal) |
CoreSession |
DefaultDirectoryService.getSession(LdapPrincipal principal) |
CoreSession |
DirectoryService.getSession(LdapPrincipal principal)
Gets a logical session to perform operations on this DirectoryService
as a specific user.
|
Constructor and Description |
---|
DefaultCoreSession(LdapPrincipal principal,
DirectoryService directoryService) |
MockCoreSession(LdapPrincipal principal,
DirectoryService directoryService) |
Modifier and Type | Method and Description |
---|---|
LdapPrincipal |
SimpleAuthenticator.authenticate(BindOperationContext opContext)
Looks up userPassword attribute of the entry whose name is the
value of
Context.SECURITY_PRINCIPAL environment variable, and
authenticates a user with the plain-text password. |
LdapPrincipal |
Authenticator.authenticate(BindOperationContext opContext)
Performs authentication and returns the principal if succeeded.
|
LdapPrincipal |
StrongAuthenticator.authenticate(BindOperationContext opContext)
User has already been authenticated during SASL negotiation.
|
LdapPrincipal |
AnonymousAuthenticator.authenticate(BindOperationContext opContext)
If the context is not configured to allow anonymous connections,
this method throws a
NoPermissionException . |
Modifier and Type | Method and Description |
---|---|
LdapPrincipal |
ChangeLogEvent.getCommitterPrincipal() |
Modifier and Type | Method and Description |
---|---|
org.apache.directory.shared.ldap.cursor.Cursor<ChangeLogEvent> |
ChangeLogSearchEngine.find(LdapPrincipal principal,
RevisionOrder order)
Finds all the ChangeLogEvents triggered by a principal in the system.
|
ChangeLogEvent |
DefaultChangeLog.log(LdapPrincipal principal,
org.apache.directory.shared.ldap.ldif.LdifEntry forward,
org.apache.directory.shared.ldap.ldif.LdifEntry reverse)
Records a change as a forward LDIF, a reverse change to revert the change and
the authorized principal triggering the revertable change event.
|
ChangeLogEvent |
MemoryChangeLogStore.log(LdapPrincipal principal,
org.apache.directory.shared.ldap.ldif.LdifEntry forward,
org.apache.directory.shared.ldap.ldif.LdifEntry reverse)
Records a change as a forward LDIF, a reverse change to revert the change and
the authorized principal triggering the revertable change event.
|
ChangeLogEvent |
ChangeLog.log(LdapPrincipal principal,
org.apache.directory.shared.ldap.ldif.LdifEntry forward,
org.apache.directory.shared.ldap.ldif.LdifEntry reverse)
Records a change as a forward LDIF, a reverse change to revert the change and
the authorized principal triggering the revertable change event.
|
ChangeLogEvent |
ChangeLogStore.log(LdapPrincipal principal,
org.apache.directory.shared.ldap.ldif.LdifEntry forward,
org.apache.directory.shared.ldap.ldif.LdifEntry reverse)
Records a change as a forward LDIF, a reverse change to revert the change and
the authorized principal triggering the revertable change event.
|
ChangeLogEvent |
DefaultChangeLog.log(LdapPrincipal principal,
org.apache.directory.shared.ldap.ldif.LdifEntry forward,
List<org.apache.directory.shared.ldap.ldif.LdifEntry> reverses)
Records a change as a forward LDIF, some reverse changes to revert the change and
the authorized principal triggering the revertable change event.
|
ChangeLogEvent |
MemoryChangeLogStore.log(LdapPrincipal principal,
org.apache.directory.shared.ldap.ldif.LdifEntry forward,
List<org.apache.directory.shared.ldap.ldif.LdifEntry> reverses)
Records a change as a forward LDIF, some reverse changes to revert the change and
the authorized principal triggering the revertable change event.
|
ChangeLogEvent |
ChangeLog.log(LdapPrincipal principal,
org.apache.directory.shared.ldap.ldif.LdifEntry forward,
List<org.apache.directory.shared.ldap.ldif.LdifEntry> reverses)
Records a change as a forward LDIF, some reverse changes to revert the change and
the authorized principal triggering the revertable change event.
|
ChangeLogEvent |
ChangeLogStore.log(LdapPrincipal principal,
org.apache.directory.shared.ldap.ldif.LdifEntry forward,
List<org.apache.directory.shared.ldap.ldif.LdifEntry> reverses)
Records a change as a forward LDIF, some reverse changes to revert the change and
the authorized principal triggering the revertable change event.
|
Constructor and Description |
---|
ChangeLogEvent(long revision,
String zuluTime,
LdapPrincipal committer,
org.apache.directory.shared.ldap.ldif.LdifEntry forwardLdif,
org.apache.directory.shared.ldap.ldif.LdifEntry reverseLdif)
Creates a new instance of ChangeLogEvent.
|
ChangeLogEvent(long revision,
String zuluTime,
LdapPrincipal committer,
org.apache.directory.shared.ldap.ldif.LdifEntry forwardLdif,
List<org.apache.directory.shared.ldap.ldif.LdifEntry> reverseLdifs)
Creates a new instance of ChangeLogEvent.
|
Modifier and Type | Method and Description |
---|---|
static LdapPrincipal |
BaseInterceptor.getPrincipal()
TODO delete this since it uses static access
Returns
LdapPrincipal of current context. |
Modifier and Type | Field and Description |
---|---|
protected LdapPrincipal |
AbstractOperationContext.authorizedPrincipal |
Modifier and Type | Method and Description |
---|---|
LdapPrincipal |
AbstractOperationContext.getEffectivePrincipal() |
LdapPrincipal |
OperationContext.getEffectivePrincipal()
Gets the effective principal for this operation which may not be the
same as the authenticated principal when the session for this context
has an explicit authorization id, or this operation was applied with
the proxy authorization control.
|
LdapPrincipal |
BindOperationContext.getEffectivePrincipal() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractOperationContext.setAuthorizedPrincipal(LdapPrincipal authorizedPrincipal) |
Constructor and Description |
---|
ServerContext(DirectoryService service,
LdapPrincipal principal,
Name name)
Must be called by all subclasses to initialize the nexus proxy and the
environment settings to be used by this Context implementation.
|
ServerDirContext(DirectoryService service,
LdapPrincipal principal,
Name dn)
Creates a new ServerDirContext with a distinguished name which is used to
set the PROVIDER_URL to the distinguished name for this context.
|
ServerLdapContext(DirectoryService service,
LdapPrincipal principal,
Name dn)
Creates a new ServerDirContext with a distinguished name which is used to
set the PROVIDER_URL to the distinguished name for this context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultJournalStore.log(LdapPrincipal principal,
long revision,
org.apache.directory.shared.ldap.ldif.LdifEntry forward)
Stores an event into the journal.
|
void |
DefaultJournal.log(LdapPrincipal principal,
long revision,
org.apache.directory.shared.ldap.ldif.LdifEntry entry)
Records a change as an LDIF entry.
|
void |
Journal.log(LdapPrincipal principal,
long revision,
org.apache.directory.shared.ldap.ldif.LdifEntry entry)
Records a change as an LDIF entry.
|
boolean |
JournalStore.log(LdapPrincipal principal,
long revision,
org.apache.directory.shared.ldap.ldif.LdifEntry forward)
Records a change as a forward LDIF and the authorized principal
|
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.