Package net.shibboleth.idp.authn.impl
Class InitializeRequestedPrincipalContextTest
- java.lang.Object
-
- net.shibboleth.idp.authn.impl.InitializeRequestedPrincipalContextTest
-
public class InitializeRequestedPrincipalContextTest extends Object
InitializeRequestedPrincipalContextunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.authn.impl.InitializeRequestedPrincipalContextactionprivate org.opensaml.profile.context.ProfileRequestContextprcprivate RequestContextsrc
-
Constructor Summary
Constructors Constructor Description InitializeRequestedPrincipalContextTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestInvalidProfileConfiguration()Test that the action errors out properly if the desired profile configuration is not configured.voidtestNoMethods()Test that the action works with no methods supplied.voidtestNoProfileConfiguration()Test that the action errors out properly if there is no relying party configuration.voidtestNoRelyingPartyContext()Test that the action errors out properly if there is no relying party context.voidtestNoReplace()Test that the action bails if set not to replace.voidtestWithMethods()Test that the action works with methods supplied.
-
-
-
Field Detail
-
src
private RequestContext src
-
prc
private org.opensaml.profile.context.ProfileRequestContext prc
-
action
private net.shibboleth.idp.authn.impl.InitializeRequestedPrincipalContext action
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
testNoReplace
public void testNoReplace() throws ExceptionTest that the action bails if set not to replace.- Throws:
Exception- if something goes wrong
-
testNoRelyingPartyContext
public void testNoRelyingPartyContext() throws ExceptionTest that the action errors out properly if there is no relying party context.- Throws:
Exception- if something goes wrong
-
testNoProfileConfiguration
public void testNoProfileConfiguration() throws ExceptionTest that the action errors out properly if there is no relying party configuration.- Throws:
Exception- if something goes wrong
-
testInvalidProfileConfiguration
public void testInvalidProfileConfiguration() throws ExceptionTest that the action errors out properly if the desired profile configuration is not configured.- Throws:
Exception- if something goes wrong
-
testNoMethods
public void testNoMethods() throws ExceptionTest that the action works with no methods supplied.- Throws:
Exception- if something goes wrong
-
-