Package net.shibboleth.idp.authn.impl
Class X509ProxyFilterTest
- java.lang.Object
-
- org.opensaml.core.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.authn.impl.BaseAuthenticationContextTest
-
- net.shibboleth.idp.authn.impl.X509ProxyFilterTest
-
public class X509ProxyFilterTest extends BaseAuthenticationContextTest
X509ProxyFilterunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private StringentityCertBase64private net.shibboleth.idp.authn.impl.X509ProxyFilterfilterprivate StringotherCert1Base64private MockHttpServletRequestrequest-
Fields inherited from class net.shibboleth.idp.authn.impl.BaseAuthenticationContextTest
authenticationFlows, prc, src
-
-
Constructor Summary
Constructors Constructor Description X509ProxyFilterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestBadConfig()voidtestCertificateChain()voidtestEntityCertificate()voidtestNoCertificates()voidtestNoEntityCertificate()voidtestPreexistingCertificates()-
Methods inherited from class net.shibboleth.idp.authn.impl.BaseAuthenticationContextTest
initializeMembers
-
-
-
-
Field Detail
-
entityCertBase64
private String entityCertBase64
-
otherCert1Base64
private String otherCert1Base64
-
filter
private net.shibboleth.idp.authn.impl.X509ProxyFilter filter
-
request
private MockHttpServletRequest request
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws Exception
- Overrides:
setUpin classBaseAuthenticationContextTest- Throws:
Exception
-
testBadConfig
public void testBadConfig() throws javax.servlet.ServletException- Throws:
javax.servlet.ServletException
-
testNoCertificates
public void testNoCertificates() throws IOException, javax.servlet.ServletException- Throws:
IOExceptionjavax.servlet.ServletException
-
testPreexistingCertificates
public void testPreexistingCertificates() throws IOException, javax.servlet.ServletException- Throws:
IOExceptionjavax.servlet.ServletException
-
testNoEntityCertificate
public void testNoEntityCertificate() throws IOException, javax.servlet.ServletException- Throws:
IOExceptionjavax.servlet.ServletException
-
testEntityCertificate
public void testEntityCertificate() throws IOException, javax.servlet.ServletException- Throws:
IOExceptionjavax.servlet.ServletException
-
testCertificateChain
public void testCertificateChain() throws IOException, javax.servlet.ServletException- Throws:
IOExceptionjavax.servlet.ServletException
-
-