2 operation(s). Part of the API index.
Call these as client.<service>.<method>(...). <service> is the client field for this
group — the README lists the field name for every service.
These pages group operations the way the OpenAPI specification tags them, which
is not always one field per page.
GET /v2/manage/password-policies
Retrieve Password policy
Retrieves the Password policy settings for a specific Tenant.
public static void callGetPasswordPolicy(LoginRadiusClient client) {
try {
var response = client.passwordPolicy.getPasswordPolicy();
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}PasswordPolicy
PUT /v2/manage/password-policies
Update Password policy
Updates the Password policy settings for a specific Tenant.
public static void callUpdatePasswordPolicy(LoginRadiusClient client) {
PasswordPolicy passwordPolicy = new PasswordPolicy().dictionaryPasswordValidation(true).profileDataPasswordValidation(true).profileDataPasswordExactMatch(true); //Required
try {
var response = client.passwordPolicy.updatePasswordPolicy(passwordPolicy);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}PasswordPolicy as application/json.
PasswordPolicy