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

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

public class DeletePrincipal
extends java.lang.Object
implements DirectoryServiceOperation

Command for deleting a principal from a JNDI context.

Version:
$Rev: 682235 $, $Date: 2008-08-04 02:43:52 +0200 (Mo, 04 Aug 2008) $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
protected  javax.security.auth.kerberos.KerberosPrincipal principal
          The Kerberos principal who is to be deleted.
 
Constructor Summary
DeletePrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
          Creates the action to be used against the embedded ApacheDS DIT.
 
Method Summary
 java.lang.Object execute(CoreSession session, org.apache.directory.shared.ldap.name.LdapDN searchBaseDn)
          The command pattern execute method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

principal

protected javax.security.auth.kerberos.KerberosPrincipal principal
The Kerberos principal who is to be deleted.

Constructor Detail

DeletePrincipal

public DeletePrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
Creates the action to be used against the embedded ApacheDS DIT.

Parameters:
principal - The principal to delete.
Method Detail

execute

public java.lang.Object execute(CoreSession session,
                                org.apache.directory.shared.ldap.name.LdapDN searchBaseDn)
                         throws java.lang.Exception
Description copied from interface: DirectoryServiceOperation
The command pattern execute method.

Specified by:
execute in interface DirectoryServiceOperation
Parameters:
session - The CoreSession to execute the command with
searchBaseDn - The base DN for working with the context
Returns:
Object The result returned by the command
Throws:
java.lang.Exception - The exception thrown by the command


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.