Configures, modifies, or retrieves user password attributes.
URI | Description |
---|---|
<base_URI>/config/running/password-attributes | System-wide user password attributes. |
<base_URI>/config/running/password-attributes/character-restriction | Restriction on various types of characters. Refer to password-attributes/character-restriction for information. |
GET, PATCH, POST, PUT, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/password-attributes
None
<password-attributes xmlns="urn:brocade.com:mgmt:brocade-aaa" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/password-attributes"> <max-lockout-duration>12</max-lockout-duration> <min-length>9</min-length> <max-retry>3</max-retry> <character-restriction y:self="/rest/config/running/password-attributes/character-restriction"/> <admin-lockout>true</admin-lockout> </password-attributes>
The following is an example of the PUT operation to configure the password attributes.
http://host:80/rest/config/running/password-attributes
<password-attributes> <max-lockout-duration>10</max-lockout-duration> <min-length>11</min-length> <max-retry>5</max-retry> </password-attributes>
None
The following is an example of the DELETE operation to remove the maximum retry value.
http://host:80/rest/config/running/password-attributes/max-retry
None
None