History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-2105
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: maithili.c
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

ldap authentication in uportal

Created: 10/Jul/08 06:28 AM   Updated: 10/Jul/08 10:13 AM
Component/s: Authentication
Affects Version/s: 3.0.1
Fix Version/s: None

Original Estimate: 1 hour Remaining Estimate: 1 hour Time Spent: Unknown
Environment: Linux-ubuntu

Estimated End Date: 10/Jul/08


 Description  « Hide
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

 All   Comments   Work Log   Change History      Sort Order:
Eric Dalquist [10/Jul/08 10:13 AM]
Please direct questions to the uportal-user email list: http://www.ja-sig.org/wiki/display/JSG/uportal-user

Jira is meant for reporting bugs and feature requests.

Thank you,
-Eric Dalquist