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

8

tests

0

failures

0

ignored

0.068s

duration

100%

successful

Tests

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

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@c87a0ee5
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.411 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.058 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@c87a0ee5
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@c87a0ee5
    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@24c0c5da
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.411 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.058 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@24c0c5da
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@24c0c5da
    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@833dcf27
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.411 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.058 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@833dcf27
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@833dcf27
    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@ab4cff8e
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.411 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.058 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@ab4cff8e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@ab4cff8e
    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@b582a38e
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.411 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.058 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@b582a38e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b582a38e
    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@f439db9b
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.411 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.058 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@f439db9b
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@f439db9b
    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@21f90c84
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.411 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.058 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@21f90c84
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@21f90c84
    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@ffd8e9a3
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.411 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.058 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@ffd8e9a3
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@ffd8e9a3
    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.