/api/space/application-management/platform/settings/password
The following operations are supported on this resource:
GET /api/space/application-management/platform/settings/password (v1)
This API retrieves password specific "application configuration settings".
Access Control
The following capabilities are required to access this API:
"ModifyApplicationSetting"
Example Usage
GET /api/space/application-management/platform/settings/passwordContent Types
-
Produces content types:
application/vnd.net.juniper.space.application-management.platform.settings.password+xml;version=1
application/vnd.net.juniper.space.application-management.platform.settings.password+json;version=1 -
Sample Output XML:
<password uri="/api/space/application-management/applications/platform/settings/password">
<Minimum-number-of-characters>6</Minimum-number-of-characters>
<Number-of-previous-passwords-cannot-be-reused>6</Number-of-previous-passwords-cannot-be-reused>
<Number-of-unsuccessful-login-attempts>4</Number-of-unsuccessful-login-attempts>
<Time-interval-for-lockout-in-hours>12</Time-interval-for-lockout-in-hours>
<Time-interval-for-password-expiry-in-months>3</Time-interval-for-password-expiry-in-months>
<Time-interval-for-password-expiry-notification-in-months>1</Time-interval-for-password-expiry-notification-in-months>
<At-least-one-lowercase-character>true</At-least-one-lowercase-character>
<At-least-one-uppercase-character>false</At-least-one-uppercase-character>
<At-least-one-number-not-in-the-last-position>true</At-least-one-number-not-in-the-last-position>
<At-least-one-special-character-not-in-the-last-position>false</At-least-one-special-character-not-in-the-last-position>
<Not-repeat-of-the-user-ID>true</Not-repeat-of-the-user-ID>
<Not-reverse-of-the-user-ID>true</Not-reverse-of-the-user-ID>
<No-more-than-three-repetitive-characters>true</No-more-than-three-repetitive-characters>
</password> -
Sample Output JSON:
{"password":
{"@uri":"/api/space/application-management/platform/settings/password",
"Minimum-number-of-characters":6,
"Number-of-previous-passwords-cannot-be-reused":6,
"Number-of-unsuccessful-login-attempts":4,
"Time-interval-for-lockout-in-hours":12,
"Time-interval-for-password-expiry-in-months":3,
"Time-interval-for-password-expiry-notification-in-months":1,
"At-least-one-lowercase-character":true,
"At-least-one-uppercase-character":false,
"At-least-one-number-not-in-the-last-position":true,
"At-least-one-special-character-not-in-the-last-position":false,
"Not-repeat-of-the-user-ID":true,
"Not-reverse-of-the-user-ID":true,
"No-more-than-three-repetitive-characters":true
}
}
PUT /api/space/application-management/platform/settings/password (v1)
This API updates password specific "application configuration settings".
Access Control
The following capabilities are required to access this API:
"ModifyApplicationSetting"
Example Usage
PUT /api/space/application-management/platform/settings/passwordContent Types
-
Consumes content types:
application/vnd.net.juniper.space.application-management.platform.settings.password+xml;version=1;charset=UTF-8
application/vnd.net.juniper.space.application-management.platform.settings.password+json;version=1;charset=UTF-8 -
Produces content types:
application/vnd.net.juniper.space.application-management.platform.settings.password+xml;version=1
application/vnd.net.juniper.space.application-management.platform.settings.password+json;version=1 -
Sample Input XML:
<password uri="/api/space/application-management/applications/platform/settings/password">
<Minimum-number-of-characters>6</Minimum-number-of-characters>
<Number-of-previous-passwords-cannot-be-reused>6</Number-of-previous-passwords-cannot-be-reused>
<Number-of-unsuccessful-login-attempts>4</Number-of-unsuccessful-login-attempts>
<Time-interval-for-lockout-in-hours>12</Time-interval-for-lockout-in-hours>
<Time-interval-for-password-expiry-in-months>3</Time-interval-for-password-expiry-in-months>
<Time-interval-for-password-expiry-notification-in-months>1</Time-interval-for-password-expiry-notification-in-months>
<At-least-one-lowercase-character>true</At-least-one-lowercase-character>
<At-least-one-uppercase-character>false</At-least-one-uppercase-character>
<At-least-one-number-not-in-the-last-position>true</At-least-one-number-not-in-the-last-position>
<At-least-one-special-character-not-in-the-last-position>false</At-least-one-special-character-not-in-the-last-position>
<Not-repeat-of-the-user-ID>true</Not-repeat-of-the-user-ID>
<Not-reverse-of-the-user-ID>true</Not-reverse-of-the-user-ID>
<No-more-than-three-repetitive-characters>true</No-more-than-three-repetitive-characters>
</password> -
Sample Output XML:
<password uri="/api/space/application-management/applications/platform/settings/password">
<Minimum-number-of-characters>6</Minimum-number-of-characters>
<Number-of-previous-passwords-cannot-be-reused>6</Number-of-previous-passwords-cannot-be-reused>
<Number-of-unsuccessful-login-attempts>4</Number-of-unsuccessful-login-attempts>
<Time-interval-for-lockout-in-hours>12</Time-interval-for-lockout-in-hours>
<Time-interval-for-password-expiry-in-months>3</Time-interval-for-password-expiry-in-months>
<Time-interval-for-password-expiry-notification-in-months>1</Time-interval-for-password-expiry-notification-in-months>
<At-least-one-lowercase-character>true</At-least-one-lowercase-character>
<At-least-one-uppercase-character>false</At-least-one-uppercase-character>
<At-least-one-number-not-in-the-last-position>true</At-least-one-number-not-in-the-last-position>
<At-least-one-special-character-not-in-the-last-position>false</At-least-one-special-character-not-in-the-last-position>
<Not-repeat-of-the-user-ID>true</Not-repeat-of-the-user-ID>
<Not-reverse-of-the-user-ID>true</Not-reverse-of-the-user-ID>
<No-more-than-three-repetitive-characters>true</No-more-than-three-repetitive-characters>
</password> -
Sample Input JSON:
{"password":
{"@uri":"/api/space/application-management/platform/settings/password",
"Minimum-number-of-characters":6,
"Number-of-previous-passwords-cannot-be-reused":6,
"Number-of-unsuccessful-login-attempts":4,
"Time-interval-for-lockout-in-hours":12,
"Time-interval-for-password-expiryin-months":3,
"Time-interval-for-password-expiry-notification-in-months":1,
"At-least-one-lowercase-character":true,
"At-least-one-uppercase-character":false,
"At-least-one-number-not-in-the-last-position":true,
"At-least-one-special-character-not-in-the-last-position":false,
"Not-repeat-of-the-user-ID":true,
"Not-reverse-of-the-user-ID":true,
"No-more-than-three-repetitive-characters":true
}
} -
Sample Output JSON:
{"password":
{"@uri":"/api/space/application-management/platform/settings/password",
"Minimum-number-of-characters":6,
"Number-of-previous-passwords-cannot-be-reused":6,
"Number-of-unsuccessful-login-attempts":4,
"Time-interval-for-lockout-in-hours":12,
"Time-interval-for-password-expiry-in-months":3,
"Time-interval-for-password-expiry-notification-in-months":1,
"At-least-one-lowercase-character":true,
"At-least-one-uppercase-character":false,
"At-least-one-number-not-in-the-last-position":true,
"At-least-one-special-character-not-in-the-last-position":false,
"Not-repeat-of-the-user-ID":true,
"Not-reverse-of-the-user-ID":true,
"No-more-than-three-repetitive-characters":true
}
}