on 03-01-2010 9:55 AM
Hi, all
i got some issue about customize SPNegoLoginModule.
Firstly, i have completed the configuration following the "[Configuring and troubleshooting SPNego|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8235] [original link is broken];"
Then i also got some .ear file, src file from NOTES 994791 - SPNego Wizard.
My issue is: i have to change the prefix of user name i got from HTTP like aaa_userid to zzz_userid,
then i can make a successful client authentication.
So how could i get the source code of SPNegoLoginModule to modify, or some other suggestion?
Thanks in advanced!
Fishy
Hi,
You can get the source code for SPNegoLoginModule from :
\usr\sap\<SID>\j2ee\cluster\server0\bin\ext\security.class\tc_sec_jaas.jar.
The class is com.sap.security.core.server.jaas.SPNegoLoginModule.
Create a new login module and copy the code from SPNegoLoginModule. I have never tried this for SPNego so not sure but have changed the basic password login module.
Regards,
Vijith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The standard LoginModule works perfect.
Then i bulid my java project, my library project, bulid SDA file, modified LoginModuleClassLoaders in Configtool,
also add new LoginModule to replace the standard one.
But i failed to login to EP, and get "NoClassDefFoundError: com/sap/security/api/UMException" on the Login screen.
Screenshot here: http://i49.tinypic.com/ohv0r6.jpg
it seems i miss some JAR in my project or something else?
Regards!
Fishy
Edited by: fishy yu on Mar 3, 2010 8:56 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot. i've got the class file.
Furethermore, you mean to bulid a new MyLoginModule to replace the StandardLoginModule, not overwrite the old one?
Fishy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.