# IBCA

# GOAL

The purpose of this module is to set base configuration of the current
 whole project and set needed helpers for every inside modules.

 # Configuration

 ## Application

 config/app.php

 This store the global configuration.

 ** GED **

 WebHelp ged is to be configured here, see config/app.php for example

```bash

php /app/vendor/maecia/inside/artisan ged:import

```

You can set witch part you want to import ( --documents allow you to only import documents )
( --robohelp-documents allow you to only import WebHelp documents )

** LDAP Users **

```bash

php /app/vendor/maecia/inside/artisan ldap:import

```

## SAML

Example for settings SAML2 in .env

```bash

SAML2_SP_ENTITYID=""
SAML2_IDP_HOST=https://inside2.samlidp.io
SAML2_IDP_x509=" "
SAML2_SP_x509="file:///srv/staging/ibca/certs/saml.crt"
SAML2_SP_PRIVATEKEY="file:///srv/staging/ibca/certs/saml.pem"
SAML2_SP_SERVICE_NAME="samlidp.io"
SAML2_SP_SERVICE_DESCRIPTION="samlidp.io"
SAML2_SP_DISPLAY_DISPLAYNAME_ATTRIBUTE="urn:oid:2.16.840.1.113730.3.1.241"
SAML2_SP_DISPLAY_MAIL_ATTRIBUTE="urn:oid:0.9.2342.19200300.100.1.3"
SAML2_SP_DISPLAY_GIVENNAME_ATTRIBUTE="urn:oid:2.5.4.42"
SAML2_SP_DISPLAY_UID_ATTRIBUTE="urn:oid:2.5.4.4"
SAML2_SINGLE_SIGN_ON_SERVICE_URI="https://inside2.samlidp.io/saml2/idp/SSOService.php"
SAML2_SINGLE_LOGOUT_SERVICE_URI="https://inside2.samlidp.io/saml2/idp/SingleLogoutService.php"
SAML2_AUTOCREATE_ACCOUNT=false

```
