aa enabling a closed source legacy application
play

AA enabling a closed source legacy application Jan Du Caju ICT - PowerPoint PPT Presentation

EuroCAMP 15nov2007 AA enabling a closed source legacy application Jan Du Caju ICT security officer K.U.Leuven Belgium Jan.DuCaju@icts.KULeuven.be EuroCAMP 15nov2007 AA enabling a closed source legacy application Introduction: context


  1. EuroCAMP 15nov2007 AA enabling a closed source legacy application Jan Du Caju ICT security officer K.U.Leuven Belgium Jan.DuCaju@icts.KULeuven.be

  2. EuroCAMP 15nov2007 AA enabling a closed source legacy application Introduction: context association K.U.Leuven Case: AA enabling SAP The gory details: configuring the components General: AA enabling by means of a reverse proxy Conclusions Jan.DuCaju@icts.KULeuven.be

  3. EuroCAMP 15nov2007 AA enabling a closed source legacy application Introduction: context association K.U.Leuven Case: AA enabling SAP The gory details: configuring the components General: AA enabling by means of a reverse proxy Conclusions Jan.DuCaju@icts.KULeuven.be

  4. EuroCAMP 15nov2007 Introduction: context association K.U.Leuven educational landscape reflects political situation association K.U.Leuven 1 university and 12 schools of higher education Need for resource sharing 2004: Shibboleth for institutional and inter-institutional web resources Jan.DuCaju@icts.KULeuven.be

  5. EuroCAMP 15nov2007 Introduction: context association K.U.Leuven Every institution of association K.U.Leuven has its own central AAI (Authentication and Authorization Infrastructure incl. Shibboleth IdP) Resources e-learning: Blackboard and other coupled education apps library: Ex Libris, and access to scientific papers, publications and databases work place context: Horde webmail, groupware and inter-institutional offers research context: HPC et al administrative and organizational context: SAP Federations K.U.Leuven (institutional) Association K.U.Leuven K.U.Leuven - UZLeuven (university hospital) Not yet :-\ a national federation at NREN level (Belnet) Jan.DuCaju@icts.KULeuven.be

  6. EuroCAMP 15nov2007 AA enabling a closed source legacy application Introduction: context association K.U.Leuven Case: AA enabling SAP The gory details: configuring the components General: AA enabling by means of a reverse proxy Conclusions Jan.DuCaju@icts.KULeuven.be

  7. EuroCAMP 15nov2007 Case : AA enabling SAP Administrative and organizational applications: SAP K.U.Leuven: Campus management, HR, FI, … Corona project: 6 institutions of association K.U.Leuven for implementing SAP campus management SAP access control possibilities Basic authentication Digest Form Client certificate Evaluate assertion ticket (SAML) SAPssoTicket Goals: password does not pass the application use an AAI component Jan.DuCaju@icts.KULeuven.be

  8. EuroCAMP 15nov2007 Case: AA enabling SAP SAP access control via evaluation of an assertion ticket Problem: SAP speaks a subset of SAML1.1 :-( • Assertions must not contain the elements Condition and AudienceRestrictionCondition • Assertions must have exactly one AuthenticationStatement element which must have a NameIdentifier element • If present, the elements AuthorizationDecisionStatement and AttributeStatement are ignored • Creating or verifying digital signatures is not supported SAP considers to implement SAML2.0 sometime in the future :-( Jan.DuCaju@icts.KULeuven.be

  9. EuroCAMP 15nov2007 Case: AA enabling SAP Shibboleth enabled reverse proxy in front of SAP servers Extra layer of security Usage of AAI Shibboleth component for general access control Jan.DuCaju@icts.KULeuven.be

  10. EuroCAMP 15nov2007 Case: AA enabling SAP Access control Reverse proxy access control via Shibboleth (mod_shib) Only general access control, application specific authZ remain in application SAP access control via a valid SAPssoticket obtained at J2EE-engine (SAP portal) Jan.DuCaju@icts.KULeuven.be

  11. EuroCAMP 15nov2007 EuroCAMP 15nov2007 Case: AA enabling SAP r e v e r s e p r o x y Jan.DuCaju@icts.KULeuven.be Jan.DuCaju@icts.KULeuven.be

  12. EuroCAMP 15nov2007 Access control via SAP SSO ticket JAVA and ABAP web apps access via browser SAP SSO ticket in cookie ABAP non-web apps access via a client: SAPgui link or URL (in SAP portal) to a SAPgui Shortcut file associated in Windows with the SAPgui client contains SAP SSO ticket Jan.DuCaju@icts.KULeuven.be

  13. EuroCAMP 15nov2007 Accessing SAP applications JAVA and ABAP web apps (link in SAP portal or in WAS) ABAP non-web app via link to a SAPgui shortcut file firewall https://webwsp.aps.kuleuven.be https://wsp.cc.kuleuven.be Java / Portal Apache reverse proxy LoginModuleStack mod_SSL (mod_security) Evaluate ticket Login Module SUFFICIENT mod_shib mod_proxy Header Variable Login Module OPTIONAL browser Create ticket Login Module SUFFICIENT p11.cc.kuleuven.be SAPssoTicket ABAP SAPgui Evaluate SAPssoTicket REQUIRED Jan.DuCaju@icts.KULeuven.be

  14. EuroCAMP 15nov2007 Accessing SAP JAVA and ABAP web apps Jan.DuCaju@icts.KULeuven.be

  15. EuroCAMP 15nov2007 Accessing SAP ABAP non-web applications Example of SAPgui Shortcut file (tx.sap) [System] Name=P11 Client=300 GuiParm=/M/P11.cc.kuleuven.be/S/3600/G/productie [User] Name=U0001439 at="MYSAPSSO2=AjExMDAgAA9wb3J0YWw6VTAwMDE0MzmIABNiYXNpY2 F1dGhlbnRpY2F0aW9uAQAIVTAwMDE0MzkCAAM5OTkDAANXU1AEAAw yMDA3MDUxMDE1NTAFAAQAAAAMCgAIVTAwMDE0Mzn/APUwgfIGCSqG SIb3DQEHAqCB5DCB4QIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNA QcBMYHBMIG+AgEBMBMwDjEMMAoGA1UEAxMDV1NQAgEAMAkGBSsOAw IaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb 3DQEJBTEPFw0wNzA1MTAxNTUwNDJaMCMGCSqGSIb3DQEJBDEWBBRf V5O19GIZCInkdkYoC0N7AxN7XDAJBgcqhkjOOAQDBC8wLQIUL2rYN SImSAsBhWBuRDQzUiISASMCFQCTPasn/RL26iMTko2cSWK/jDtW1A ==" [Options] Reuse=0 Jan.DuCaju@icts.KULeuven.be

  16. EuroCAMP 15nov2007 AA enabling a closed source legacy application Introduction: context association K.U.Leuven Case: AA enabling SAP The gory details: configuring the components General: AA enabling by means of a reverse proxy Conclusions Jan.DuCaju@icts.KULeuven.be

  17. EuroCAMP 15nov2007 Configuration overview Communication reverse proxy and SAP portal: Vhost webwsp.asp.kuleuven.be Adjusting SAP LoginModuleStack Configuration of access to SAP servers SAP transactions : rz10 and strustsso2 Jan.DuCaju@icts.KULeuven.be

  18. EuroCAMP 15nov2007 Vhost webwsp.aps.kuleuven.be SSL enabled # communication to browser SSLEngine On SSLCertificateFile /etc/pki/webwsp.aps.kuleuven.be.crt SSLCertificateKeyFile /etc/pki/webwsp.aps.cc.kuleuven.be.key # mutual certificate authentication with SAP SSLProxyEngine On SSLProxyCACertificateFile /etc/pki/ca-bundle.crt SSLProxyMachineCertificateFile /etc/pki/webwsp.pem SSLProxyVerify require SSLProxyVerifyDepth 3 Jan.DuCaju@icts.KULeuven.be

  19. EuroCAMP 15nov2007 Vhost webwsp.aps.kuleuven.be (continued) Protected with Shibboleth authorization based on affilation header shib-person-uid must be set <Location /> AuthType shibboleth ShibRequireSession on require affiliation member </Location> Reverse proxy ProxyPass / https://wsp.cc.kuleuven.be:8098/ retry=2 ProxyPassReverse / https://wsp.cc.kuleuven.be:8098/ ProxyVia Off ProxyPreserveHost On Jan.DuCaju@icts.KULeuven.be

  20. EuroCAMP 15nov2007 Login Module Stack of J2EE - engine Visual administrator Security Provider SAP-J2EE-engine Jan.DuCaju@icts.KULeuven.be

  21. EuroCAMP 15nov2007 transaction rz10 Allow access with SAPssotickets Jan.DuCaju@icts.KULeuven.be

  22. EuroCAMP 15nov2007 transaction strustsso2 Configure which SAPssotickets are allowed (signed by) Jan.DuCaju@icts.KULeuven.be

  23. EuroCAMP 15nov2007 AA enabling a closed source legacy application Introduction: context association K.U.Leuven Case: AA enabling SAP The gory details: configuring the components General: AA enabling by means of a reverse proxy Conclusions Jan.DuCaju@icts.KULeuven.be

  24. EuroCAMP 15nov2007 AA enabling via reverse proxy remote_user in backend server - complex rewrite rules - use another header variable released by IdP e.g. shib-person-uid Security (spoofing): only uid is passed no password - mutual certificate authentication between proxy and backend server - persistent connection over ssl (keep-alive) is not yet :-/ possible with Apache mod_proxy - firewall filtering Jan.DuCaju@icts.KULeuven.be

  25. EuroCAMP 15nov2007 AA enabling a closed source legacy application Introduction: context association K.U.Leuven Case: AA enabling SAP The gory details: configuring the components General: AA enabling by means of a reverse proxy Conclusions Jan.DuCaju@icts.KULeuven.be

  26. EuroCAMP 15nov2007 Conclusion AA enabling a closed source legacy application - dependent on application - one possibility: by means of a Shibboleth enabled reverse proxy in front of the app Credits URL’s Philip Brusten http://kuleuven.be/english Jan Van der Velpen http://associatie.kuleuven.be/eng http://shib.kuleuven.be Jan.DuCaju@icts.KULeuven.be

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend