Skip to content

hsanmartin/SAPJamSampleCode

 
 

Repository files navigation

SAPJamSampleCode

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

OpenSAP2015 - Unit 3

  • Source code for the Open SAP Extending your HANA Cloud Platform with Jam Week, unit 3 demo.
    • Requirements – an account on SAP HANA Cloud Platform Trial Account with the SAP Jam developer edition enabled.
  • These Java server pages uses your SAP HANA Cloud Platform and SAP Jam instance via OAuth2SAMLBearerAssertion to:
    • Get general information from SAP Jam about the currently logged-in user and the list of groups that user belongs to.
    • Get group specific information from SAP Jam
    • Create a single-use token for SAP Jam div-embedded widget authentication
    • Create a group
    • Create a group with a Primary External Object

OAuth_1_HMAC-SHA1

  • Provides authentication of the SAP Jam 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 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 API with OAuth1.0 and the HMAC-SHA1 signature type.

OpenSocial/Gadget/HCP_Lumira

OpenSocial/Gadget/Localization

OpenSocial/Gadget/Search/Search_Jam_Appdata

OpenSocial/Gadget/Tutorial

SAP_Jam_OData_HCP

  • Source code for the "Using the SAP Jam API to access data in Jam via OData" tutorial in the "SAP Jam Developer Guide".
  • This Java servlet uses your SAP HANA Cloud Platform and SAP Jam instance via OAuth2SAMLBearerAssertion to:
    • Get general information from SAP Jam about the currently logged-in user and the list of groups that user belongs to.
    • Get group specific information from SAP Jam.
    • Create a single-use token for SAP Jam div-embedded widget authentication.

Widgets/Div/Feed

License

Copyright 2014, SAP AG

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 75.8%
  • JavaScript 14.5%
  • HTML 7.9%
  • CSS 1.8%