public class GetPrincipal extends Object
Constructor and Description |
---|
GetPrincipal(KerberosPrincipal principal)
Creates the action to be used against the embedded ApacheDS DIT.
|
Modifier and Type | Method and Description |
---|---|
Object |
execute(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn base)
Note that the base is a relative path from the existing context.
|
public GetPrincipal(KerberosPrincipal principal)
principal
- The principal to search for in the directory.public Object execute(CoreSession session, org.apache.directory.api.ldap.model.name.Dn base) throws Exception
session
- The Sessionbase
- The principal's DnException
- If the execution failedCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.