Skip to Content
author's profile photo Former Member
Former Member

Single sign on EP 6.0 question.

Hi

I am trying to connect to SAP systems using the EP 6.0 api. The user exist in the

SAP system and the standard MSS system also work with the same SAP system.

But my test connection code gives me 'null' connection.

Here is the code .

It does not throw exception but in the log. It gives some kind of an error

  • com.sap.security.core.usermanagement|->MYSAPSSO2_STRING=AjExMDAgAA5wb3J0YWw6bW

FoZXNoYYgAB2RlZmF1bHQBAAdNQUhFU0hBAgADMDAwAwADRVBEBAAMMjAwMzEyMDcwMjM0BQAEAAAACA

oAB01BSEVTSEH/AVowggFWBgkqhkiG9w0BBwKgggFHMIIBQwIBATELMAkGBSsOAwIaBQAwCwYJKoZIhv

cNAQcBMYIBIjCCAR4CAQEwczBuMQswCQYDVQQGEwJERTEcMBoGA1UEChMTU0FQIFRydXN0IENvbW11bm

l0eTEUMBIGA1UECxMLT1U9U3lub3BzeXMxHTAbBgNVBAsTFE9VPUVudGVycHJpc2UgUG9ydGFsMQwwCg

YDVQQDEwNFUDYCAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhv

cNAQkFMQ8XDTAzMTIwNzAyMzQwOFowIwYJKoZIhvcNAQkEMRYEFKqkqEMqATxLaRin2pk/F1408CISMA

kGByqGSM44BAMELzAtAhUAkfqxKzO5lXmcS5wSkp/tcSlIgwCFHfDxlwS71wfBnTJGRbTMR9FG0I

  • com.sap.security.core.usermanagement|->$MYSAPSSO$=Unsupported object type foun

d in values: class com.sap.security.core.ticket.imp.BufferingTicket

  • com.sap.security.core.usermanagement|->j_authscheme=default

Please help

thanks

regards

mahesh

/ get the Connector Gateway Service

Object connectorservice = PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);

IConnectorGatewayService cgService =(IConnectorGatewayService) connectorservice;

if (cgService == null) {

logger.severe ("SimpleSapConnection: Error in get Connector Gateway Service");

}

logger.severe("cgServere is got:"+IConnectorService.KEY);

connection = cgService.getConnection("SAP_R3_HR", request);

if (connection == null) {

logger.severe("SimpleSapConnection: Connection is null");

} else {

logger.severe("SimpleSapConnection: Connection succesful");

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2003 at 02:26 PM

    In which line does this error occur?

    Can you provide a Stack Trace?

    Sigi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.