Connecting Sakai and uPortal

2,663 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,663
On SlideShare
0
From Embeds
0
Number of Embeds
199
Actions
Shares
0
Downloads
31
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide


















  • Connecting Sakai and uPortal

    1. 1. Connecting Sakai & uPortal Steve Swinsburg Senior Software Engineer / Sakai Fellow 2009-2010 The Australian National University June 2010
    2. 2. What we wanted to achieve How we did it & technologies used Demo Configuration Overview 11th Sakai Conference - June 15-17, 2010 2
    3. 3. What we wanted to achieve • Bringing a portal online at ANU • Link together existing systems • “One stop shop” for services • IMS Basic LTI recently added to Sakai 11th Sakai Conference - June 15-17, 2010 3
    4. 4. A quick look Portlet, renders Sakai tools inside uPortal Users can choose what tool from what site 11th Sakai Conference - June 15-17, 2010 4
    5. 5. Basic LTI Web services How we did it 11th Sakai Conference - June 15-17, 2010 5
    6. 6. Basic LTI • Allows rendering of external tools in Sakai, and Sakai tools outside • Specially crafted HTTP request, signed by OAuth • Many external integrations use a similar approach (params + shared secret + checksum), this formalises it into a spec. 11th Sakai Conference - June 15-17, 2010 6
    7. 7. Basic LTI • Initial Basic LTI implementation in Sakai namespaced users and sites to keep them sandboxed away from general population. 11th Sakai Conference - June 15-17, 2010 7
    8. 8. Basic LTI • New users/site not ideal for integrating systems that share information • Modified Basic LTI to allow clean passthrough • ... skips namespacing, uses data as-is • One additional property to sakai.properties 11th Sakai Conference - June 15-17, 2010 8
    9. 9. Web services • Needed additional data: • getUserId(session, eid); • getPagesAndToolsForSite(session, siteid); • Existing web services: • getSessionForUser(session, eid); • getSitesUserCanAccess(session); 11th Sakai Conference - June 15-17, 2010 9
    10. 10. Web services <site id="9ec48d9e-b690-4090-10a44ed7656e"> <pages> <page id="ec1b0ab8-90e8-4d4d-1e586035f08f"> <page-title>Resources</page-title> <tools> <tool id="dafd2a4d-8d3f-8e12-171968b259cd"> <tool-id>sakai.resources</tool-id> <tool-title>Resources</tool-title> </tool> ... </tools> </page> ... </pages> </site> 11th Sakai Conference - June 15-17, 2010 10
    11. 11. Portlet setup Set custom title & frame height Choose site Choose tool 11th Sakai Conference - June 15-17, 2010 11
    12. 12. Basic LTI request http://localhost:8080/imsblti/provider/sakai.resources context_id:901868c8-ea8c-45b9-a329-2ab8a1ab702c lti_message_type:basic-lti-launch-request lis_person_contact_email_primary:steve.swinsburg@gmail.com lis_person_name_full:Steve Swinsburg lti_version:LTI-1p0 oauth_consumer_key:my.anu.edu.au oauth_nonce:1276220159279202000 oauth_signature:sppLAK277l5OldQOXl3MaAdXwUA= oauth_signature_method:HMAC-SHA1 oauth_timestamp:1276220159 oauth_version:1.0 resource_link_id:Pluto_29_u24l1n19_ tool_consumer_instance_guid:my.anu.edu.au user_id:e58d8daa-f9bf-482f-9b18-2c654f19e565 11th Sakai Conference - June 15-17, 2010 12
    13. 13. The result 11th Sakai Conference - June 15-17, 2010 13
    14. 14. Configuration 11th Sakai Conference - June 15-17, 2010 15
    15. 15. Sakai sakai.properties # enable the web services (please configure this properly!) webservices.allow=.+ # enable and configure Basic LTI basiclti.provider.enabled=true basiclti.provider.allowedtools=sakai.resources:sakai.rwiki basiclti.provider.my.anu.edu.au.secret=secret # allow clean passthrough basiclti.provider.highly.trusted.consumers=my.anu.edu.au 11th Sakai Conference - June 15-17, 2010 16
    16. 16. Portlet portlet.xml and web.xml endpoint=http://server/imsblti/provider/ key=my.anu.edu.au secret=secret allowedtools=sakai.resources:sakai.rwiki sakai.admin.username=admin sakai.admin.password=admin sakai.ws.login.url=http://.../sakai-axis/SakaiLogin.jws?wsdl sakai.ws.script.url=http://.../sakai-axis/SakaiScript.jws?wsdl 11th Sakai Conference - June 15-17, 2010 17
    17. 17. Questions? Source, binaries and installation instructions will be made available on the Jasig Portlet confluence space https://wiki.jasig.org/display/PLT/Sakai+connector+portlet 11th Sakai Conference - June 15-17, 2010 18

    ×