public final class StoreUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.apache.directory.api.ldap.model.entry.Entry |
findPrincipalEntry(org.apache.directory.server.core.api.CoreSession session,
org.apache.directory.api.ldap.model.name.Dn searchBaseDn,
String principal)
Finds the Entry associated with the Kerberos principal name.
|
static org.apache.directory.api.ldap.model.entry.Entry |
toServerEntry(org.apache.directory.server.core.api.CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.server.kerberos.shared.store.PrincipalStoreEntry principalEntry)
Creates a Entry for a PrincipalStoreEntry, doing what a state
factory does but for Entry instead of Attributes.
|
public static org.apache.directory.api.ldap.model.entry.Entry toServerEntry(org.apache.directory.server.core.api.CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.server.kerberos.shared.store.PrincipalStoreEntry principalEntry)
throws Exception
session - the session to use to access the directory's registriesdn - the distinguished name of the principal to beprincipalEntry - the principal entry to convert into a EntryException - if there are problems accessing registriespublic static org.apache.directory.api.ldap.model.entry.Entry findPrincipalEntry(org.apache.directory.server.core.api.CoreSession session,
org.apache.directory.api.ldap.model.name.Dn searchBaseDn,
String principal)
throws Exception
session - the session to use for the searchsearchBaseDn - the base to use while searchingprincipal - the name of the principal to search forException - if there are problems while searching the directoryCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.