Class RequestedPrincipalContextPrincipalEvalTest


  • public class RequestedPrincipalContextPrincipalEvalTest
    extends Object
    Tests the RequestedPrincipalContext.isAcceptable(Principal) method using a mocked up registry of evaluation predicates.
    • Field Detail

      • 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
      • rpCtx

        private net.shibboleth.idp.authn.context.RequestedPrincipalContext rpCtx
    • Constructor Detail

      • RequestedPrincipalContextPrincipalEvalTest

        public RequestedPrincipalContextPrincipalEvalTest()
    • Method Detail

      • testUnknownOperator

        public void testUnknownOperator()
      • testExact

        public void testExact()
      • testBetterKnown

        public void testBetterKnown()
      • testBetterUnknown

        public void testBetterUnknown()