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

8

tests

0

failures

0

ignored

0.076s

duration

100%

successful

Tests

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

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@a3580aaa
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.245 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.044 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@a3580aaa
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@a3580aaa
    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@186e5c5b
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.245 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.044 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@186e5c5b
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@186e5c5b
    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@d4fe6ec9
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.245 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.044 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@d4fe6ec9
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@d4fe6ec9
    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@7d6f7a24
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.245 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.044 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@7d6f7a24
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@7d6f7a24
    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@1535786a
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.245 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.044 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@1535786a
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@1535786a
    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@ad9da3b
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.245 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.044 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@ad9da3b
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@ad9da3b
    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@3c666046
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.245 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.044 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@3c666046
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@3c666046
    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@9a8a53de
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.245 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.044 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
[AUDIT   ] CWWKS4107A: The following LTPA keys files are either created, deleted, or modified: /path/to/another/file, or the LTPA configuration was modified. All the LTPA keys are reloaded.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@9a8a53de
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@9a8a53de
    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.