I am novice to shibboleth and I am attempting to use LDAP with Shibboleth . i tried a lot but i could not make it happen. Can any one tell me what should be the AttributeDefinition, DataConnector and login.config for the following java code which working fine. please help
Hashtable env = new Hashtable();
String ldapSearchBase = "dc=samplehro,dc=india";
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
env.put("com.sun.jndi.ldap.read.timeout", "4000");
env.put(Context.PROVIDER_URL, "ldap://smplchn-adsvr.samplehro.india");
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, username + "@samplehro.india");
env.put(Context.SECURITY_CREDENTIALS, password);