cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI: "Authentication did not succeed"

nicola_martella2
Participant
0 Kudos
Hi people.
I'm working on a SAP PI 7.30 double stack.

I developed a custom java module working on a communication channel adapter file in receive mode.

The module write a file on the file system and works fine.

The problem is that each time the module runs, in Log Viewer I find following error:

LOGIN.FAILED

User: PIISSPI
IP Address: xxx.xxx.xxx.xxx
Authentication Stack: sap.com/com.sap.aii.af.ms.app*MessagingSystem
Authentication Stack Properties:
template = ticket
policy_domain = /RWB
auth_method = basic
realm_name = Message Monitoring Login Module Flag Initialize Login Commit Abort Details
1. com.sap.security.core.server.jaas.EvaluateTicketLoginModule SUFFICIENT ok false true
#1 trusteddn1 = OU=J2EE,CN=PSM
#2 trusteddn2 = CN=PSM
#3 trustediss1 = OU=J2EE,CN=PSM
#4 trustediss2 = CN=PSM
#5 trustedsys1 = PSM,000
#6 trustedsys2 = PSM,001
#7 ume.configuration.active = true
2. com.sap.security.core.server.jaas.SPNegoLoginModule OPTIONAL ok exception true Authorization header received is not SPNEGO token: Basic PIISSPI:<secure content>
3. com.sap.security.core.server.jaas.CreateTicketLoginModule REQUIRED ok false true
4. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule REQUISITE ok exception true Authentication did not succeed.
5. com.sap.security.core.server.jaas.CreateTicketLoginModule OPTIONAL ok true
No logon policy was applied
Any idea about it?
Thanks a lot for your support

Nicola

Accepted Solutions (0)

Answers (1)

Answers (1)

patelyogesh
Active Contributor
0 Kudos

Hello Nicola Martella,

Error what I see is : No logon policy was applied

Can you please check SAP help : Setting a Logon Policy for a Policy Configuration

https://help.sap.com/saphelp_nw73ehp1/helpdata/en/46/9c94a5ee464242a42a143b7309a235/frameset.htm

Thank you

Yogesh

nicola_martella2
Participant
0 Kudos

Hi Yogesh.
Thanks a lot for your response.


Really the error is

4. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule REQUISITE ok exception true Authentication did not succeed.

I'm sorry for not have highlighted it.

I believe that problem is related to the certificate needs for single sign on between Netweaver engines, perhaps attribute missing referred to filesystem use but I'm not sure for this because the file is correctly created into the directory.

Without my custom java module doesn't have the problem.

Unfortunatelly, I haven't enought skills about certificates and so your help is really welcome.

A great ciao.
Nicola

patelyogesh
Active Contributor
0 Kudos

What SSO method are you using?

There is similar error discussion in past: https://archive.sap.com/discussions/thread/3483686

-Yogesh