Class InexactPrincipalEvalPredicateFactoryTest
- java.lang.Object
-
- net.shibboleth.idp.authn.principal.impl.InexactPrincipalEvalPredicateFactoryTest
-
public class InexactPrincipalEvalPredicateFactoryTest extends Object
InexactPrincipalEvalPredicateFactoryunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.authn.principal.UsernamePrincipalbarprivate net.shibboleth.idp.authn.principal.UsernamePrincipalbazprivate net.shibboleth.idp.authn.principal.impl.InexactPrincipalEvalPredicateFactoryfactoryprivate net.shibboleth.idp.authn.principal.UsernamePrincipalfooWe can test with UsernamePrincipals but actual usage would involve non-user-specific principal types.
-
Constructor Summary
Constructors Constructor Description InexactPrincipalEvalPredicateFactoryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestMultiplePrincipalMatch()voidtestMultiplePrincipalMatchMap()voidtestMultiplePrincipalNoMatch()voidtestNoPrincipals()voidtestOnePrincipalMatch()voidtestOnePrincipalNoMatch()
-
-
-
Field Detail
-
factory
private net.shibboleth.idp.authn.principal.impl.InexactPrincipalEvalPredicateFactory factory
-
foo
private net.shibboleth.idp.authn.principal.UsernamePrincipal foo
We can test with UsernamePrincipals but actual usage would involve non-user-specific principal types.
-
bar
private net.shibboleth.idp.authn.principal.UsernamePrincipal bar
-
baz
private net.shibboleth.idp.authn.principal.UsernamePrincipal baz
-
-
Method Detail
-
setUp
@BeforeTest public void setUp() throws Exception
- Throws:
Exception
-
testNoPrincipals
public void testNoPrincipals()
-
testOnePrincipalMatch
public void testOnePrincipalMatch()
-
testOnePrincipalNoMatch
public void testOnePrincipalNoMatch()
-
testMultiplePrincipalMatch
public void testMultiplePrincipalMatch()
-
testMultiplePrincipalMatchMap
public void testMultiplePrincipalMatchMap()
-
testMultiplePrincipalNoMatch
public void testMultiplePrincipalNoMatch()
-
-