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.
|
public 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–2023 The Apache Software Foundation. All rights reserved.