public class XProtocolAuthTest extends InternalXBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private XMessageBuilder |
messageBuilder |
private static XProtocol |
protocol |
baseUrl, DEFAULT_METADATA_CHARSET, fact, isSetForXTests, testHostInfo, testProperties| Constructor and Description |
|---|
XProtocolAuthTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyTestProtocol() |
void |
setupTestProtocol() |
void |
testBadAuthMessage()
Test that we are disconnected with an error if we send a bad authentication message.
|
void |
testBasicSaslMysql41Auth() |
void |
testBasicSaslPlainAuth() |
void |
testBasicSaslPlainAuthFailure() |
void |
testEmptyDatabaseMYSQL41()
Bug#21680263 - NullPointerException When Try to connect without DB Name.
|
void |
testEmptyDatabasePLAIN()
Bug#21680263 - NullPointerException When Try to connect without DB Name.
|
assertSessionStatusEquals, assertSessionStatusNotEquals, assertThrows, assertThrows, assertThrows, assertThrows, createAuthenticatedTestProtocol, createTempTestCollection, createTestProtocol, createTestSchema, createTestSession, dropTempTestCollection, getEncodedTestHost, getTestDatabase, getTestHost, getTestPassword, getTestPort, getTestUser, mysqlVersionMeetsMinimum, mysqlVersionMeetsMinimumprivate static XProtocol protocol
private XMessageBuilder messageBuilder
@BeforeEach
public void setupTestProtocol()
throws java.lang.Exception
java.lang.Exception@AfterEach
public void destroyTestProtocol()
throws java.lang.Exception
java.lang.Exception@Test
public void testBadAuthMessage()
throws java.lang.Exception
java.lang.Exception@Test
@Disabled(value="PLAIN only supported over SSL")
public void testBasicSaslPlainAuth()
throws java.lang.Exception
java.lang.Exception@Test
public void testBasicSaslMysql41Auth()
throws java.lang.Exception
java.lang.Exception@Test
@Disabled(value="PLAIN only supported over SSL")
public void testBasicSaslPlainAuthFailure()
throws java.lang.Exception
java.lang.Exception@Test public void testEmptyDatabaseMYSQL41()
@Test @Disabled(value="PLAIN only supported over SSL") public void testEmptyDatabasePLAIN()