Package com.test.security
Class DigestSuiteIT
java.lang.Object
com.test.AbstractTestSuite
com.test.vendor.mysql.ConcreteMySqlSuiteIT
com.test.vendor.mysql.ConcreteMySqlErrorSuiteIT
com.test.security.DigestSuiteIT
-
Field Summary
Fields inherited from class com.test.AbstractTestSuite
injectionModel, isSetupDone, jdbcColumnForColumnName, jdbcColumnForDatabaseName, jdbcColumnForTableName, jdbcPass, jdbcQueryForColumnNames, jdbcQueryForDatabaseNames, jdbcQueryForTableNames, jdbcQueryForValues, jdbcURL, jdbcUser, jsqlColumnName, jsqlDatabaseName, jsqlTableName, LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
https://en.wikipedia.org/wiki/Digest_access_authentication https://gist.github.com/usamadar/2912088 https://stackoverflow.com/questions/2152573/java-client-program-to-send-digest-authentication-request-using-httpclient-api https://stackoverflow.com/questions/73264239/digest-authentication-java-net-http-httpclient/74903645#74903645 < Set-Cookie: JSESSIONID=D7F3C20D780A2FD2552EA30990E891DC; Path=/; HttpOnly < WWW-Authenticate: Digest realm="Digest Realm", qop="auth", nonce="MTY5MDA4NjM0MDUxMzozZTljM2M5NjU1NTgzZWQwMDI2OGVhNjc4ZTNhNTgxZA==" HA1 = MD5(username:realm:password) HA2 = MD5(method:digestURI) response = MD5(HA1:nonce:nonceCount:cnonce:qop:HA2) > Authorization: Digest username="login-digest",realm="Digest Realm",nonce="MTY5MDA4NjM0MDUxMzozZTljM2M5NjU1NTgzZWQwMDI2OGVhNjc4ZTNhNTgxZA==",uri="/digest?Methods inherited from class com.test.vendor.mysql.ConcreteMySqlErrorSuiteIT
config
Methods inherited from class com.test.AbstractTestSuite
initialize, initializeBackend, listColumns, listTables, listValues, parse, requestJdbc
-
Constructor Details
-
DigestSuiteIT
public DigestSuiteIT()
-
-
Method Details
-
setupInjection
https://en.wikipedia.org/wiki/Digest_access_authentication https://gist.github.com/usamadar/2912088 https://stackoverflow.com/questions/2152573/java-client-program-to-send-digest-authentication-request-using-httpclient-api https://stackoverflow.com/questions/73264239/digest-authentication-java-net-http-httpclient/74903645#74903645 < Set-Cookie: JSESSIONID=D7F3C20D780A2FD2552EA30990E891DC; Path=/; HttpOnly < WWW-Authenticate: Digest realm="Digest Realm", qop="auth", nonce="MTY5MDA4NjM0MDUxMzozZTljM2M5NjU1NTgzZWQwMDI2OGVhNjc4ZTNhNTgxZA==" HA1 = MD5(username:realm:password) HA2 = MD5(method:digestURI) response = MD5(HA1:nonce:nonceCount:cnonce:qop:HA2) > Authorization: Digest username="login-digest",realm="Digest Realm",nonce="MTY5MDA4NjM0MDUxMzozZTljM2M5NjU1NTgzZWQwMDI2OGVhNjc4ZTNhNTgxZA==",uri="/digest?tenant=mysql&name=",cnonce="2ecb0e39da79fcb5aa6ffb1bd45cb3bb",nc=00000001,response="e5703ca7433d944525a40f49c5501155",qop="auth"- Specified by:
setupInjection
in classAbstractTestSuite
- Throws:
Exception
-
listDatabases
- Overrides:
listDatabases
in classAbstractTestSuite
- Throws:
JSqlException
-
afterEach
@AfterEach public void afterEach() -
assertResult
@AfterAll @Order(1073741823) public void assertResult()
-