April 7, 2017 at 5:16 pm #16790
Running the Login.bat from the example client scripts:
Realm (e.g. /): /
Login module name (e.g. DataStore or LDAP): DataStore
Login locale (e.g. en_US or fr_FR): en_US
com.sun.identity.authentication.spi.AuthLoginException: Failed to create new Authentication C
ontext: Cannot find server ID.
I’ve checked in AMConfig.properties and the naming service exists. The URL uses http protocol. The security credentials are definitely correct. Why is the SDK still not able to find the server?April 8, 2017 at 9:00 am #16795
Sounds like a configuration issue, but not quite sure where.
ClientSDK is on it’s deathbed already and is no longer built with AM5, you really shouldn’t try to use it for new projects.April 10, 2017 at 7:25 pm #16834
For whatever reason it wasn’t connecting to the server, but I was able to connect to the load balancer URL in front of it.
What would you recommend as a replacement?April 10, 2017 at 8:03 pm #16836
Use the new REST APIs instead.April 11, 2017 at 4:23 pm #16858
Is there a way to use that over Java?April 11, 2017 at 9:17 pm #16864
err, yes? As far as I’m aware the JDK does have API to make HTTP connections…
You could always use http-client though.April 11, 2017 at 10:03 pm #16867
OK I was hoping OpenAM would have something and wouldn’t have to build it from scratch, but I may have to do something like that.
You must be logged in to reply to this topic.