Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shibboleth integráció dokumentálása #15

Open
jmarton opened this issue Jan 21, 2018 · 0 comments
Open

Shibboleth integráció dokumentálása #15

jmarton opened this issue Jan 21, 2018 · 0 comments

Comments

@jmarton
Copy link
Member

jmarton commented Jan 21, 2018

Amikor elkészült az integráció, akkor az install doksi frissítendő.

L. bme-db-lab/szglab5-backend#39

Indulásképpen némi raw infó ehhez:

# apt-get install apache2 libapache2-mod-shib2
# shib-keygen
# a2enmod ssl shib2
Beállítandó fájlok:
#############
# /etc/shibboleth/shibboleth2.xml:
## //ApplicationDefaults/@entityID="https://fecske.example.com/shibboleth"
## //SSO/@entityID="https://idp.example.com/idp/shibboleth", ./@discoveryProtocol, ./@discoveryURL attribútumok eltávolítása
## //MetadataProvider[./@uri] élesítése kommentből, majd
### ./@uri="https://idp.example.com/idp/profile/Metadata/SAML"
### ./@backingFilePath="example-idp_metadata.xml
### ./MetadataFiler kommentezése
### ./DiscoveryFiler kommentezése
#############
# /etc/shibboleth/attribute-map.xml: hozzáadni a specifikus attribútumokat
# systemctl restart shibd
# systemctl restart apache2
#############
# /etc/apache2/sites-enabled/default-ssl.conf:
<Location /api/auth/loginshibboleth>
AuthType shibboleth
ShibRequestSetting requireSession Off
Require shibboleth

# because NodeJS was set up behind a reverse proxy and not as CGI, which we eventually should move to
# in the meantime, see: https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSpoofChecking
ShibUseHeaders On
</Location>

szerk: hozzáadtam az Apache vhost-ba írandó konfigurációt. - jmarton, 2018-01-31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant