public class OperationSetChangePasswordJabberImpl extends java.lang.Object implements OperationSetChangePassword
Constructor and Description |
---|
OperationSetChangePasswordJabberImpl(ProtocolProviderServiceJabberImpl protocolProvider)
Sets the object protocolProvider to the one given.
|
Modifier and Type | Method and Description |
---|---|
void |
changePassword(java.lang.String newPass)
Changes the jabber account password of protocolProvider to newPass.
|
boolean |
supportsPasswordChange()
Returns true if the server supports password changes.
|
OperationSetChangePasswordJabberImpl(ProtocolProviderServiceJabberImpl protocolProvider)
protocolProvider
- the protocolProvider to use.public void changePassword(java.lang.String newPass) throws java.lang.IllegalStateException, OperationFailedException
changePassword
in interface OperationSetChangePassword
newPass
- the new password.java.lang.IllegalStateException
- if the account is not registered.OperationFailedException
- if the server does not support password
changes.public boolean supportsPasswordChange()
supportsPasswordChange
in interface OperationSetChangePassword
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.