Package com.highdeal.hci
Class CheckPasswordResult
java.lang.Object
com.highdeal.hci.CheckPasswordResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
- Direct Known Subclasses:
CheckUserPasswordResult
This operation result contains the list of all the rules which are not satisfied by the new password specified in the
CheckPasswordOp operation request.Operation Request
CheckPasswordOp XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="checkPasswordResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="passwordRule" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis model represents the result of the check of a rule against a password.static enumThisenumerationspecifies all possible rule identifiers of the unsatisfied rules that apply to passwords. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String data) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.Gets a list containing the result of the check of thepassword rulesfor the specified password.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.
-
Constructor Details
-
CheckPasswordResult
public CheckPasswordResult()Builds an empty password check result.
-
-
Method Details
-
getPasswordRules
Gets a list containing the result of the check of thepassword rulesfor the specified password.- Returns:
- A list containing the result of the check of the
password rulesfor the specified password
-
getOperandReference
Description copied from interface:OperationResultGets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.- Specified by:
getOperandReferencein interfaceOperationResult- Returns:
- The operand reference of the operation result
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
data- The character data to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-