Class AddEndpointURIHandlerTest


  • public class AddEndpointURIHandlerTest
    extends AbstractOIDCTest
    Tests for AddEndpointURIHandler.
    • Field Detail

      • handler

        private net.shibboleth.idp.plugin.authn.oidc.rp.messaging.impl.AddEndpointURIHandler handler
        The action to test.
      • rpc

        private net.shibboleth.idp.profile.context.RelyingPartyContext rpc
        The RPC.
      • oidcAuthzConfig

        private net.shibboleth.oidc.profile.config.impl.DefaultOIDCAuthorizationConfiguration oidcAuthzConfig
        The profile config.
    • Constructor Detail

      • AddEndpointURIHandlerTest

        public AddEndpointURIHandlerTest()
    • Method Detail

      • testSuccess

        public void testSuccess()
                         throws Exception
        Test URI is added correctly.
        Throws:
        Exception - on error
      • testNoAuthzEndpoint

        public void testNoAuthzEndpoint()
                                 throws Exception
        Test what happens if no authz endpoint is provided in metadata.
        Throws:
        Exception - on error