This repository was archived by the owner on Jun 10, 2022. It is now read-only.

SAP-archive/jam-collaboration-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This public repository is read-only and no longer maintained. For the latest sample code repositories, visit the SAP Samples organization.

A collection of simple sample code containing examples that demonstrate simple API and integration workflows.

  • Source is located here:
  • Source code for the Open SAP Extending your SAP Cloud Platform with Jam Week, unit 3 demo.
    • Requirements – an account on SAP Cloud Platform Trial Account with the SAP Jam Collaboration developer edition enabled.
  • These Java server pages uses your SAP Cloud Platform and SAP Jam Collaboration instance via OAuth2SAMLBearerAssertion to:
    • Get general information from SAP Jam Collaboration about the currently logged-in user and the list of groups that user belongs to.
    • Get group specific information from SAP Jam Collaboration
    • Create a single-use token for SAP Jam Collaboration div-embedded widget authentication
    • Create a group
    • Create a group with a Primary External Object
  • Provides authentication of the SAP Jam Collaboration API with OAuth1.0 and the HMAC-SHA1 signature type.
  • This example assumes a Jam deployment with an OAuth client application configured for a company, and a user that can successfully log into the company via the Web UI to authorize the OAuth client to make API requests on behalf of the user.
  • Consists of the following Eclipse Projects:
    • jam_java_oauth1_client
      • Client library that provides authentication of the SAP Jam Collaboration API with OAuth1.0 and the HMAC-SHA1 signature type.
      • Dependencies:
    • jam_java_oauth1_hmac_sha1_client_sample
      • Sample client code that uses the jam_java_oauth1_client library to illustrate authentication of the SAP Jam Collaboration API with OAuth1.0 and the HMAC-SHA1 signature type.
  • Source is located here:
  • Source code for the "Integrations using SAP Jam Collaboration API for applications on SAP Cloud Platform" tutorial in the "SAP Jam Collaboration Developer Guide".
  • This Java servlet uses your SAP Cloud Platform and SAP Jam Collaboration instance via OAuth2SAMLBearerAssertion to:
    • Get general information from SAP Jam Collaboration about the currently logged-in user and the list of groups that user belongs to.
    • Get group specific information from SAP Jam Collaboration.
    • Create a single-use token for SAP Jam Collaboration div-embedded widget authentication.

Copyright (c) 2014 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

About

A collection of simple sample code containing examples that demonstrate simple API and integration workflows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7