|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.acegisecurity.ldap.AbstractLdapServerTestCase
org.acegisecurity.providers.ldap.authenticator.BindAuthenticatorTests
public class BindAuthenticatorTests
Tests for BindAuthenticator.
| Field Summary |
|---|
| Fields inherited from class org.acegisecurity.ldap.AbstractLdapServerTestCase |
|---|
MANAGER_PASSWORD, MANAGER_USER |
| Constructor Summary | |
|---|---|
BindAuthenticatorTests()
|
|
| Method Summary | |
|---|---|
void |
onSetUp()
|
void |
testAuthenticationWithCorrectPasswordSucceeds()
|
void |
testAuthenticationWithInvalidUserNameFails()
|
void |
testAuthenticationWithUserSearch()
|
void |
testAuthenticationWithWrongPasswordFails()
|
void |
testRoleRetrieval()
|
void |
testUserDnPatternReturnsCorrectDn()
|
| Methods inherited from class org.acegisecurity.ldap.AbstractLdapServerTestCase |
|---|
getInitialCtxFactory, setUp |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BindAuthenticatorTests()
| Method Detail |
|---|
public void onSetUp()
onSetUp in class AbstractLdapServerTestCasepublic void testAuthenticationWithCorrectPasswordSucceeds()
public void testAuthenticationWithInvalidUserNameFails()
public void testAuthenticationWithUserSearch()
throws Exception
Exceptionpublic void testAuthenticationWithWrongPasswordFails()
public void testRoleRetrieval()
public void testUserDnPatternReturnsCorrectDn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||