com.ibm.mfp.server.security.external.checks.impl
Class ExternalizableSecurityCheckConfig
- java.lang.Object
-
- com.ibm.mfp.server.security.external.checks.impl.SecurityCheckConfigurationBase
-
- com.ibm.mfp.server.security.external.checks.impl.ExternalizableSecurityCheckConfig
-
- All Implemented Interfaces:
- SecurityCheckConfiguration
public class ExternalizableSecurityCheckConfig extends SecurityCheckConfigurationBase
Defines inactivity timeout property Default value is 0, which means inactivity timeout disabled
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
INACTIVITY_TIMEOUT_SEC_CONFIG
int
inactivityTimeoutSec
-
Fields inherited from class com.ibm.mfp.server.security.external.checks.impl.SecurityCheckConfigurationBase
errors, info, warnings
-
-
Constructor Summary
Constructors Constructor and Description ExternalizableSecurityCheckConfig(java.util.Properties properties)
-
Method Summary
Methods Modifier and Type Method and Description void
validateExpirationLimit(int expirationLimitSec)
Make sure the configuration values representing expiration or inactivity don't exceed the given limit.
The implementation can use this method to implement other time-related validations, for example that inactivity is less than expiration, etc.
The implementation may decide to fix the discovered problems by replacing too large values with the limit, and report a warning.-
Methods inherited from class com.ibm.mfp.server.security.external.checks.impl.SecurityCheckConfigurationBase
addMessage, getErrors, getInfo, getIntProperty, getStringProperty, getWarnings
-
-
-
-
Field Detail
-
INACTIVITY_TIMEOUT_SEC_CONFIG
public static final java.lang.String INACTIVITY_TIMEOUT_SEC_CONFIG
- See Also:
- Constant Field Values
-
inactivityTimeoutSec
public int inactivityTimeoutSec
-
-
Constructor Detail
-
ExternalizableSecurityCheckConfig
public ExternalizableSecurityCheckConfig(java.util.Properties properties)
-
-
Method Detail
-
validateExpirationLimit
public void validateExpirationLimit(int expirationLimitSec)
Description copied from interface:SecurityCheckConfiguration
Make sure the configuration values representing expiration or inactivity don't exceed the given limit.
The implementation can use this method to implement other time-related validations, for example that inactivity is less than expiration, etc.
The implementation may decide to fix the discovered problems by replacing too large values with the limit, and report a warning.- Parameters:
expirationLimitSec
- - max time the security check state can be preserved
-
-