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

8

tests

0

failures

0

ignored

0.078s

duration

100%

successful

Tests

Test Duration Result
testConstructor 0.005s passed
testCreateToken 0.006s passed
testCreateTokenThrowsExceptionWhenNoUniqueIdIsProvided 0.006s passed
testInitializeSetsExpirationLimit 0.006s passed
testInitializeSetsPrivateKey 0.004s passed
testInitializeSetsPublicKey 0.009s 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@ca3d8fa2
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.281 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.095 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@ca3d8fa2
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@ca3d8fa2
    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@4e388906
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.281 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.095 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@4e388906
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@4e388906
    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@6ed5c415
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.281 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.095 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@6ed5c415
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@6ed5c415
    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@302e4058
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.281 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.095 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@302e4058
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@302e4058
    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@bd4bba4e
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.281 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.095 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@bd4bba4e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@bd4bba4e
    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@a67a9b1
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.281 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.095 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@a67a9b1
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@a67a9b1
    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@70c77c67
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.281 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.095 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@70c77c67
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@70c77c67
    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@3bbcb981
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.281 seconds. LTPA key file: ${server.config.dir}/resources/security/ignored
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.095 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@3bbcb981
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@3bbcb981
    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.