cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Portal Login API Failure: UME Exception: Login Failled

nepats
Explorer
0 Kudos

Hi All-

I am trying to programmatically login to the Portal. I developed an anonymous portal service that will be used by web clients to login users on request. The relevant code is below, however I keep seeing an error that states, "

UME Exception: Login Failled", but no other errors are shown.

The logon stack has the standard user/password login module configured. Any ideas?

ILogonAuthentication logonAuthentication = UMFactory.getLogonAuthenticator();

req.setAttribute(ILoginConstants.LOGON_UID_ALIAS, "userid");

req.setAttribute(ILoginConstants.LOGON_PWD_ALIAS, "password");

req.setAttribute("j_authscheme", "default");

ILogonFrontend frontEnd = logonAuthentication.getLogonFrontend("uidpwdlogon");

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189925
Active Contributor
0 Kudos

Hi

Can you check if the Logon stack for the Authentication is maintained correctly or not.

https://wiki.scn.sap.com/wiki/display/ASJAVA/How+to+Configure+Authentication+using+Client+Certificat...

https://help.sap.com/viewer/e815bb97839a4d83be6c4fca48ee5777/7.3.20/en-US/4a441cf1c6bf0451e10000000a...

2273981 - Configuring authentication stacks for the NetWeaver Application Server Java

Regards

Santarshi Samanta