SingleSignOn ( SSO) in SAP HANA(SAP HANA中的单点登陆)

简介:
+关注继续查看

This blog will give you details on setting up Single sign on (SSO) with SAP Hana using Kerberos.

Why do we need SSO ?

By enabling SSO, users can directly login from BO ( or any Front end Application) & access Hana database without providing login credentials again

There are different teams involved for this set up ( This may change based on your organization structure)

1) System administrator needs to install Kerberos Client on Hana server

2) Active Directory & Service account set up is done by of Identity Management Administrator

3) Hana Administrator needs to set  up  the configuration & user creation

Note: I have greyed out server names & service account names in screen shots for security reasons

Kerberos Client Installation:

Please make sure that the Kerberos client & libraries are installed on the Hana Database server

image

 

Creation of service account:

Identity Management Administrator will need to create a service user & a Service Principal Name( SPN) for each host on the system . For scale out box, we need to create 1 SPN for each host . Please find screen shot

image

image

The SPN needs to have the following syntax:

hdb/ <Domain Name >@Kerberos realm name

<Domain Name>: fully qualified domain name of the host

Generating a key Tab :

ktpass -princ hdb/ <servername.Domain Name>@ <REALM> -mapuser  <Domain>\<serviceuser> -pass <password> -out <keytabfile >.keytab -ptype<PRINCIPAL> -crypto <CRYPTOGRAPHIC TYPE>

<PRINCIPAL> = KRB5_NT_PRINCIPAL

<CRYPTOGRAPHIC TYPE> = RC4-HMAC-NT

Using the above syntax key tab file is generated

Hana Admin configuration:

Login  as root & update the krb5.conf file. This is located at /etc/krb5.conf

Entries in the file

[libdefaults]

default_realm= <realm>

[realms]

<realm>={ kdc=<kdc_name>}

Where <realm> and <kdc name>are the names of your Kerberos realm and KDC.

Realm is your domain name in uppercase letters, such as DOMAIN_NAME.

Note : if you are not aware of the above parameters like realm , KDC Name , Domain Name please contact your Active directory Adminstrator

Import the key tab which was generated into Hana Box.

Make sure the permissions are changed

image

 

Creation of  user  in HANA:

This can be done via GUI screen or via sql syntax

CREATE USER Kiran IDENTIFIED EXTERNALLY AS ‘Kiran@Realm’ ;

Please assign the appropriate role to this user

While configuring the user in Hana studio , Please check the authentication by OS user as shown below

 

image

专注于企业信息化,最近对股票数据分析较为感兴趣,可免费分享股票个股主力资金实时变化趋势分析工具,股票交流QQ群:457394862
分类: SAP HANA

本文转自沧海-重庆博客园博客,原文链接http://www.cnblogs.com/omygod/archive/2013/04/24/3039470.html,如需转载请自行联系原作者
目录
相关文章
|
存储 前端开发 搜索推荐
SAP Commerce Cloud UI 的用户会话管理
SAP Commerce Cloud UI 的用户会话管理
SAP Commerce Cloud UI 的用户会话管理
一些SAP Partners能够通过二次开发实现打通 SAP C/4HANA和S/4HANA 的场景分享
有好几位朋友在公众号后台给我留言询问SAP C/4HANA和S/4HANA集成的方案。
一些SAP Partners能够通过二次开发实现打通 SAP C/4HANA和S/4HANA 的场景分享
SAP ABAP Netweaver和Hybris Commerce的部署策略
SAP ABAP Netweaver和Hybris Commerce的部署策略
67 0
SAP ABAP Netweaver和Hybris Commerce的部署策略
|
JSON 缓存 数据安全/隐私保护
ABAP Netweaver, Hybris Commerce和SAP 云平台的登录认证
ABAP Netweaver, Hybris Commerce和SAP 云平台的登录认证
100 0
ABAP Netweaver, Hybris Commerce和SAP 云平台的登录认证
|
Web App开发 存储
SAP Hybris Commerce,CRM和C4C的登录语言选择
SAP Hybris Commerce,CRM和C4C的登录语言选择
SAP Hybris Commerce,CRM和C4C的登录语言选择
SAP CRM, C4C和Hybris Commerce的数据迁移策略
SAP CRM, C4C和Hybris Commerce的数据迁移策略
SAP CRM, C4C和Hybris Commerce的数据迁移策略
|
存储 算法 大数据
SAP HANA 平台介绍
SAP HANA以大规模并行内存计算范式为基础,极大地提高了信息处理速度。SAP HANA架构利用单一列式内存数据存储数据中的的单份数据,执行联机事务处理(OLTP)和联机分析处理 (OLAP)。简言之,SAP HANA能够消除数据冗余,磁盘延迟,以及应 用与分析工昊之间的数据移动。
10885 0
推荐文章
更多