cancel
Showing results for 
Search instead for 
Did you mean: 

Custom login module EP6.0 SP2: "Missing handler"

Former Member
0 Kudos

Hallo,

I'm developing custom login module on EP6.0 SP2. When I'm trying to login to portal, I'm still getting message:

"Unknown message (ID = Logon failed, missing handler)" on logon screen. I'm sure, that this logon screen (<frontendtarget>com.sap.portal.runtime.logon.certlogon</frontendtarget>) provides callback handler. I even cannot locate (in code) where the exception raise. I think its outside the code written by me (outside definition of my login module).

Thanks for any help.

Pepa

PS: even login() method do not start..

Message was edited by: Josef Motl

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I found solution by myself. I was asking on this forum in thread "NoClassDefFoundError in custom login module", why I cannot access library com.sap.security.api from my module. Solution was: add entry to ../manager/library.txt - reference MyLoginModule com.sap.security.api. But there must be also entry - reference com.sap.security.api MyLoginModule, otherwise I get mentioned excetion.

I think, it is becouse LoginContext (class from com.sap.security.api) need access to class of all login modules. So, there have to be this cross reference. Maybe this can be done also by adding entry:

library com.sap.security.api ....; MyLoginModule

But I didn't try it, becouse solution described above works:)