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

8

tests

0

failures

0

ignored

0.074s

duration

100%

successful

Tests

Test Duration Result
testConstructor 0.004s passed
testCreateToken 0.009s passed
testCreateTokenThrowsExceptionWhenNoUniqueIdIsProvided 0.008s passed
testInitializeSetsExpirationLimit 0.004s passed
testInitializeSetsPrivateKey 0.004s passed
testInitializeSetsPublicKey 0.004s passed
testInitializeSetsSharedKey 0.007s passed
testValidateTokenBytes 0.034s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@5d3e7c39
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.200 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 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@5d3e7c39
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@5d3e7c39
    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@16748f68
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.200 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 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@16748f68
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@16748f68
    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@8b729adb
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.200 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 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@8b729adb
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@8b729adb
    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@c91f100c
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.200 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 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@c91f100c
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@c91f100c
    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@f398d6c3
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.200 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 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@f398d6c3
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@f398d6c3
    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@aca875da
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.200 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 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@aca875da
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@aca875da
    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@9428bf9e
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.200 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 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@9428bf9e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@9428bf9e
    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@fa8e7d3d
[AUDIT   ] CWWKS4104A: LTPA keys created in 0.200 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 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@fa8e7d3d
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@fa8e7d3d
    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.