Spring Security ExamplePage added by willem jiangSpring Security ExampleThis example shows you how to leverage the Spring Security already provides authentication mechanism and authoriationPolicy which is provided in camel-spring-security module to implement a role based authorization application. This example consumes messages from a servlet endpoint which is secured by Spring Security with http basic authentication, there are two service: You will need to compile this example first: To run the example, you need to start up the server by typing To stop the server hit ctrl + c Then you can use the script in the client directory to send the request and check the response. Here is the camel route configuration Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20
You can find how to configure the camel-servlet with http basic authentication by check the files in WEB-INF
Change Notification Preferences
View Online
|
Add Comment
|
- [CONF] Apache Camel > Spring Security Example confluence