Yes, it's possible. According to help.sap.com:
This authentication method provides the following advantages:
It includes extensive federation capabilities, which means that it works well in scenarios with federated user domains, where trust configuration can be complicated.
Source:
https://help.sap.com/doc/saphelp_hba/1.0/en-US/0d/0ba7530bb90077e10000000a4450e5/frameset.htm
Best regards
Bartosz
Add comment