####hosts

    127.0.0.1 sso-ows.local

####vhosts.conf entry

    <VirtualHost *:80>   
        DocumentRoot "/path/to/ls-sso-ows/web/"
       Alias /saml/ /path/to/ls-sso-ows/vendor/simplesamlphp/simplesamlphp/www/
       <Directory /path/to/vendor/simplesamlphp/simplesamlphp/www>
           Options Includes FollowSymLinks
           AllowOverride All
           Order allow,deny
           Allow from all
       </Directory>
       
       SetEnv DISABLE_SSO_LOGIN 0
       SetEnv SIMPLESAMLPHP_CONFIG_DIR /path/to/ls-sso-ows/app/config/saml/dev/lsd
       
       SetEnv SYMFONY_ENV lsd
       SetEnv APP_ENV lsd
       SetEnv DATABASE_URL mysql:host=127.0.0.1;dbname=ls-sso-ows
       SetEnv DATABASE_USER root
       SetEnv DATABASE_PASSWORD ****** 
    </VirtualHost>
    

####run composer install vendors

    export SYMFONY_ENV=lsd
    export APPLICATION_ENV=lsd
    export SYMFONY_DEBUG=1
    
    php composer.phar install
    
    # cache clear
    php app/console cache:clear -e=lsd
    
    # install assets
    php app/console assets:install -e=lsd
    
    # dump assetic
    php app/console assetic:dump -e=lsd    
    
###configuration saml application in uws

1. assign your configured application to the user

        life_style_saml_auth:
            sp_name: ls-sso-idp
            idp_app_name: SsoUserWsAdmin
            
2. add the roles to the configured application

        ROLE_SUPER_ADMIN
        ROLE_SUPER_ADMIN_EXTENDED