« Return to Thread: CAS LDAP Security Autnetication method

CAS LDAP Security Autnetication method

by Srikar Kummamuri-2 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

I am using Sun One LDAP with the CAS and using simple security authentication which works fine as shown bellow.

 

   <bean id="contextSource" class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">

                <property name="pooled" value="true"/>

                <property name="urls">

                        <list>

                                <value>ldap://10.30.12.48:7042</value>

                        </list>

                </property>

                <property name="userName" value="cn=casdevadmin"/>

                <property name="password" value="Vfr45tgB"/>

                <property name="baseEnvironmentProperties">

                        <map>

                                <entry>

                                        <key>

                                                <value>java.naming.security.authentication</value>

                                        </key>

                                        <value>simple</value>

                                </entry>

                        </map>

                </property>

        </bean>

 

 

 

But I want to use some type of encryption and tried MDS5 as follows which did not work and throwing the error “javax.naming.AuthenticationNotSupportedException: Digest-MD5”

 

 

                                        <key>

                                                <value>java.naming.security.authentication</value>

                                        </key>

                                        <value>Digest-MD5</value>

 

 

Just wondering to know if any body has got any examples for me to follow for encrypted security in deployerConfigContext.xml

 

 

..Srikar

 


From: Srikar Kummamuri
Sent: Tuesday, March 04, 2008 3:49 PM
To: 'cas@...'
Subject: RE: Remote User >From CAS client 3.1.1

 

Scott,

I am trying to get the user inside an application where I don’t have access to request. All I can do is query the CAS API to get the user. So I can not call request.getRemoteUser() and hence trying to get it from CAS.  I have seen the 2.1 version accessing the filter and getting the user directly and thought 3.1 also can get me the user form API.

 

Seems like I need to modify the CAS Client Code or generate one more class, add it to filters and get the remote user from there.

 

 

 

 

 


_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

 « Return to Thread: CAS LDAP Security Autnetication method