LocalUserNotAllowed Class

public final class LocalUserNotAllowed
extends AllowlistCustomAlertRule

Login by a local user that isn't allowed. Allow list consists of login names to allow.

Constructor Summary

Constructor Description
LocalUserNotAllowed()

Creates an instance of LocalUserNotAllowed class.

Method Summary

Modifier and Type Method and Description
void validate()

Validates the instance.

LocalUserNotAllowed withAllowlistValues(List<String> allowlistValues)

Set the allowlistValues property: The values to allow.

LocalUserNotAllowed withIsEnabled(boolean isEnabled)

Set the isEnabled property: Status of the custom alert.

Methods inherited from AllowlistCustomAlertRule

Methods inherited from CustomAlertRule

Methods inherited from ListCustomAlertRule

Methods inherited from java.lang.Object

Constructor Details

LocalUserNotAllowed

public LocalUserNotAllowed()

Creates an instance of LocalUserNotAllowed class.

Method Details

validate

public void validate()

Validates the instance.

Overrides:

LocalUserNotAllowed.validate()

withAllowlistValues

public LocalUserNotAllowed withAllowlistValues(List allowlistValues)

Set the allowlistValues property: The values to allow. The format of the values depends on the rule type.

Overrides:

LocalUserNotAllowed.withAllowlistValues(List<String> allowlistValues)

Parameters:

allowlistValues

withIsEnabled

public LocalUserNotAllowed withIsEnabled(boolean isEnabled)

Set the isEnabled property: Status of the custom alert.

Overrides:

LocalUserNotAllowed.withIsEnabled(boolean isEnabled)

Parameters:

isEnabled

Applies to