AnswerBun.com

CAS server authentication using LDAP

I have 2 web application and I want to use CAS server connecting to LDAP for authentication. I have installed apache DS and configured CAS server like this:
https://wiki.jasig.org/display/CASUM/CAS+on+Windows+Quick+Setup+Guide
first I added this to pom.xml in cas server :

${project.groupId}
cas-server-support-ldap
${project.version}

then in deployerConfigContext.xml added this lines:

    
ldap://localhost:10389
    

  
    
      
    
  

removed the demo authentication handler
added this:

for the last steps I have added these 2 steps to libs:
spring-ldap-X.Y.Z.RELEASE-all.jar
cas-server-support-ldap-$VERSION.jar
as soon as I deployed cas server in tomcat, I tried to login using admin/secret credentials but this message appears:
The credentials you provided cannot be determined to be authentic.

please help.

Stack Overflow Asked by AFF on January 2, 2021

1 Answers

One Answer

Take a look at the write up on building a CAS server I did awhile back. It should make it easy to understand.

http://blog.mosheldon.com/2011/04/cas-sso-347-with-ldapad-attributes.html

Answered by mosheldon on January 2, 2021

Add your own answers!

Related Questions

Pygame doesn’t play mp3 files tagged with mutagen

1  Asked on January 14, 2021 by droptop

       

Average by group for ‘n’ number of rows per group – R

2  Asked on January 14, 2021 by codemaster

       

Non consecutive combinations of array elements in R

4  Asked on January 13, 2021 by guest2341

 

How to mutate complex object with nested array with SWR?

1  Asked on January 13, 2021 by geraltdiesocke

   

Why do I not see a text box to add a menu item to a menustrip

1  Asked on January 13, 2021 by justsomeguytn

   

Alembic. ModuleNotFoundError in env.py

2  Asked on January 13, 2021 by mroldsir

     

What type in c# is most like an expression in R and why?

1  Asked on January 12, 2021 by kirsten-greed

     

Difference between two loops

4  Asked on January 12, 2021 by mszros-zoltn

     

How can i do a request an external url?

0  Asked on January 12, 2021 by mikkylekyle

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved.