org.apache.directory.server.kerberos.shared.store.operations
Class ChangePassword
java.lang.Object
org.apache.directory.server.kerberos.shared.store.operations.ChangePassword
- All Implemented Interfaces:
- DirectoryServiceOperation
public class ChangePassword
- extends Object
- implements DirectoryServiceOperation
Command for changing a principal's password in a JNDI context.
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
principal
protected KerberosPrincipal principal
- The Kerberos principal who's password is to be changed.
newPassword
protected String newPassword
- The new password for the update.
ChangePassword
public ChangePassword(KerberosPrincipal principal,
String newPassword)
- Creates the action to be used against the embedded ApacheDS DIT.
- Parameters:
principal - The principal to change the password for.newPassword - The password to change.
execute
public Object execute(CoreSession session,
org.apache.directory.shared.ldap.model.name.Dn searchBaseDn)
throws Exception
- Specified by:
execute in interface DirectoryServiceOperation
- Throws:
Exception
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.