https://github.com/thorsten-l/sonia-webapp-bibauth
LDAP auth provider for PICA, LBS Borrower Authentication Service external endpoint
https://github.com/thorsten-l/sonia-webapp-bibauth
java rest-api springboot
Last synced: about 2 months ago
JSON representation
LDAP auth provider for PICA, LBS Borrower Authentication Service external endpoint
- Host: GitHub
- URL: https://github.com/thorsten-l/sonia-webapp-bibauth
- Owner: thorsten-l
- License: apache-2.0
- Created: 2022-11-17T19:01:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T10:04:39.000Z (over 3 years ago)
- Last Synced: 2025-03-13T07:31:19.140Z (over 1 year ago)
- Topics: java, rest-api, springboot
- Language: Java
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sonia-webapp-bibauth
## Create sample configuration file
`./bibauth.jar --write-sample-configuration`
### Output
```text
client authorization token: ''
```
### sample `configuration.xml` file
```xml
bibauth configuration file
false
8080
5
false
PKCS12
classpath:keystore/keystore.p12
HJvuIK8a2vbQJ0nU+P58Kg==
bibauth
localhost
3636
true
cn=SuperDuperAdmin
HJvuIK8a2vbQJ0nU+P58Kg==
barcode
XqFOrgcfVN1kX6isBCrHDbYLe3kuWbqJWPimLiuVvYtDLhsfu0J322CWbHwa3FyE
ou=people,o=org-a.de,dc=text,de=de
(&(objectClass=person)(uid={0}))
ONE
o=org-b.de,dc=text,de=de
(&(objectClass=eduperson)(cn={0}))
SUB
```
## Show options
`./bibauth.jar -h`
```text
Usage: ./bibauth.jar [options]
--check (-c) WERT : Check given config file
--encrypt (-e) WERT : Encrypt given password
--generate (-g) N : Generate random password (Vorgabe: 0)
--help (-h) : Displays this help (Vorgabe: true)
--version (-v) : Display programm version (Vorgabe: false)
--write-sample-configuration : Write sample configuration file (Vorgabe: false)
```
## Run bibauth service
`./bibauth.jar`
## Very Important for a production environment!!!
- Enable HTTPS protocol or put an nginx or Apache HTTPd proxy in front of the bibauth service to provide the HTTPS protocol.
- Configure your Firewall to restrict the client source ip-addess to the destination service ip-address