public class ValidateUsernamePasswordAgainstJAASTest extends PopulateAuthenticationContextTest
ValidateUsernamePasswordAgainstJAAS unit test.| Modifier and Type | Field and Description |
|---|---|
private net.shibboleth.idp.authn.impl.ValidateUsernamePasswordAgainstJAAS |
action |
private static String |
DATA_PATH |
private com.unboundid.ldap.listener.InMemoryDirectoryServer |
directoryServer |
authenticationFlows, prc, src| Constructor and Description |
|---|
ValidateUsernamePasswordAgainstJAASTest() |
| Modifier and Type | Method and Description |
|---|---|
private void |
doExtract(org.opensaml.profile.context.ProfileRequestContext prc) |
private String |
getCurrentDir() |
void |
setUp() |
void |
setupDirectoryServer()
Creates an UnboundID in-memory directory server.
|
void |
teardownDirectoryServer()
Shutdown the in-memory directory server.
|
void |
testAuthorized() |
void |
testBadConfig() |
void |
testBadPassword() |
void |
testBadUsername() |
void |
testMissingFlow() |
void |
testMissingUser() |
void |
testMissingUser2() |
testActionprivate static final String DATA_PATH
private net.shibboleth.idp.authn.impl.ValidateUsernamePasswordAgainstJAAS action
private com.unboundid.ldap.listener.InMemoryDirectoryServer directoryServer
public ValidateUsernamePasswordAgainstJAASTest()
public void setupDirectoryServer()
throws com.unboundid.ldap.sdk.LDAPException
com.unboundid.ldap.sdk.LDAPException - if the in-memory directory server cannot be createdpublic void teardownDirectoryServer()
public void setUp()
throws Exception
setUp in class PopulateAuthenticationContextTestExceptionprivate void doExtract(org.opensaml.profile.context.ProfileRequestContext prc)
throws Exception
Exceptionprivate String getCurrentDir() throws IOException
IOExceptionCopyright © 1999–2014. All rights reserved.