Thanks for filling out our form!
Here's what happens next:

We'll write you back as soon as possible, right now we might be very busy saving the World. Give us a day or two, we'll contact you for sure.


In the meantime, perhaps you would like to take a look at one of our blog posts that explains

How do we work with our Clients
How we can help you with your business

In Touch,
Prograils Team

Prograils blog

Jędrzej Wiśniewski on 03.02.15 in Ruby on Rails
Post sap hana

SAP Hana Rails App with SAP Authorization system

If you have a Rails application running on the SAP Hana platform the issue you may encounter is how to allow users to login with their SAP account. We’ve managed to accomplish it and we would like to share with you a small tutorial about how we did that.

We’ve used a FORM based SAP Hana authentication method. More about SAP authentication strategies you can find here.

First, if you are using warbler gem, you have to create a web.xml file to overwrite the web.xml file originally created by warbler. For my app the file looks like this:

Next, you’ll have to define a couple of methods in your controller to make SAP login authorization possible. Here is an example how I did it in my controller:

Then you only need to add your sap_test to your roots.rb and you are ready to go.

Ps - Wonder how to get your Rails app running on the SAP HANA Cloud Platform? All clear!

Photo by: startupstockphotos.com

Share on
comments powered by Disqus