An open API service indexing awesome lists of open source software.

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

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