Hello all,
I'm on EP 7.0 SP 9.
I've created a login module by going through the links:
http://help.sap.com/saphelp_nw2004s/helpdata/en/e0/397b6073674da2b835ea6d10d8934b/frameset.htm
and
http://help.sap.com/saphelp_nw2004s/helpdata/en/46/3ce9402f3f8031e10000000a1550b0/content.htm
I created the jar file, then a library file, then a SDA file and deployed onto the engine.
Then through the visual admin, i added the new login module under usermanagement. I set it for BASIC and Form based.
Then I changed the authschemes to included/changed the following lines:
<authscheme name="MyLogon">
<authentication-template>
com.home.loginmodule.MyLoginModuleClass
</authentication-template>
<priority>20</priority>
<frontendtype>2</frontendtype>
<frontendtarget>com.sap.portal.runtime.logon.basicauthentication</frontendtarget>
</authscheme>
<authscheme-refs>
<authscheme-ref name="default">
<authscheme>MyLogon</authscheme>
</authscheme-ref>
After starting the engine, I went to the my login page, but that doesnt showup. Instead it gives a windows login window asking username and password. Open typing the details, it allowed me to login.
When I see the log, i find this info:
<i>Date : 03/07/2007
Time : 14:43:56:546
Message : LOGIN.OK
User: administrator
Authentication Stack: ticket
Login Module Flag Initialize Login Commit Abort Details
com.home.loginmodule.MyLoginModuleClass SUFFICIENT <b>Cannot load login module class.</b>
com.sap.security.core.server.jaas.EvaluateTicketLoginModule SUFFICIENT ok false false
com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule REQUISITE ok true true
com.sap.security.core.server.jaas.CreateTicketLoginModule OPTIONAL ok true true
Central Checks true
Severity : Info
Category : /System/Security/Authentication
Location : com.sap.engine.services.security.authentication.logincontext
Application : sap.com/irj>
As you can see my loginmodule cant find the class.
Am I missing anything ? Please guide me.
My intension is to change the loginmodule which actually strips off groupname from the userid (the third party application sendsout groupname/username). Am I going on the right path ?
Thanks in advance,
Deepankar.