Hi Dariusz, this is very strange, but I will also check that with binaries from github.
Since it is possible to change the configuration of the IDP via the REST API authentication is required. If you use the demo IDP setup just add basic authentication (bob:bob) to your SoapUI requests. Then you should be able to register a second application as described in my blog. Kind regards Jan -- Jan Bernhardt Talend Community Coder http://coders.talend.com Visit my Blog https://janbernhardt.blogspot.de > -----Ursprüngliche Nachricht----- > Von: Dariusz Małyszko [mailto:[email protected]] > Gesendet: Dienstag, 28. Juli 2015 14:20 > An: [email protected] > Betreff: Re: Fediz SimpleWeb demo problem > > I do not know why, but I additionally tested Fediz simpleweb application on > Thar 14.10 Ubuntu, with binaries from fediz.apache, not from gihub.com > version, and everything works fine. On Windows 8.1, after compiling version > from github, with many restarts of mvn, skipping testing and doc creation, > application does not worked. Maybe these two version are not the same, > (on github is developer version?). > > So, everything from single sign on / off works fine on Ubuntu with step by > step instructions from > > http://janbernhardt.blogspot.com/2015/01/single-logout-with-fediz-ws- > > On issue is only the problem that POSTing from SoapUI domain registering > throws Authorization errors. > > > > > 2015-07-28 9:04 GMT+02:00 Jan Bernhardt <[email protected]>: > > > Hi Dariusz, > > > > I was able to setup the hello world demo (Version 1.2.0) yesterday > > without any issues. > > Since I cannot reproduce your error I do not know how I could help you. > > > > Kind regards > > Jan > > > > -- > > Jan Bernhardt > > > > Talend Community Coder > > http://coders.talend.com > > > > Visit my Blog > > https://janbernhardt.blogspot.de > > > -----Ursprüngliche Nachricht----- > > > Von: Dariusz Małyszko [mailto:[email protected]] > > > Gesendet: Mittwoch, 22. Juli 2015 18:04 > > > An: [email protected] > > > Betreff: Re: Fediz SimpleWeb demo problem > > > > > > it is the version Apache CXF Fediz 1.2.0 taken from > > > https://github.com/apache/cxf-fediz, compiled, then jars from > > > services, > > > plugins/tomcat7 and examples/simpleweb are taken and applied to > > > three Tomcat instances as given in the blog > > > > > > http://janbernhardt.blogspot.com/2015/01/single-logout-with-fediz-ws > > > - > > > > > > > > > Best regards, > > > > > > 2015-07-22 17:51 GMT+02:00 Jan Bernhardt <[email protected]>: > > > > > > > Which version are you using for your tests? > > > > > > > > Kind regards > > > > Jan > > > > > > > > -- > > > > Jan Bernhardt > > > > > > > > Talend Community Coder > > > > http://coders.talend.com > > > > > > > > Visit my Blog > > > > https://janbernhardt.blogspot.de > > > > > > > > > -----Ursprüngliche Nachricht----- > > > > > Von: Dariusz Małyszko [mailto:[email protected]] > > > > > Gesendet: Mittwoch, 22. Juli 2015 17:27 > > > > > An: [email protected] > > > > > Betreff: Fediz SimpleWeb demo problem > > > > > > > > > > Hello, > > > > > > > > > > I have the following problem with Fediz installation. I am > > > > > trying to > > > > start > > > > > SimpleWeb application from examples given in distribution code. > > > > > I follow instruction given in > > > > > > > > > > http://janbernhardt.blogspot.com/2015/01/single-logout-with-fedi > > > > > z-ws > > > > > - > > > > > federation.html > > > > > > > > > > > > > > > it means I have created > > > > > > > > > > - Fediz-idp, Fediz-idp-sts on one instance of Tomcat 7.0.36 > > > > > - SimpleWeb 1 application on second Tomcat instance > > > > > - SimpleWeb2 application on the third Tomcat instance > > > > > > > > > > The following commands are correct > > > > > > > > > > https://localhost:8443/fedizhelloworld/FederationMetadata/2007- > > > > > 06/FederationMetadata.xml > > > > > > > > > > > > > > > GET https://localhost:9443/fediz-idp/services/rs/idps > > > > > > > > > > But when issuing command > > > > > > > > > > https://localhost:8443/fedizhelloworld/secure/fedservlet > > > > > > > > > > redirection to https://localhost:9443/fediz-idp/federation...... > > > > > > > > > > gives the following error > > > > > > > > > > > > > > > *ype* Exception report > > > > > > > > > > *message* *Request processing failed; nested exception is > > > > > org.springframework.webflow.execution.FlowExecutionException: > > > > > Exception thrown in state 'showIDPList' of flow 'signinRequest'* > > > > > > > > > > *description* *The server encountered an internal error that > > > > > prevented it from fulfilling this request.* > > > > > > > > > > *exception* > > > > > > > > > > org.springframework.web.util.NestedServletException: Request > > > > > processing failed; nested exception is > > > > > org.springframework.webflow.execution.FlowExecutionException: > > > > > Exception thrown in state 'showIDPList' of flow 'signinRequest' > > > > > > > > > > org.springframework.web.servlet.FrameworkServlet.processReques > > > > > t(FrameworkServlet.java:978) > > > > > > > > > > org.springframework.web.servlet.FrameworkServlet.doGet(Framew > > > > > orkServlet.java:857) > > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:624) > > > > > > > > > > org.springframework.web.servlet.FrameworkServlet.service(Frame > > > > > workServlet.java:842) > > > > > > > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:731) > > > > > > > > > > org.springframework.security.web.FilterChainProxy$VirtualFilterC > > > > > hai > > > > > n.doFilter(FilterChainProxy.java:330) > > > > > > > > > > > > > org.apache.cxf.fediz.service.idp.service.security.GrantedAuthority > > > > En > > > > > titlements.doFilter(GrantedAuthorityEntitlements.java:99) > > > > > > > > > > org.springframework.security.web.FilterChainProxy$VirtualFilterC > > > > > hai > > > > > n.doFilter(FilterChainProxy.java:342) > > > > > > > > > > org.springframework.security.web.servletapi.SecurityContextHolde > > > > > r > > > > > > AwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter. > > > > > java > > > > > :54) > > > > > > > > > > org.springframework.security.web.FilterChainProxy$VirtualFilterC > > > > > hai > > > > > n.doFilter(FilterChainProxy.java:342) > > > > > > > > > > org.springframework.security.web.savedrequest.RequestCacheAwa > > > > > reFilter.doFilter(RequestCacheAwareFilter.java:45) > > > > > > > > > > org.springframework.security.web.FilterChainProxy$VirtualFilterC > > > > > hai > > > > > n.doFilter(FilterChainProxy.java:342) > > > > > > > > > > org.springframework.security.web.context.SecurityContextPersiste > > > > > n > > > > > ceFilter.doFilter(SecurityContextPersistenceFilter.java:87) > > > > > > > > > > org.springframework.security.web.FilterChainProxy$VirtualFilterC > > > > > hai > > > > > n.doFilter(FilterChainProxy.java:342) > > > > > > > > > > > > > org.apache.cxf.fediz.service.idp.STSPortFilter.doFilter(STSPortFilter. > > > > j > > > > > ava:74) > > > > > > > > > > org.springframework.security.web.FilterChainProxy$VirtualFilterC > > > > > hai > > > > > n.doFilter(FilterChainProxy.java:342) > > > > > > > > > > org.springframework.security.web.FilterChainProxy.doFilterIntern > > > > > al( > > > > > FilterChainProxy.java:192) > > > > > > > > > > org.springframework.security.web.FilterChainProxy.doFilter(Filte > > > > > rCh > > > > > ainProxy.java:160) > > > > > > > > > > org.springframework.web.filter.DelegatingFilterProxy.invokeDeleg > > > > > at > > > > > e(DelegatingFilterProxy.java:344) > > > > > > > > > > org.springframework.web.filter.DelegatingFilterProxy.doFilter(De > > > > > leg > > > > > atingFilterProxy.java:261) > > > > > > > > > > > > > org.springframework.web.filter.CharacterEncodingFilter.doFilterInt > > > > er > > > > > nal(CharacterEncodingFilter.java:85) > > > > > > > > > > org.springframework.web.filter.OncePerRequestFilter.doFilter(Onc > > > > > e > > > > > PerRequestFilter.java:107) > > > > > > > > > > ....... > > > > > > > > > > > > > > > How to correct this problem? > > > > > > > > > > > > > > > > > > > > Best regards > > > > > >
