Configuration Platform SDK 7.6 API Reference

com.genesyslab.platform.configuration.protocol.confserver.requests.security
Class RequestChangePassword

java.lang.Object
  extended bycom.genesyslab.platform.commons.protocol.DataObject
      extended bycom.genesyslab.platform.commons.protocol.Message
          extended bycom.genesyslab.platform.configuration.protocol.confserver.requests.security.RequestChangePassword
All Implemented Interfaces:
ProtocolDescriptionSupport

public abstract class RequestChangePassword
extends Message

Changes password for specified user. Unlike RequestUpdateObject, circumvents permission check on ability to change Person object.


Field Summary
static int ID
           
static java.lang.String NAME
           
 
Method Summary
static RequestChangePassword create()
          Creates instance of RequestChangePassword with no parameters set.
static RequestChangePassword create(java.lang.String userName, java.lang.String userPassword, java.lang.String newUserPassword)
          Creates instance of RequestChangePassword with all parameters set.
abstract  java.lang.String getNewUserPassword()
          New User Password - required only for the applications that are not treated as daemon applications (servers) by Configuration Server
abstract  java.lang.Integer getReferenceId()
          Reference id to connect responce to request.
abstract  java.lang.String getUserName()
          The name of a user in the Genesys Configuration Layer.
abstract  java.lang.String getUserPassword()
          The password of a user in the Genesys Configuration Layer.
abstract  void setNewUserPassword(java.lang.String newUserPassword)
          New User Password - required only for the applications that are not treated as daemon applications (servers) by Configuration Server
abstract  void setReferenceId(int referenceId)
          Reference id to connect responce to request.
abstract  void setReferenceId(java.lang.Integer referenceId)
          Reference id to connect responce to request.
abstract  void setUserName(java.lang.String userName)
          The name of a user in the Genesys Configuration Layer.
abstract  void setUserPassword(java.lang.String userPassword)
          The password of a user in the Genesys Configuration Layer.
 
Methods inherited from class com.genesyslab.platform.commons.protocol.Message
cloneMessage, getEndpoint, getMessageAttribute, getProtocolDescription, getProtocolId, messageId, messageName
 
Methods inherited from class com.genesyslab.platform.commons.protocol.DataObject
equals, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final int ID
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Method Detail

create

public static RequestChangePassword create()
Creates instance of RequestChangePassword with no parameters set.

Returns:
instance of RequestChangePassword

create

public static RequestChangePassword create(java.lang.String userName,
                                           java.lang.String userPassword,
                                           java.lang.String newUserPassword)
Creates instance of RequestChangePassword with all parameters set.

Parameters:
userName - User Name - required only for the applications that are not treated as daemon applications (servers) by Configuration Server
userPassword - User Password - required only for the applications that are not treated as daemon applications (servers) by Configuration Server
newUserPassword - New User Password - required only for the applications that are not treated as daemon applications (servers) by Configuration Server
Returns:
instance of RequestChangePassword

getReferenceId

public abstract java.lang.Integer getReferenceId()
Reference id to connect responce to request. If set to 0, it means that ReferenceID should be assighed by ReferenceBuilder.

Returns:
property value

setReferenceId

public abstract void setReferenceId(java.lang.Integer referenceId)
Reference id to connect responce to request. If set to 0, it means that ReferenceID should be assighed by ReferenceBuilder.

Parameters:
referenceId - new value of the property

setReferenceId

public abstract void setReferenceId(int referenceId)
Reference id to connect responce to request. If set to 0, it means that ReferenceID should be assighed by ReferenceBuilder.

Parameters:
referenceId - new value of the property

getUserName

public abstract java.lang.String getUserName()
The name of a user in the Genesys Configuration Layer.


setUserName

public abstract void setUserName(java.lang.String userName)
The name of a user in the Genesys Configuration Layer.


getUserPassword

public abstract java.lang.String getUserPassword()
The password of a user in the Genesys Configuration Layer.


setUserPassword

public abstract void setUserPassword(java.lang.String userPassword)
The password of a user in the Genesys Configuration Layer.


getNewUserPassword

public abstract java.lang.String getNewUserPassword()
New User Password - required only for the applications that are not treated as daemon applications (servers) by Configuration Server

Returns:
property value

setNewUserPassword

public abstract void setNewUserPassword(java.lang.String newUserPassword)
New User Password - required only for the applications that are not treated as daemon applications (servers) by Configuration Server

Parameters:
newUserPassword - new value of the property

Configuration Platform SDK 7.6 API Reference

Send comments on this topic.
Copyright © 2006–2008 Genesys Telecommunication Laboratories, Inc. All rights reserved.