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: README.md
+18-4Lines changed: 18 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,15 @@ Also see [Chinese docs / 中文](doc/chinese/job-server.md).
28
28
-[Creating a project from scratch using giter8 template](#creating-a-project-from-scratch-using-giter8-template)
29
29
-[Creating a project manually assuming that you already have sbt project structure](#creating-a-project-manually-assuming-that-you-already-have-sbt-project-structure)
30
30
-[NEW SparkJob API](#new-sparkjob-api)
31
+
-[NEW SparkJob API with Spark v2.1](#new-sparkjob-api-with-spark-v21)
The ```-k``` flag tells curl to "Allow connections to SSL sites without certs". Export your server certificate and import it into the client's truststore to fully utilize ssl security.
518
522
519
-
### Authentication
523
+
#### Client authentication
524
+
Client authentication can be enabled by simply pointing Job Server to a valid Trust Store.
525
+
As for server authentication, this is done by setting appropriate values in the application.conf.
526
+
The minimum set of parameters to enable client authentication consists of:
527
+
```
528
+
# truststore = "/some/path/server-truststore.jks"
529
+
# truststorePW = "changeit"
530
+
```
531
+
Note, client authentication implies server authentication, therefore client authentication will only be enabled once server authentication is activated.
520
532
521
-
Authentication uses the [Apache Shiro](http://shiro.apache.org/index.html) framework. Authentication is activated by setting this flag (Section 'shiro'):
533
+
### Basic authentication
534
+
Basic authentication (username and password) in Job Server relies on the [Apache Shiro](http://shiro.apache.org/index.html) framework.
535
+
Basic authentication is activated by setting this flag (Section 'shiro'):
522
536
```
523
537
authentication = on
524
538
# absolute path to shiro config file, including file name
0 commit comments