Class AddStateHandlerTest

    • Field Detail

      • handler

        private net.shibboleth.idp.plugin.authn.oidc.rp.messaging.impl.AddStateHandler handler
        The message handler to test.
      • request

        private net.shibboleth.oidc.profile.core.OIDCAuthenticationRequest request
        The authn request.
      • handlerContext

        private net.shibboleth.idp.plugin.authn.oidc.rp.context.OutboundMessageHandlerContext handlerContext
        The outbound handler context.
    • Constructor Detail

      • AddStateHandlerTest

        public AddStateHandlerTest()
    • Method Detail

      • testSuccess

        public void testSuccess()
                         throws Exception
        Test the state is added correctly.
        Throws:
        Exception - on error
      • testFailure_NoOutBoundContext

        public void testFailure_NoOutBoundContext()
                                           throws Exception
        Test error occurs if no outbound context is supplied.
        Throws:
        Exception - on error