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 comment
10|10000 characters needed characters exceeded

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 comment
    10|10000 characters needed characters exceeded