Retrieval and Setting of Authentication Lock Duration

Retrieves and sets the duration for authentication lock.

Syntax

Integer getAuthenticationLockDuration(String securityConfiguration) throws SUPAdminException;

void setAuthenticationLockDuration(String securityConfiguration, Integer duration) throws SUPAdminException;

Returns

If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.

Examples

  • Retrieve or set authentication lock duration
    Integer duration = supCluster.getAuthenticationLockDuration("admin");
    supCluster.setAuthenticationLockDuration("admin", 3000);