Package net.shibboleth.idp.authn.impl
Class ValidateUserAgentAddressTest
- java.lang.Object
-
- org.opensaml.core.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.authn.impl.BaseAuthenticationContextTest
-
- net.shibboleth.idp.authn.impl.ValidateUserAgentAddressTest
-
public class ValidateUserAgentAddressTest extends BaseAuthenticationContextTest
ValidateUserAgentAddressunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.authn.impl.ValidateUserAgentAddressaction-
Fields inherited from class net.shibboleth.idp.authn.impl.BaseAuthenticationContextTest
authenticationFlows, prc, src
-
-
Constructor Summary
Constructors Constructor Description ValidateUserAgentAddressTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voiddoExtract()voidsetUp()voidtestCompatible()voidtestIncompatible()voidtestMissingAddress()voidtestMissingAddress2()voidtestMissingFlow()voidtestUnauthorized()-
Methods inherited from class net.shibboleth.idp.authn.impl.BaseAuthenticationContextTest
initializeMembers
-
-
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws Exception
- Overrides:
setUpin classBaseAuthenticationContextTest- Throws:
Exception
-
testMissingFlow
public void testMissingFlow()
-
testMissingAddress
public void testMissingAddress()
-
testMissingAddress2
public void testMissingAddress2() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
testUnauthorized
public void testUnauthorized() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
testIncompatible
public void testIncompatible() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
testCompatible
public void testCompatible() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
doExtract
private void doExtract() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
-