can you please tell me the procedure for authentication against ldap in uportal.i have changed only in
ldapcontext.xml and security.properties.
ldapcontext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="
http://www.springframework.org/schema/beans" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<!--
| Example LDAP Server Configurations
|
| This file contains example configurations for both LDAP authentication and
| LDAP person directory attribute lookups. You may use the configurations below
| separately or together, depending on which LDAP services you're using.
+-->
<!--
| Example LDAP Server Configuration for the SimpleLdapSecurityContext
+-->
<!-- Delcare the legacy support bean to make LdapServices still work -->
<bean id="defaultLdapServer" class="org.jasig.portal.ldap.ContextSourceLdapServerImpl">
<property name="ldapContextSource" ref="legacyLdapContext"/>
<property name="uidAttribute" value="uid"/>
<property name="baseDN" value="cn=Manager,dc=otc,dc=nic,dc=in"/>
</bean>
<!-- Declare a spring-ldap ContextSource that will work with the legacy LdapServer -->
<bean id="legacyLdapContext" class="org.springframework.ldap.core.support.LdapContextSource">
<property name="url" value="
ldap://10.163.14.37:389"/>
<property name="userName" value=""/>
<property name="password" value=""/>
<!--<property name="pooled" value="false"/>-->
</bean>
<!--
| Example LDAP Server Configuration for LDAP person attribute lookups
+-->
<!-- Declare the standard spring-ldap ContextSource objects to define LDAP server connections -->
<!--<bean id="defaultLdapContext" class="org.springframework.ldap.core.support.LdapContextSource">
<property name="url" value="
ldap://10.163.14.37:389"/>
<property name="base" value="cn=Manager,dc=otc,dc=nic,dc=in"/>
<property name="userName" value="cn=rs1,dc=otc,dc=nic,dc=in"/>
<property name="password" value="foobar"/>
<property name="pooled" value="false"/>
</bean>-->
</beans>
security.properties contains
root=org.jasig.portal.security.provider.UnionSecurityContextFactory
root.simple=org.jasig.portal.security.provider.SimpleSecurityContextFactory
root.simple.cache=org.jasig.portal.security.provider.CacheSecurityContextFactory
root.ldap=org.jasig.portal.security.provider.SimpleLdapSecurityContextFactory
root.ldap.cache=org.jasig.portal.security.provider.CacheSecurityContextFactory
these are the things i cahnged.but i cant able to access ldap authent.what i have to do further.thanks in advance.Am working in govt sector.I was working for this project 2 days.Can u please help me.very urgent
Jira is meant for reporting bugs and feature requests.
Thank you,
-Eric Dalquist