Simple LDAP sign-on Authentication Using Ldap-a143mkJar
LDAP sign-on is an authentication scheme that allows a user to log in with a single ID to any of
several related, independent, software systems or web applications. In this post user will login through Outlook Mail.
Ldap-a143mkJar.jar
while creating the controller/main class Ldapconn.java.
Process of Ldap sign-On (LSO) Authentication:
Download the jar file and implement some methods / functions have been used, the names of the methods
are as follows:
Call Class object LdapClient ldapClientClass=new LdapClient();
- A143mkLdapConnection(ldapUrl, ldapDnConn, userEmailId, password);
There are some parameters in methods,
which we initialize by creating configuration object like this.
String ldapUrl= "ldap://172.0.0.0:389/";
String lDapDnConn="dc=domainName,dc=com";
String userEmailId="EmailMail@mailDomen.com";
String password="mailPassword";
How to create a project/main class/other class to follow us.
Output :
Subscribe to:
Post Comments
(
Atom
)
Very Simple Ldap configuration
ReplyDelete