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:
- org.apache.directory.server.protocol.shared.store.DirectoryServiceOperation
public class ChangePassword
- extends Object
- implements org.apache.directory.server.protocol.shared.store.DirectoryServiceOperation
Command for changing a principal's password in a JNDI context.
- Author:
- Apache Directory Project
|
Method Summary |
Object |
execute(org.apache.directory.server.core.api.CoreSession session,
org.apache.directory.shared.ldap.model.name.Dn searchBaseDn)
|
| 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(org.apache.directory.server.core.api.CoreSession session,
org.apache.directory.shared.ldap.model.name.Dn searchBaseDn)
throws Exception
- 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.