Skip to Content
0

SAP PI: "Authentication did not succeed"

Apr 11 at 04:11 PM

76

avatar image
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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Yogesh Patel
Apr 11 at 04:23 PM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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

0

What SSO method are you using?

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

-Yogesh

0