cancel
Showing results for 
Search instead for 
Did you mean: 

connecting using User alias ?

Former Member
0 Kudos

Hello,

Our portal use a backend sap system to get the user authentification/authorization. User in this systems are created with username, password lastname, firstname, and alias, by the way of a call to BAPI_USER_CREATE1 (from another sap system).

Since we use the SAP login, we are restricted to 12 characters for the login. We thus would like to use the alias instead in the portal.

Is this possible ?

Regards,

Guillaume PATRY

Accepted Solutions (0)

Answers (3)

Answers (3)

darren_hague
Contributor
0 Kudos

I have the same requirement. I think that currently, the only approach is to write a login module together with a ABAP-based UME config. The new login module would replace BasicPasswordLoginModule and would use a UME call to lookup the user's SAP userID from their alias - this would then be used to validate their password and would become the portal userID.

A hypothetical alternative would be to create a custom ABAP-based UME config with physical/logical attribute mappings used to set UserID=alias and ABAP_ID = userid, but I think that this sort of thing may only be possible with LDAP-based user repositories.

- Darren

Former Member
0 Kudos

i suppose i could write a new JAAS module that get the

login, check it (via JCO) against alias in table USR*of our SAP system, and put into the auth_nam the corresponding SAP userId.

if i unserstand the JASS document, this should work.

However, in case of SSO using SAPlogonTicket, we would have a windows Id that is different from the SAP Id.

Would the JASS module be used (thus ignoring the difference in userId), or is this solution invalid ?

Regards

Guillaume PATRY

Former Member
0 Kudos

Hi Guillaume,

Did you manage to configue this? I also want to use the LDAP Alias instead of teh USerID.

Thanks,

Haik

Former Member
0 Kudos

HI,

We didn't do it.

Client had another project (non-portal) where the login limits was 14 characters, so the problem would have appeared here. thus we kept the 12 char limits

Regards

former_member195896
Contributor
0 Kudos

hi,

I think you have to login with the SAP User Id and not the alias.

cheers