Class AttributeResolverFailFastTest
- java.lang.Object
-
- org.opensaml.core.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.profile.spring.failfast.AbstractFailFastTest
-
- net.shibboleth.idp.attribute.resolver.spring.failfast.AttributeResolverFailFastTest
-
public class AttributeResolverFailFastTest extends net.shibboleth.idp.profile.spring.failfast.AbstractFailFastTest
-
-
Field Summary
Fields Modifier and Type Field Description private DataSourcedatasourceprivate com.unboundid.ldap.listener.InMemoryDirectoryServerdirectoryServer
-
Constructor Summary
Constructors Constructor Description AttributeResolverFailFastTest()
-
Method Summary
-
Methods inherited from class net.shibboleth.idp.profile.spring.failfast.AbstractFailFastTest
afterSuite, beforeClass, beforeSuite, getApplicationContext, getApplicationContext, getBean, getBean, getBean, getWorkspaceDirName, makePath, makeTempPath, makeURLPath, propertySource, propertySource, registerContext
-
-
-
-
Field Detail
-
directoryServer
private com.unboundid.ldap.listener.InMemoryDirectoryServer directoryServer
-
datasource
private DataSource datasource
-
-
Method Detail
-
getPath
protected String getPath()
- Overrides:
getPathin classnet.shibboleth.idp.profile.spring.failfast.AbstractFailFastTest
-
setupDirectoryServer
@BeforeTest(enabled=false) public void setupDirectoryServer() throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException
- Throws:
com.unboundid.ldap.sdk.LDAPExceptionGeneralSecurityException
-
teardownDirectoryServer
@AfterTest public void teardownDirectoryServer()
-
workingAttributeResolver
public void workingAttributeResolver(String file, MockPropertySource props) throws IOException
- Throws:
IOException
-
workingAttributeResolver
public void workingAttributeResolver(String file) throws IOException
- Throws:
IOException
-
workingAttributeResolver
public void workingAttributeResolver() throws IOException- Throws:
IOException
-
badResolver
private void badResolver(Boolean failFast, String resolverFile) throws IOException
- Throws:
IOException
-
badResolver
private void badResolver(MockPropertySource propertySource, Boolean failFast, String resolverFile) throws IOException
- Throws:
IOException
-
badAttributeFF
public void badAttributeFF() throws IOException- Throws:
IOException
-
badAttributeDefaultFF
public void badAttributeDefaultFF() throws IOException- Throws:
IOException
-
badAttributeNoFF
public void badAttributeNoFF() throws IOException- Throws:
IOException
-
workingLDAPResolver
public void workingLDAPResolver() throws IOException- Throws:
IOException
-
failingLDAPResolver
private void failingLDAPResolver(Boolean failFast) throws IOException
- Throws:
IOException
-
badLDAPFF
public void badLDAPFF() throws IOException- Throws:
IOException
-
badLDAPDefault
public void badLDAPDefault() throws IOException- Throws:
IOException
-
badLDAPNoFF
public void badLDAPNoFF() throws IOException- Throws:
IOException
-
workingRDBMSResolver
public void workingRDBMSResolver() throws IOException- Throws:
IOException
-
failingRDBMSResolver
private void failingRDBMSResolver(Boolean failFast) throws IOException
- Throws:
IOException
-
failingRDBMSResolverFF
public void failingRDBMSResolverFF() throws IOException- Throws:
IOException
-
failingRDBMSResolverDefault
public void failingRDBMSResolverDefault() throws IOException- Throws:
IOException
-
failingRDBMSResolverNoFF
public void failingRDBMSResolverNoFF() throws IOException- Throws:
IOException
-
workingStoredResolver
public void workingStoredResolver() throws IOException- Throws:
IOException
-
workingFailingStoredResolver
public void workingFailingStoredResolver() throws IOException- Throws:
IOException
-
failingStoredResolver
private void failingStoredResolver(Boolean failFastService) throws IOException
- Throws:
IOException
-
failingStoredFF
public void failingStoredFF() throws IOException- Throws:
IOException
-
failingStoredNoFF
public void failingStoredNoFF() throws IOException- Throws:
IOException
-
failingStoredDefaultFF
public void failingStoredDefaultFF() throws IOException- Throws:
IOException
-
-