Class com.ibm.ws.security.token.ltpa.internal.LTPAConfigurationImplTest

31

tests

0

failures

0

ignored

0.173s

duration

100%

successful

Tests

Test Duration Result
configReady 0.007s passed
deactivateUnregister 0.064s passed
fileMonitorRegistration_monitorInterval 0.006s passed
fileMonitorRegistration_monitorValidationKeysDir 0.005s passed
fileMonitorRegistration_updateTriggerDisabled 0.003s passed
fileMonitorRegistration_updateTriggerMbean 0.003s passed
getFirstValidationKeyFileName 0.002s passed
getFirstValidationKeyPassword 0.002s passed
getFirstValidationKeyValidUntilDate 0.001s passed
getKeyFile 0.002s passed
getKeyPassword 0.002s passed
getLTPAKeyInfoManager 0.002s passed
getMonitorInterval 0.002s passed
getMonitorValidationKeysDir 0.001s passed
getTokenExpiration 0.002s passed
getTokenFactory 0.002s passed
getUpdateTrigger 0.002s passed
getValidationKeys 0.002s passed
keyFileFromConfigDirWhenDefaultLocationNotOverridden 0.018s passed
keyFileFromOutputDirWhenDefaultLocationNotOverriddenAndKeysFileNotInConfigDir 0.003s passed
maskKeysPasswords_replacesPasswordWithMask 0.002s passed
modified 0.003s passed
modified_fileAndMonitorIntervalChanged_unregistersListenerAndCreatesKeys 0.003s passed
modified_fileAndMonitorValidationKeysDirChanged_unregistersListenerAndCreatesKeys 0.004s passed
modified_fileChanged_monitorIntervalSetToZero_unregistersListenerAndCreatesKeys 0.003s passed
modified_monitorIntervalSame_fileChanged_unregistersListenerAndCreatesKeys 0.004s passed
modified_monitorIntervalSetToZero_everythingElseTheSame_unregistersListener 0.003s passed
modified_monitorIntervalSet_everythingElseTheSame_keysNotReloaded 0.004s passed
modified_monitorValidationKeysDirSame_fileChanged_unregistersListenerAndCreatesKeys 0.007s passed
modified_monitorValidationKeysDirSet_everythingElseTheSame_keysReloaded 0.006s passed
modified_passwordChanged_doNotUnregisterOrCreateKeys 0.003s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@6fd642b2
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.512 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.369 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@6fd642b2
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@6fd642b2
    TrConfigZapper.zapTrConfig : finished invoke init()
[WARNING ] CWWKS4113W: The LTPA updateTrigger attribute is set to polled, monitorValidationKeysDir is set to true, but monitorInterval is set to 0. No dynamic reload occurs when LTPA key files are modified.
[AUDIT   ] CWWKS4107A: The LTPA configuration is modified. The following files are modified: /path/to/another/file. All the LTPA keys in the LTPA configuration are reloaded.
[AUDIT   ] CWWKS4107A: The LTPA configuration is modified. The following files are modified: /path/to/file. All the LTPA keys in the LTPA configuration are reloaded.
[WARNING ] CWWKS4113W: The LTPA updateTrigger attribute is set to polled, monitorValidationKeysDir is set to true, but monitorInterval is set to 0. No dynamic reload occurs when LTPA key files are modified.
[AUDIT   ] CWWKS4107A: The LTPA configuration is modified. The following files are modified: /path/to/file. All the LTPA keys in the LTPA configuration are reloaded.
[AUDIT   ] CWWKS4107A: The LTPA configuration is modified. The following files are modified: /path/to/another/file. All the LTPA keys in the LTPA configuration are reloaded.
[WARNING ] CWWKS4113W: The LTPA updateTrigger attribute is set to polled, monitorValidationKeysDir is set to true, but monitorInterval is set to 0. No dynamic reload occurs when LTPA key files are modified.
[WARNING ] CWWKS4113W: The LTPA updateTrigger attribute is set to polled, monitorValidationKeysDir is set to true, but monitorInterval is set to 0. No dynamic reload occurs when LTPA key files are modified.
[AUDIT   ] CWWKS4107A: The LTPA configuration is modified. The following files are modified: /path/to/another/file. All the LTPA keys in the LTPA configuration are reloaded.
[AUDIT   ] CWWKS4107A: The LTPA configuration is modified. The following files are modified: /path/to/another/file. All the LTPA keys in the LTPA configuration are reloaded.
[WARNING ] CWWKS4113W: The LTPA updateTrigger attribute is set to polled, monitorValidationKeysDir is set to true, but monitorInterval is set to 0. No dynamic reload occurs when LTPA key files are modified.
[AUDIT   ] CWWKS4107A: The LTPA configuration is modified. The following files are modified: /path/to/another/file. All the LTPA keys in the LTPA configuration are reloaded.
[AUDIT   ] CWWKS4107A: The LTPA configuration is modified. The following files are modified: /path/to/another/file. All the LTPA keys in the LTPA configuration are reloaded.
[AUDIT   ] CWWKS4107A: The LTPA configuration is modified. The following files are modified: /path/to/file. All the LTPA keys in the LTPA configuration are reloaded.
[AUDIT   ] CWWKS4107A: The LTPA configuration is modified. The following files are modified: /path/to/file. All the LTPA keys in the LTPA configuration are reloaded.

Standard error

[ERROR   ] CWWKS4102E: The system cannot create the LTPA token because the required com.ibm.websphere.ltpa.3DESKey property is missing.
[ERROR   ] CWWKS4102E: The system cannot create the LTPA token because the required com.ibm.websphere.ltpa.PrivateKey property is missing.
[ERROR   ] CWWKS4102E: The system cannot create the LTPA token because the required com.ibm.websphere.ltpa.PublicKey property is missing.