org.apache.directory.server.kerberos.shared.store.operations
Class GetPrincipal
java.lang.Object
org.apache.directory.server.kerberos.shared.store.operations.GetPrincipal
- All Implemented Interfaces:
- DirectoryServiceOperation
public class GetPrincipal
- extends Object
- implements DirectoryServiceOperation
Encapsulates the action of looking up a principal in an embedded ApacheDS DIT.
- Author:
- Apache Directory Project
|
Method Summary |
Object |
execute(CoreSession session,
org.apache.directory.shared.ldap.model.name.Dn base)
Note that the base is a relative path from the existing context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetPrincipal
public GetPrincipal(KerberosPrincipal principal)
- Creates the action to be used against the embedded ApacheDS DIT.
- Parameters:
principal - The principal to search for in the directory.
execute
public Object execute(CoreSession session,
org.apache.directory.shared.ldap.model.name.Dn base)
throws Exception
- Note that the base is a relative path from the existing context.
It is not a Dn.
- Specified by:
execute in interface DirectoryServiceOperation
- Throws:
Exception
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.