This is all that I get:
DEBUG - JettyContextManager - Dispatching job:
[EMAIL PROTECTED],io=0,w=true,b=false|false]
DEBUG - JAASAuthenticationService - Authenticating 'smx' with 'smx'
DEBUG - ConsumerProcessor - Receiving HTTP request: POST
/example/ HTTP/1.1
Authorization: Basic c214OnNteA==
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8192
Content-Length: 179
DEBUG - HttpComponent - Created correlation id:
ID:192.168.2.64-11a7656b905-17:8
DEBUG - DeliveryChannelImpl - Send
ID:192.168.2.64-11a7656b905-17:8 in DeliveryChannel{servicemix-http}
WARN - jetty - /example/
java.lang.IllegalStateException: Cannot write non xml faults for non soap
messages
at
org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:124)
at
org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:92)
at
org.apache.servicemix.http.processors.ConsumerProcessor.sendFault(ConsumerProcessor.java:277)
at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:176)
at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
DEBUG - JettyContextManager - Dispatching job:
[EMAIL PROTECTED],io=1,w=true,b=false|false]
DEBUG - JettyContextManager - Dispatching job:
[EMAIL PROTECTED],io=1,w=true,b=false|false]
here is the configuration:
1)security.xml:
<beans xmlns:sm="http://servicemix.apache.org/config/1.0"
xmlns:hello="http://servicemix.in2m.com/samples/http">
<!-- Authentication service -->
<sm:authenticationService id="authenticationService" />
<!-- KeyStore manager -->
<sm:keystoreManager id="keystoreManager">
<sm:keystores>
<sm:keystore name="default"
path="classpath:keystore.jks"
keystorePassword="servicemix"
keyPasswords="smx=smx" />
</sm:keystores>
</sm:keystoreManager>
<!-- ServiceMix authorization map -->
<sm:authorizationMap id="authorizationMap">
<sm:authorizationEntries>
<!--sm:authorizationEntry service="*:*" roles="*" /-->
<sm:authorizationEntry service="*:*" roles="dev" />
</sm:authorizationEntries>
</sm:authorizationMap>
</beans>
2)user-password.properties:
smx=smx
smx1=smx1
3)groups.properties:
admin=smx
dev=smx1
--
View this message in context:
http://www.nabble.com/How-to-handle-unauthorized-user-tp17771342p17771876.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.