hi all!
im trying to implement sso with apache tomcat on linux (sles9 sp3), so i downloaded SAPSSOEXT_2-10002920.sar and SECULIB54_1-10002909.sar and installed both of the libs. the included ssosample.jsp runs on apache tomcat 4.1.30 but i got an error returned:
java.lang.Exception: MySapEvalLogonTicketEx failed: standard error= 9, ssf error= 0
i found out that the standard error 9 means "internal error" but this is not helpful to me.
especially because if i use the SSO2Ticket.java on command line with the verify.pse file and the ticket copied into a file like this:
java -Djava.library.path=. SSO2Ticket -i ticket -p /opt/Tomcat41/webapps/saptest/verify -L libsapsecu.so
i got this output:
SAPSSOEXT loaded.
static part ends.
Start SSO2TICKET main
-
test version -
Version of SAPSSOEXT: SAPSSOEXT 2
***********************************************
Output of program:
***********************************************
The ticket
AjExMDAgABBwb3J0YWw6YjN3YWduZXJ3iAATYmFzaWNhdXRoZW50aWNhdGlvbgEACUIzV0FHTkVSVwIAAzAwMAMAA1MzUAQADDIwMDYxMjEyMTQxMAUABAAAAAgKAAlCM1dBR05FUlf%2FAPUwgfIGCSqGSIb3DQEHAqCB5DCB4QIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYHBMIG%2BAgEBMBMwDjEMMAoGA1UEAxMDUzNQAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNjEyMTIxNDEwMThaMCMGCSqGSIb3DQEJBDEWBBRSwrPmy1B4b%2FmSHXgPfgJWW0gXnTAJBgcqhkjOOAQDBC8wLQIUIcITjhD8ADHIvvvPWssC6JGdoNMCFQClejqeKNKPsEnpuh6UhcCANvbi3g%3D%3D
was successfully validated.
...
so i wonder whats the problem with the jsp??? both the libsapssoext.so and the libsapsecu.so are in the java library path.
does anyone know how to fix this??