Modifier and Type | Method and Description |
---|---|
CoreSession |
DefaultDirectoryService.getSession(LdapPrincipal principal)
Get back a session for a given principal
|
Modifier and Type | Method and Description |
---|---|
static LdapPrincipal |
LdapPrincipalSerializer.deserialize(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
ObjectInput in)
Deserializes a LdapPrincipal instance.
|
LdapPrincipal |
CoreSession.getAnonymousPrincipal()
Gets the anonymous LDAP principal used to authenticate.
|
LdapPrincipal |
CoreSession.getAuthenticatedPrincipal()
Gets the LDAP principal used to authenticate.
|
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 |
DirectoryService.getSession(LdapPrincipal principal)
Gets a logical session to perform operations on this DirectoryService
as a specific user.
|
static void |
LdapPrincipalSerializer.serialize(LdapPrincipal principal,
ObjectOutput out)
Serializes a LdapPrincipal instance.
|
Modifier and Type | Method and Description |
---|---|
LdapPrincipal |
ChangeLogEvent.getCommitterPrincipal() |
Modifier and Type | Method and Description |
---|---|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
ChangeLogSearchEngine.find(LdapPrincipal principal,
RevisionOrder order)
Finds all the ChangeLogEvents triggered by a principal in the system.
|
ChangeLogEvent |
ChangeLog.log(LdapPrincipal principal,
org.apache.directory.api.ldap.model.ldif.LdifEntry forward,
org.apache.directory.api.ldap.model.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.api.ldap.model.ldif.LdifEntry forward,
org.apache.directory.api.ldap.model.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.api.ldap.model.ldif.LdifEntry forward,
List<org.apache.directory.api.ldap.model.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.api.ldap.model.ldif.LdifEntry forward,
List<org.apache.directory.api.ldap.model.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.api.ldap.model.ldif.LdifEntry forwardLdif,
org.apache.directory.api.ldap.model.ldif.LdifEntry reverseLdif)
Creates a new instance of ChangeLogEvent.
|
ChangeLogEvent(long revision,
String zuluTime,
LdapPrincipal committer,
org.apache.directory.api.ldap.model.ldif.LdifEntry forwardLdif,
List<org.apache.directory.api.ldap.model.ldif.LdifEntry> reverseLdifs)
Creates a new instance of ChangeLogEvent.
|
Modifier and Type | Method and Description |
---|---|
static LdapPrincipal |
BaseInterceptor.getPrincipal(OperationContext opContext)
Returns
LdapPrincipal of current context. |
Modifier and Type | Field and Description |
---|---|
protected LdapPrincipal |
AbstractOperationContext.authorizedPrincipal |
Modifier and Type | Method and Description |
---|---|
LdapPrincipal |
AbstractOperationContext.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 |
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractOperationContext.setAuthorizedPrincipal(LdapPrincipal authorizedPrincipal) |
Modifier and Type | Method and Description |
---|---|
void |
Journal.log(LdapPrincipal principal,
long revision,
org.apache.directory.api.ldap.model.ldif.LdifEntry entry)
Records a change as an LDIF entry.
|
boolean |
JournalStore.log(LdapPrincipal principal,
long revision,
org.apache.directory.api.ldap.model.ldif.LdifEntry forward)
Records a change as a forward LDIF and the authorized principal
|
Modifier and Type | Method and Description |
---|---|
LdapPrincipal |
SimpleAuthenticator.authenticate(BindOperationContext bindContext)
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 |
StrongAuthenticator.authenticate(BindOperationContext bindContext)
User has already been authenticated during SASL negotiation.
|
LdapPrincipal |
Authenticator.authenticate(BindOperationContext bindContext)
Performs authentication and returns the principal if succeeded.
|
LdapPrincipal |
DelegatingAuthenticator.authenticate(BindOperationContext bindContext)
Performs authentication and returns the principal if succeeded.
|
LdapPrincipal |
AnonymousAuthenticator.authenticate(BindOperationContext bindContext)
If the context is not configured to allow anonymous connections,
this method throws a
NoPermissionException . |
Modifier and Type | Method and Description |
---|---|
ChangeLogEvent |
MemoryChangeLogStore.log(LdapPrincipal principal,
org.apache.directory.api.ldap.model.ldif.LdifEntry forward,
org.apache.directory.api.ldap.model.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.api.ldap.model.ldif.LdifEntry forward,
org.apache.directory.api.ldap.model.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.api.ldap.model.ldif.LdifEntry forward,
List<org.apache.directory.api.ldap.model.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 |
DefaultChangeLog.log(LdapPrincipal principal,
org.apache.directory.api.ldap.model.ldif.LdifEntry forward,
List<org.apache.directory.api.ldap.model.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 |
---|
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.api.ldap.model.ldif.LdifEntry forward)
Stores an event into the journal.
|
void |
DefaultJournal.log(LdapPrincipal principal,
long revision,
org.apache.directory.api.ldap.model.ldif.LdifEntry entry)
Records a change as an LDIF entry.
|
Modifier and Type | Method and Description |
---|---|
LdapPrincipal |
DefaultCoreSession.getAnonymousPrincipal()
Gets the anonymous LDAP principal used to authenticate.
|
LdapPrincipal |
DefaultCoreSession.getAuthenticatedPrincipal()
Gets the LDAP principal used to authenticate.
|
LdapPrincipal |
DefaultCoreSession.getEffectivePrincipal()
Gets the LDAP principal used for the effective identity associated with
this session which may not be the same as the authenticated principal.
|
Constructor and Description |
---|
DefaultCoreSession(LdapPrincipal principal,
DirectoryService directoryService)
Creates a new instance of a DefaultCoreSession
|
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.