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

8

tests

0

failures

0

ignored

0.071s

duration

100%

successful

Tests

Test Duration Result
testConstructor 0.006s passed
testCreateToken 0.006s passed
testCreateTokenThrowsExceptionWhenNoUniqueIdIsProvided 0.005s passed
testInitializeSetsExpirationLimit 0.005s passed
testInitializeSetsPrivateKey 0.004s passed
testInitializeSetsPublicKey 0.004s passed
testInitializeSetsSharedKey 0.004s passed
testValidateTokenBytes 0.037s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@83e0fe48
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.259 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.120 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[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/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.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@83e0fe48
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@83e0fe48
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@901337dd
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.259 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.120 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[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/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.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@901337dd
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@901337dd
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@26324d4f
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.259 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.120 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[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/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.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@26324d4f
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@26324d4f
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@35e272f7
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.259 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.120 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[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/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.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@35e272f7
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@35e272f7
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@2e8f56dd
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.259 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.120 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[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/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.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@2e8f56dd
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@2e8f56dd
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@6508646e
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.259 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.120 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[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/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.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@6508646e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@6508646e
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@dee35e0a
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.259 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.120 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[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/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.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@dee35e0a
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@dee35e0a
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@bfe5ad17
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.259 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.120 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[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/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.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@bfe5ad17
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@bfe5ad17
    TrConfigZapper.zapTrConfig : finished invoke init()

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.
[ERROR   ] CWWKS4106E: LTPA configuration error. Unable to create or read LTPA key file: testFileName
[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.
[ERROR   ] CWWKS4106E: LTPA configuration error. Unable to create or read LTPA key file: testFileName
[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.
[ERROR   ] CWWKS4106E: LTPA configuration error. Unable to create or read LTPA key file: testFileName
[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.
[ERROR   ] CWWKS4106E: LTPA configuration error. Unable to create or read LTPA key file: testFileName
[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.
[ERROR   ] CWWKS4106E: LTPA configuration error. Unable to create or read LTPA key file: testFileName
[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.
[ERROR   ] CWWKS4106E: LTPA configuration error. Unable to create or read LTPA key file: testFileName
[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.
[ERROR   ] CWWKS4106E: LTPA configuration error. Unable to create or read LTPA key file: testFileName
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.
[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.
[ERROR   ] CWWKS4106E: LTPA configuration error. Unable to create or read LTPA key file: testFileName
[ERROR   ] CWWKS4101E: There is no unique ID with which to create the token.