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.007s passed
testCreateToken 0.007s passed
testCreateTokenThrowsExceptionWhenNoUniqueIdIsProvided 0.005s passed
testInitializeSetsExpirationLimit 0.005s passed
testInitializeSetsPrivateKey 0.006s passed
testInitializeSetsPublicKey 0.004s passed
testInitializeSetsSharedKey 0.004s passed
testValidateTokenBytes 0.038s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@a7ebf44e
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.227 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.138 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@a7ebf44e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@a7ebf44e
    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@866d18a1
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.227 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.138 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@866d18a1
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@866d18a1
    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@25adff64
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.227 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.138 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@25adff64
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@25adff64
    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@69e28b4
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.227 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.138 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@69e28b4
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@69e28b4
    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@549146f6
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.227 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.138 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@549146f6
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@549146f6
    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@20d5ed25
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.227 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.138 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@20d5ed25
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@20d5ed25
    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@de782fdd
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.227 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.138 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@de782fdd
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@de782fdd
    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@e602b803
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.227 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.138 seconds. LTPA key file: ${server.output.dir}/resources/security/ignored
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
[AUDIT   ] CWWKS4107A: The LTPA keys file or configuration were modified. The LTPA keys will be reloaded from the file: /path/to/another/file
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@e602b803
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@e602b803
    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.