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

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

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

Command for changing a principal's password in a JNDI context.

Version:
$Rev: 498848 $, $Date: 2007-01-22 18:25:45 -0500 (Mon, 22 Jan 2007) $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
protected  javax.security.auth.kerberos.KerberosKey newKey
          The new key for the update.
protected  javax.security.auth.kerberos.KerberosPrincipal principal
          The Kerberos principal who's password is to be changed.
 
Constructor Summary
ChangePassword(javax.security.auth.kerberos.KerberosPrincipal principal, javax.security.auth.kerberos.KerberosKey newKey)
          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

principal

protected javax.security.auth.kerberos.KerberosPrincipal principal
The Kerberos principal who's password is to be changed.


newKey

protected javax.security.auth.kerberos.KerberosKey newKey
The new key for the update.

Constructor Detail

ChangePassword

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

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 Apache Software Foundation. All Rights Reserved.