|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mft.management.descriptors.AccountAuthorizationServiceDescriptor
public class AccountAuthorizationServiceDescriptor
Account authorization service descriptor. The service described by this descriptor takes responsibility for blocking account if too many invalid authentication attempts appear.
Field Summary | |
---|---|
static int |
DEFAULT_ATTEMPTS
|
static long |
DEFAULT_TIMEOUT
|
Constructor Summary | |
---|---|
AccountAuthorizationServiceDescriptor()
This constructor is used by serialization sub-system and is not intended to use directly in client code. |
|
AccountAuthorizationServiceDescriptor(int maxAttempts,
long maxTimeout,
long restoringTimeout)
Creates a new descriptor instance. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_ATTEMPTS
public static final long DEFAULT_TIMEOUT
Constructor Detail |
---|
public AccountAuthorizationServiceDescriptor(int maxAttempts, long maxTimeout, long restoringTimeout)
maxAttempts
- max authentication attemptsmaxTimeout
- authentication timeout in msrestoringTimeout
- restoring timeout in mspublic AccountAuthorizationServiceDescriptor()
Method Detail |
---|
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 java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |