I am using Glassfish 4.1 application server for a web application. Authentication / authorization of web applications is performed using the ldap area for glass fish. Therefore, I do not need to implement and configure the ldap connection in my application, but in a glass fish container. It's good!
Now I need to implement the login method with username / password in my application (WebService). Parameters are passed in a SOAP request. I want to access another configured ldap kingdom from glass fish and give it a username / password. As a result, I want to find out if the user is allowed.
How can I access the security area of the application server from the application and complete the login request?
source
share