You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: snippets/authentication-filter-with-bypass/README.md
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ To overcome this, you may use a special user and configure his credentials outsi
8
8
9
9
The AuthenticationFilter in the `engine-rest.war` now should check the user id from the request against this special user first and if its not found here, ask LDAP for the user.
10
10
11
-
### Setup
11
+
### Tomcat Setup
12
12
In the Tomcat shared engine it's quite easy to set up the bypass.
13
13
14
14
1. Build the jar file with `mvn clean install`.
@@ -26,6 +26,7 @@ In the Tomcat shared engine it's quite easy to set up the bypass.
4. Create a file named `bypassUser.properties` in the configuration folder of the tomcat server: `camunda-bpm-ee-tomcat-7.10.0\server\apache-tomcat-9.0.12\conf\`. Here is an example: [bypassUser.properties](src/test/resources/bypassUser.properties).
@@ -45,6 +46,17 @@ INFO [localhost-startStop-1] com.camunda.consulting.rest.auth.AuthenticationProv
45
46
05-Sep-2019 22:03:06.360 FEIN [http-nio-8080-exec-7] com.camunda.consulting.rest.auth.AuthenticationFilterWithBypass.setAuthenticatedUser set user and group from bypassUser
46
47
```
47
48
49
+
### Wildfly setup
50
+
1. Change the lines 37-42 of the AuthenticationProviderwithBypass to
4. Create a file named `bypassUser.properties` in the configuration folder of the wildfly server: `camunda-bpm-ee-wildfly-7.10.0\server\wildfly-14.0.1-Final\configuration\`. Here is an example: [bypassUser.properties](src/test/resources/bypassUser.properties).
58
+
5. to 7. Same as Tomcat above.
59
+
48
60
### How it works
49
61
The configuration file read on startup and the values a held in main memory until the server is restarted. To change the password, you have to restart the tomcat server.
0 commit comments