|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.kerberos.shared.store.operations.ChangePassword
public class ChangePassword
Command for changing a principal's password in a JNDI context.
| Field Summary | |
|---|---|
protected java.lang.String |
newPassword
The new password 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,
java.lang.String newPassword)
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 |
|---|
protected javax.security.auth.kerberos.KerberosPrincipal principal
protected java.lang.String newPassword
| Constructor Detail |
|---|
public ChangePassword(javax.security.auth.kerberos.KerberosPrincipal principal,
java.lang.String newPassword)
principal - The principal to change the password for.newPassword - The password to change.| Method Detail |
|---|
public java.lang.Object execute(CoreSession session,
org.apache.directory.shared.ldap.name.LdapDN searchBaseDn)
throws java.lang.Exception
DirectoryServiceOperation
execute in interface DirectoryServiceOperationsession - The CoreSession to execute the command withsearchBaseDn - The base DN for working with the context
java.lang.Exception - The exception thrown by the command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||