cancel
Showing results for 
Search instead for 
Did you mean: 

Java API to create/generate a SSO login ticket

Former Member
0 Kudos

We are writing J2EE application which suppose to run on almost any Application Server.

The application has to connect to R/3 system using JCo and login ticket (because only user name is known).

We are looking for a security Java API which will generate a SSO login ticket which can be passed to JCo.

Is there any? What are requirements (public/private parts, etc..)?

Any examples?

Thanks in advance,

Igor

Accepted Solutions (0)

Answers (3)

Answers (3)

angel_dichev
Active Participant
0 Kudos

Take a look here as well,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/nw/netweaverdevelopersguide2004s... netweaver developer's%20Guide%202004s/ASSO%20Java.ca

Regards, Angel

Former Member
0 Kudos

Hi Angel,

This link doesn't work.

angel_dichev
Active Participant
0 Kudos

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/nw/netweaverdevelopersguide2004s/sap%20netweaver%20developer's%20Guide%202004s/ASSO%20Java.ca">Click here</a>

Regards, Angel

former_member182372
Active Contributor
0 Kudos

Hi Igor,

Try

com.sap.security.core.server.jaas.SAPLogonTicketHelper

.

Best regards, Maksim Rashchynski.

Former Member
0 Kudos

Hi Maksim,

Thanks for your reference. Which jar file contains this class? Will it work under any applications server like OC4J and WebLogic?

Thanks,

Igor

Former Member
0 Kudos

The aforementioned class is in tc_sec_jaas.jar. You'll also have to setup a runtime sharing reference to the applicable library (which is called security.class) that contains this jar file so you can deploy your application.

And no, this library won't work with other servers - these login tickets are specific to SAP. You'll have to construct a plugin architecture to get your application to communicate with the various vendor architectures.

Former Member
0 Kudos

Hi Ken,

Actually I need SAP specific tickets. I am asking will this jar work under other Application Serves and properly generate SAP tickets to connect to R/3?

Can you elaborate more on your phrase "You'll also have to setup a runtime sharing reference to the applicable library (which is called security.class) that contains this jar file so you can deploy your application."

Thanks,

Igor

Former Member
0 Kudos

Guys,

Where can I find some examples of using SAPLogonTicketHelper class?

Thanks.

Former Member
0 Kudos

Hi,

Refer this blog

/people/sap.user72/blog/2004/10/25/sap-logon-ticket-based-single-sign-on

and these links for SSO using Java Authentication and Authorization Services (JAAS).

http://java.sun.com/j2se/1.4.2/docs/guide/security/jgss/single-signon.html

http://www.theserverside.com/articles/article.tss?l=SSOIdentityManagement

Regards,

Uma