Hi,

I have a question about implementing openid connect with cxf and spring
boot.
I try to set up oidc without fediz. All configuration is done at the same
location. (server & service)

I start the flow using a browser and enter the jax-rs service url. I'm apply
a code-grant filter to protect the service and manage the re-directions
(OidcClientCodeRequestFilter).

After a user entered the service url, the browser redirect the user to
authenticate him with basic authentication (username + password). Works
fine.

Unfortunatelly, my service stop if I want to present the user an
authorization jsp form with a "RequestDispatcherProvider". 
I receive the following error msg...

2018-08-06 10:10:25.246  WARN 6200 --- [nio-8443-exec-9]
o.a.c.t.servlet.ServletController        : Can't find the the request for
https://localhost:8443/WEB-INF/Authorize.jsp's Observer 
2018-08-06 10:10:25.252  INFO 6200 --- [nio-8443-exec-9]
o.a.c.interceptor.LoggingOutInterceptor  : Outbound Message

My spring boot application contains a dictionary "src/main/webapp/WEB-INF"
and here is the authorization form (jsp) located.

Necessary Bean in the configuration class:

   @Bean
    public RequestDispatcherProvider authorizePage(){
        RequestDispatcherProvider authorizeprovider = new
RequestDispatcherProvider();
        authorizeprovider.setResourcePath("WEB-INF/Authorize.jsp");
        return authorizeprovider;
    }

I added this Bean as a provider, where the authorize service beans are
located.

I think, that the server cannot find the authorization form. Unfortunatelly,
I do not know why this happen.

Do I miss something in my cxf configuration? 

Regards,
Patrick

 



--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to