Skip to Content
avatar image
Former Member

User authentication using a custom table.

Hi,

We are currently using Agentry version 6.1.0.3 with SAP backend.

The requirement is to authenticate the user through a custom table.

Is it possible that, user can login to the application using  custom username, that can be mapped to the actual SAP User Id

The intention is to Prevent the user from having access to an actual SAP User ID and 

What can be the best possible way to achieve this functionality?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 17, 2014 at 03:46 PM

    Sourav,

    You will need to extend com.syclo.sap.Server and com.syclo.sap.User.  Agentry calls Server.login which then calls User.initSession that does the actual connection using the username/password.  Modify these methods to handle your new authentication style.  You will probably need to connect to SAP with a hard-coded user/password to check your new table and either fail or allow the login.  Get a hold of the Syclo common code to see how these methods currently work so you can extend them.

    Jason Latko - Senior Product Developer at SAP

    Add comment
    10|10000 characters needed characters exceeded