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:
- org.apache.directory.server.protocol.shared.store.DirectoryServiceOperation
public class GetPrincipal
- extends Object
- implements org.apache.directory.server.protocol.shared.store.DirectoryServiceOperation
Encapsulates the action of looking up a principal in an embedded ApacheDS DIT.
- Author:
- Apache Directory Project
|
Method Summary |
Object |
execute(org.apache.directory.server.core.api.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(org.apache.directory.server.core.api.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 org.apache.directory.server.protocol.shared.store.DirectoryServiceOperation
- Throws:
Exception
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.