public class GetPrincipal extends Object implements DirectoryServiceOperation
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.shared.ldap.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.shared.ldap.name.DN base) throws Exception
execute
in interface DirectoryServiceOperation
session
- The CoreSession to execute the command withbase
- The base DN for working with the contextException
- The exception thrown by the commandCopyright © 2003–2013 The Apache Software Foundation. All rights reserved.