Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

authentication table

DKarthick
Explorer
0 Likes
1,076

hi,i am doing a project which invovles sap as backend and angular as frontend.i made a login form which needs to be authenticated in the backend sap.to do so i have to create a zlogin table which holds userid and password.in which the userid needs to be string as well as primary key.but i cant use string as a primary key.what should i do??

3 REPLIES 3
Read only

Former Member
957

You do not need to manage user id an password service-wise, it is taken care by the SAP system.

Access restriction should be achieved via authorization check.

Read only

Sandra_Rossi
Active Contributor
0 Likes
957

Storing the password in plain text or the password hash?

User ID has probably a limited length, you then don't need String.

Read only

former_member317614
Participant
0 Likes
957

In ABAP tables string type is CLOB.

So to store user name use CHAR with fixed max length.

P.S. is it "legal" to use single user as background user to authentificate with some Z-code ?