Skip to Content
avatar image
Former Member

Work Manager 6.4 SSO Authentication

Hi All,

I have an issue with my Work Manager 6.4 application when trying to use the USER_AUTH_SSO method to connect to the portal. I know that he portal connection is working because I have about 5 other applications connecting to the portal using the same credentials, only difference is that those applications are Work Manager 6.2 applications.

Can someone help on this.

this is the config on the JavaBe.ini file

[USER_AUTH_SSO] ;referenced when LOGON_METHOD=USER_AUTH_SSO ;SSO related information for use in LoginModuleSSO to facilitate login to ;an SAP system using tickets from a message server. ; PORTAL_URL=********************************; verificaiton file from the portal. Not required, but if portal names are different from the authenticated username, it will be needed to decode the name. VERIFICATION_USE=false ;VERIFICATION_FILENAME=verify.pse ;VERIFICATION_PASSWORD= ;VERIFICATION_PASSWORD_ENCODED=false ; key store for client authentication to the server if required KEY_STORE_USE=false ;KEY_STORE_TYPE=WINDOWS-MY ;KEY_STORE_FILENAME=keystoreFileName ;KEY_STORE_PASSWORD= ;KEY_STORE_PASSWORD_ENCODED=false ; trust store for server authentication to the client (accepting only trusted servers to prevent MITM attacks) TRUST_STORE_USE=true TRUST_STORE_TYPE=WINDOWS-ROOT ;TRUST_STORE_FILENAME=truststoreFileName ;TRUST_STORE_PASSWORD= ;TRUST_STORE_PASSWORD_ENCODED=false COOKIE=MYSAPSSO2 HTTPTYPE=https SSL_VERSION=SSLv3 JAVA_SECURITY_DEBUG=false JAVA_NET_DEBUG=false ; classes to instantiate for the sso client and the callback handler SSOCLIENT_CLASS=com.syclo.sap.auth.sso.SSOClient ;SSOCLIENT_CLASS=com.syclo.sap.auth.sso.SMPSSOClient CALLBACK_HANDLER_CLASS=com.syclo.sap.auth.CallbackHandler ALTERNATE_USERNAME_INDEX_USE=false ;ALTERNATE_USERNAME_INDEX=0 BYPASS_USERID_CHECK=false ;SAPCRYPTO_FILENAME=C:\\path\\to\\sapcrypto.dll ;SMPSSO_TICKET_CLASS_NAME=class com.sap.mobile.platform.server.foundation.security.providers.sso2generation.SSO2GenerationCredentialImpl ;SMPSSO_TICKET_METHOD_NAME=getValue

And here is the error I'm getting.

018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########FATAL|600|RFC_MOB_AGNT|1|||Could not login user RFC_MOB_AGNT - Login Exception XNullPointerDereference: class AgentryJavaUser, in AgentryManagedJavaObject::resolveNativeObjectReference at c:\AgSrvrel71064\src\com.sap.mobile.platform.server.agentry\Syclo\javalibrary/AgentryManagedJavaObject.h:125 | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########com.syclo.agentry.BusinessLogicException: Could not login user RFC_MOB_AGNT - Login Exception XNullPointerDereference: class AgentryJavaUser, in AgentryManagedJavaObject::resolveNativeObjectReference at c:\AgSrvrel71064\src\com.sap.mobile.platform.server.agentry\Syclo\javalibrary/AgentryManagedJavaObject.h:125 | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.User.handleJAASLogin(User.java:2972) [common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.User.initSession(User.java:894) [common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.login(Server.java:521) [common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.createServiceUser(Server.java:1830) [common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.getServiceUser(Server.java:1954) [common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.loadSAPProperties(Server.java:906) [common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.initServer(Server.java:313) [common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.<init>(Server.java:285) [common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.workmanager.Server.<init>(Server.java:7) [workmanager-6.4.0.0.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########Caused by: javax.security.auth.login.LoginException: Login Exception XNullPointerDereference: class AgentryJavaUser, in AgentryManagedJavaObject::resolveNativeObjectReference at c:\AgSrvrel71064\src\com.sap.mobile.platform.server.agentry\Syclo\javalibrary/AgentryManagedJavaObject.h:125 | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.auth.LoginModuleSSO.login(LoginModuleSSO.java:86) ~[common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at javax.security.auth.login.LoginContext.login(LoginContext.java:587) ~[?:1.8.0_45] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.User.handleJAASLogin(User.java:2936) ~[common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########... 8 more | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########ERROR|600|RFC_MOB_AGNT|1|||caught unknown AgentryException - Could not login user RFC_MOB_AGNT - Login Exception XNullPointerDereference: class AgentryJavaUser, in AgentryManagedJavaObject::resolveNativeObjectReference at c:\AgSrvrel71064\src\com.sap.mobile.platform.server.agentry\Syclo\javalibrary/AgentryManagedJavaObject.h:125 | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########FATAL|600|||||Could not login user RFC_MOB_AGNT - Login Exception XNullPointerDereference: class AgentryJavaUser, in AgentryManagedJavaObject::resolveNativeObjectReference at c:\AgSrvrel71064\src\com.sap.mobile.platform.server.agentry\Syclo\javalibrary/AgentryManagedJavaObject.h:125 | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########com.syclo.agentry.LoginBlockedException: Could not login user RFC_MOB_AGNT - Login Exception XNullPointerDereference: class AgentryJavaUser, in AgentryManagedJavaObject::resolveNativeObjectReference at c:\AgSrvrel71064\src\com.sap.mobile.platform.server.agentry\Syclo\javalibrary/AgentryManagedJavaObject.h:125 | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.login(Server.java:559) ~[common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.createServiceUser(Server.java:1830) ~[common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.getServiceUser(Server.java:1954) ~[common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.loadSAPProperties(Server.java:906) ~[common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.initServer(Server.java:313) [common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.Server.<init>(Server.java:285) [common-20161101.jar:?] | 2018 02 20 10:19:28#+0200#INFO#System.out###Agentry Dev Def Load Loop Thread#########at com.syclo.sap.workmanager.Server.<init>(Server.java:7) [workmanager-6.4.0.0.jar:?] | 2018 02 20 10:19:28#+0200#ERROR#com.sap.mobile.platform.server.agentry.console###Agentry Dev Def Load Loop Thread#########Exception: 10:19:28 02/20/2018 : 20 (Agentry3), JavaBackEndError (JAVA EXCEPTION CAUGHT: com.syclo.agentry.AgentryException: Could not login user RFC_MOB_AGNT - Login Exception XNullPointerDereference: class AgentryJavaUser, in AgentryManagedJavaObject::resolveNativeObjectReference at c:\AgSrvrel71064\src\com.sap.mobile.platform.server.agentry\Syclo\javalibrary/AgentryManagedJavaObject.h:125), |

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 02 at 01:03 PM

    Hello,

    This issue has been addressed in SAP Note 2477504 - SAP Work Mgr & SAP Inventory Mgr - SSO - Using SSO based login for service and push users.

    Thanks

    Resmi

    Add comment
    10|10000 characters needed characters exceeded