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.
<base_URI>/config/running/password-attributes/expiry-alert-level Alert configuration of user account password expiry.

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.
info number-of-days
Configures the first level of password expiry alert. This is triggered on the configured <number-of-days> before the day the password expires. This alarm is generated only once.
minor number-of-days
Configures the second level of password expiry alert. This is triggered on the configured <number-of-days> before the day the password expires. This alarm is generated only once.
major number-of-days
Configures the penultimate level of password expiry alert. This is triggered on the configured <number-of-days> before the day the password expires. This alarm is generated only once.
critical number-of-days
Configures the final level of password expiry alert. This is triggered on the configured <number-of-days> before the day the password expires. This alarm is generated only once.

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

URI

The following is an example of configuring the various user account expiry alarm levels.

http://host:80/rest/config/running/password-attributes/expiry-alert-level

<expiry-alert-level>
	<info>15</info>
	<minor>10</minor>
	<major>5</major>
	<critical>2</critical>
</expiry-alert-level>

None