Details
-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.1
-
None
-
%
Description
If you follow the instructions of the readme file in quickstart/secure-rest then you cannot access the service.
You get this error:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<ns1:XMLFault xmlns:ns1="http://cxf.apache.org/bindings/xformat">
<ns1:faultstring xmlns:ns1="http://cxf.apache.org/bindings/xformat">java.lang.SecurityException</ns1:faultstring>
</ns1:XMLFault>
And in the log:tail we see
2013-10-25 18:30:56,230 | WARN | tp1508868494-167 | PhaseInterceptorChain | ? ? | 153 - org.apache.cxf.cxf-api - 2.7.0.redhat-610130 | Interceptor for {http://secure.rest.fuse.quickstarts.jboss.org/}CustomerService has thrown exception, unwinding now java.lang.SecurityException at org.apache.cxf.interceptor.security.JAASLoginInterceptor.handleMessage(JAASLoginInterceptor.java:129)[152:org.apache.cxf.cxf-rt-core:2.7.0.redhat-610130] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)[153:org.apache.cxf.cxf-api:2.7.0.redhat-610130] at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[153:org.apache.cxf.cxf-api:2.7.0.redhat-610130] at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)[163:org.apache.cxf.cxf-rt-transports-http:2.7.0.redhat-610130] ...