All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----semper.access.Capability
|
+----semper.access.TimeOutCapability
Implementation of the timeout capability. Timeout capabilities are only enabled for a limited amount of time (their timeout), after which they can be enabled by the user without authentication.
public TimeOutCapability(String name,
String desc,
int timeout)
When a capability of this type is created, its timeout is obtained from the preference manager, group: Capability-timeouts and field: the name of this capability. The timeout parameter specified is used to create and initialize this preference in case it does not exist.
public final int getTimeout()
public String getInfo()
Useful for logging.
public final boolean verify()
Check if the allocated time interval has expires and return true if it has not expired.
All Packages Class Hierarchy This Package Previous Next Index