public class IPAuthorizationServiceDescriptor extends ServiceDescriptor
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ATTEMPTS |
static long |
DEFAULT_TIMEOUT |
| Constructor and Description |
|---|
IPAuthorizationServiceDescriptor()
This constructor is used by serialization sub-system
and is not intended to use directly in client code.
|
IPAuthorizationServiceDescriptor(int maxAttempts,
long maxTimeout,
long restoringTimeout)
Creates a new descriptor instance.
|
IPAuthorizationServiceDescriptor(IPAuthorizationServiceDescriptor that) |
| Modifier and Type | Method and Description |
|---|---|
com.jscape.inet.mftserver.operation.connection.AttemptLimit |
attemptLimit() |
Configuration |
copy() |
int |
getMaxAttempts()
Returns max authentication attempts value.
|
long |
getMaxTimeout()
Returns authentication attempts timeout.
|
long |
getRestoringTimeout()
Returns account restoring timeout.
|
void |
setMaxAttempts(int value)
Sets max authentication attempts value.
|
void |
setMaxTimeout(long value)
Sets authentication attempts timeout.
|
void |
setRestoringTimeout(long value)
Sets account restoring timeout.
|
java.lang.String |
toString() |
getVersion, setVersionpublic static final int DEFAULT_ATTEMPTS
public static final long DEFAULT_TIMEOUT
public IPAuthorizationServiceDescriptor(int maxAttempts,
long maxTimeout,
long restoringTimeout)
maxAttempts - max authentication attemptsmaxTimeout - authentication timeout in msrestoringTimeout - restoring timeout in mspublic IPAuthorizationServiceDescriptor()
public IPAuthorizationServiceDescriptor(IPAuthorizationServiceDescriptor that)
public int getMaxAttempts()
public void setMaxAttempts(int value)
value - max authentication attempts valuepublic long getMaxTimeout()
public void setMaxTimeout(long value)
value - authentication attempts timeout in mspublic long getRestoringTimeout()
public void setRestoringTimeout(long value)
value - account restoring timeut in mspublic Configuration copy()
copy in class Configurationpublic com.jscape.inet.mftserver.operation.connection.AttemptLimit attemptLimit()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2023. Redwood Software Inc. All rights reserved.