Class com.ibm.ws.security.social.tai.TAIEncryptionUtilsTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
aesDecrypt_emptyToken | 0.002s | passed |
aesDecrypt_nullToken | 0.002s | passed |
aesEncrypt | 0.002s | passed |
aesEncrypt_emptyToken | 0.407s | passed |
aesEncrypt_nullToken | 0.002s | passed |
bytesToHexString_empty | 0.002s | passed |
bytesToHexString_multiByteChars | 0.002s | passed |
bytesToHexString_null | 0.001s | passed |
bytesToHexString_singleByteChars | 0.002s | passed |
decryptAccessTokenUsingAes_nullToken | 0.002s | passed |
decryptAccessTokenUsingAes_throwsException | 0.002s | passed |
decryptAccessTokenUsingRsa_nullToken | 0.003s | passed |
decryptAccessTokenUsingRsa_throwsException | 0.002s | passed |
encryptAccessTokenUsingAes_nullToken | 0.002s | passed |
encryptAccessTokenUsingAes_throwsException | 0.003s | passed |
encryptAccessTokenUsingRsa_nullToken | 0.003s | passed |
encryptAccessTokenUsingRsa_throwsException | 0.003s | passed |
endToEndEncryptionAndDecryption_AES | 0.003s | passed |
endToEndHexToBytes | 0.001s | passed |
getBytes_emptyInput | 0.003s | passed |
getBytes_largeLength | 0.003s | passed |
getBytes_negativeLength | 0.003s | passed |
getBytes_nullInput | 0.001s | passed |
getBytes_smallLength | 0.003s | passed |
getBytes_zeroLength | 0.002s | passed |
getClientSecretHash_emptyClientSecret | 0.002s | passed |
getClientSecretHash_nonEmptyClientSecret | 0.002s | passed |
getClientSecretHash_nullClientSecret | 0.002s | passed |
getDecryptedAccessToken | 0.003s | passed |
getDecryptedAccessTokenUsingAlgorithm_AES_nullToken | 0.002s | passed |
getDecryptedAccessTokenUsingAlgorithm_AES_throwsException | 0.003s | passed |
getDecryptedAccessTokenUsingAlgorithm_RSA_nullToken | 0.002s | passed |
getDecryptedAccessTokenUsingAlgorithm_RSA_throwsException | 0.004s | passed |
getDecryptedAccessTokenUsingAlgorithm_unknownEncryptionAlg | 0.001s | passed |
getDecryptedAccessToken_exceptionThrown | 0.002s | passed |
getDecryptedAccessToken_nullToken | 0.002s | passed |
getEncryptedAccessToken | 0.003s | passed |
getEncryptedAccessTokenUsingAlgorithm_AES_nullToken | 0.002s | passed |
getEncryptedAccessTokenUsingAlgorithm_AES_throwsException | 0.003s | passed |
getEncryptedAccessTokenUsingAlgorithm_RSA_nullToken | 0.002s | passed |
getEncryptedAccessTokenUsingAlgorithm_RSA_throwsException | 0.003s | passed |
getEncryptedAccessTokenUsingAlgorithm_unknownEncryptionAlg | 0.002s | passed |
getEncryptedAccessToken_exceptionThrown | 0.008s | passed |
getEncryptedAccessToken_nullToken | 0.708s | passed |
getIvSpec_emptyClientSecret | 0.185s | passed |
getIvSpec_nonEmptyClientSecret | 0.182s | passed |
getIvSpec_nullClientSecret | 0.211s | passed |
getMessageDigest_nullAlg | 0.002s | passed |
getMessageDigest_sha256 | 0.002s | passed |
getMessageDigest_unknownAlg | 0.011s | passed |
getSecretKey_emptyClientSecret | 0.228s | passed |
getSecretKey_nonEmptyClientSecret | 0.259s | passed |
getSecretKey_nullClientSecret | 0.213s | passed |
hexStringToBytes_empty | 0.002s | passed |
hexStringToBytes_notHexadecimal | 0.001s | passed |
hexStringToBytes_null | 0.001s | passed |
hexStringToBytes_singleChar | 0.002s | passed |
rsaDecrypt_nullToken | 0.002s | passed |
rsaEncrypt | 0.006s | passed |
rsaEncrypt_emptyToken | 0.047s | passed |
rsaEncrypt_nullToken | 0.001s | passed |
Standard output
[WARNING ] CWWKS5416W: The outgoing request to [https://www.example.com/oauth/authorize] might not succeed because the [client_id] parameter is missing or empty. [WARNING ] CWWKS5460W: There are no user API configurations specified for the social login configuration [myUniqueId]. SharedOutputManager captured the following: -- System.out ------------------------------------------------- -- System.err ------------------------------------------------- -- Messages ------------------------------------------------- -- Trace -------------------------------------------------
Standard error
[ERROR ] CWWKS5447E: The request cannot be redirected to the authorization endpoint that is configured for the social login configuration [facebookLogin]. This is an exception message. [ERROR ] CWWKS5447E: The request cannot be redirected to the authorization endpoint that is configured for the social login configuration [facebookLogin]. This is an exception message. [ERROR ] CWWKS5454E: The social login feature cannot create a subject for the user with the provided authorization code using social login configuration [facebookLogin]. This is an exception message. [ERROR ] CWWKS5450E: The request cannot invoke the token endpoint because an error occurred while retrieving SSL information for the social login configuration [myUniqueId]. This is an exception message. [ERROR ] CWWKS5451E: The social login feature encountered a problem while obtaining token information from the token endpoint that is configured for the social login configuration [myUniqueId]. This is an exception message. [ERROR ] CWWKS5452E: The social login feature cannot authenticate the user because the response from the user API that is configured for the social login configuration [myUniqueId] is null or empty. [ERROR ] CWWKS5452E: The social login feature cannot authenticate the user because the response from the user API that is configured for the social login configuration [myUniqueId] is null or empty. [ERROR ] CWWKS5453E: The social login feature encountered a problem while creating a JSON Web Token (JWT) from the provided access token for the social login configuration [myUniqueId]. This is an exception message. [ERROR ] CWWKS5453E: The social login feature encountered a problem while creating a JSON Web Token (JWT) from the provided access token for the social login configuration [myUniqueId]. This is an exception message. [ERROR ] CWWKS5453E: The social login feature encountered a problem while creating a JSON Web Token (JWT) from the provided access token for the social login configuration [myUniqueId]. This is an exception message. [ERROR ] [ERROR ] [ERROR ] This is an exception message. [ERROR ] CWWKS5407I: The Social Login Version 1.0 endpoint service is activated. [ERROR ] CWWKS5488W: The provided value [Some insert] contains at least one character that cannot be included in a valid URI.