password-attributes

Resource URIs

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.

Parameters

max-lockout-duration
Specifies the maximum number of minutes after which the user account is unlocked. The value can range from 0 through 99999. The default value is 0.
admin-lockout
Enables lockout for admin role.
min-length
Specifies the minimum length of the password. The value can range from 8 through 32 characters. The default length of the password is 8 characters.
max-retry
Specifies the maximum number of login retries before which the user account is locked. The value can range from 0 to 16. The default number of login retries in 0.
character-restriction
Configures restriction on various types of characters.

Usage Guidelines

GET, PATCH, POST, PUT, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

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>

URI

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

URI

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