org.apache.directory.server.kerberos.shared.store.operations
Class AddPrincipal

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.store.operations.AddPrincipal
All Implemented Interfaces:
java.io.Serializable, org.apache.directory.server.protocol.shared.store.ContextOperation

public class AddPrincipal
extends java.lang.Object
implements org.apache.directory.server.protocol.shared.store.ContextOperation

Command for adding a principal to a JNDI context.

Version:
$Rev: 540371 $, $Date: 2007-05-21 20:00:43 -0400 (Mon, 21 May 2007) $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
protected  PrincipalStoreEntry entry
          The Kerberos principal who is to be added.
 
Constructor Summary
AddPrincipal(PrincipalStoreEntry entry)
          Creates the action to be used against the embedded ApacheDS DIT.
 
Method Summary
 java.lang.Object execute(javax.naming.directory.DirContext ctx, javax.naming.Name searchBaseDn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entry

protected PrincipalStoreEntry entry
The Kerberos principal who is to be added.

Constructor Detail

AddPrincipal

public AddPrincipal(PrincipalStoreEntry entry)
Creates the action to be used against the embedded ApacheDS DIT.

Parameters:
entry - The PrincipalStoreEntry to add.
Method Detail

execute

public java.lang.Object execute(javax.naming.directory.DirContext ctx,
                                javax.naming.Name searchBaseDn)
Specified by:
execute in interface org.apache.directory.server.protocol.shared.store.ContextOperation


Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.