public class ModifyPasswordOp extends Object implements MessageOperation
InvalidPasswordException will be thrown
by this operation if the advanced password management feature is enabled and if the password
does not comply with the security requirements. ModifyPasswordResult InvalidPasswordExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="modifyPassword">
<xs:complexType>
<xs:attribute name="password" type="xs:string"/>
</xs:complexType>
</xs:element>
You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:
| Edition | Final Target Instances | |||||
| rater | updater | guider | bulkLoader | taxer | dispatcher | |
| charge | No | Yes | No | No | No | No |
This operation is audited as part of the audit domain TECHNICAL
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME |
| Constructor and Description |
|---|
ModifyPasswordOp()
Builds an empty modify password operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String data)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
String |
getName()
Returns the name of the operation.
|
String |
getPassword()
Gets the new password.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setPassword(String password)
Sets the new password.
|
public static final String OPERATION_NAME
public ModifyPasswordOp()
public String getName()
getName in interface MessageOperationpublic String getPassword()
public void setPassword(String password)
password - The new passwordpublic void addCharacterData(String data)
XMLMarshallableaddCharacterData in interface XMLMarshallabledata - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current element