Spring Java LDAP from scratch - 2

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 22

  • @irvankosini1479
    @irvankosini1479 9 лет назад +1

    can you show me how to integrated spring with JSP ?

    • @EricEscamillaesca2791
      @EricEscamillaesca2791  9 лет назад

      Sure, you may want to consider updating though if you have the option to. JSP and even JSTL integration is harder since that is mixing "old spring" with "new spring". You just need the spring ldap jar though from the dependency mentioned in this pom.xml. As far as your project setup, is that setup using spring?

    • @irvankosini1479
      @irvankosini1479 9 лет назад

      I dont really know about spring but i know this is what i'm need, where can i download the jar ? I have searching for it on offcial site ,but it just give me helloworld

    • @EricEscamillaesca2791
      @EricEscamillaesca2791  9 лет назад

      You need a dependency management tool such as maven to manage your pom.xml, in that pom.xml, that is where you declare all the mentioned dependencies/jars. I included the my pom.xml in the link below the video. I would recommend the newest version of spring web applications, spring boot.

    • @EricEscamillaesca2791
      @EricEscamillaesca2791  9 лет назад

      irvan kosini spring.io/guides/gs/spring-boot/

    • @irvankosini1479
      @irvankosini1479 9 лет назад

      Eric Escamilla , thank you , i want to implement this on debian and i think this woud work on it :D
      can i have a discussion with you if i'm stuck at some problem ?

  • @praveenakula2665
    @praveenakula2665 9 лет назад

    it's showing that unutherizedLdap(.....) nested NamingException

    • @EricEscamillaesca2791
      @EricEscamillaesca2791  9 лет назад

      praveen akula Hi Praveen, sorry it's been a while. May you send me the stack trace? Or what line is it error-ing on? Thanks.

    • @pratikgandhi9543
      @pratikgandhi9543 9 лет назад

      Eric Escamilla While I am running test query as per your code I get empty array[]. D i need to configure any thing else?

    • @EricEscamillaesca2791
      @EricEscamillaesca2791  9 лет назад

      pratik gandhi You may want to add in System.out.println() or logger.info() messages in whichever class you are invoking...ContactAttributeMapperJSON. Also, be sure you are adding them to the json object (jo.put(id, attributes.get(id).get())) AND returning the object.

  • @ariefabiumamah6528
    @ariefabiumamah6528 8 лет назад

    can you share all source ?
    not only pom.xml

  • @guitarDad100
    @guitarDad100 7 лет назад

    Thanks. This was a great lesson. Do you have the source code available on Git ? Are you going to be making a Version 3? Thanks for posting this one.

    • @EricEscamillaesca2791
      @EricEscamillaesca2791  7 лет назад

      GD100 good evening and thank you, my family is extending by one (wife is pregnant) so I have been pretty pre-occupied, hah. I would like to make one on how I integrated this into a web application; however, I just haven't gotten around to it. are you encountering an issue? And yes, I really do need to commit this to github. I will get back to you on that.

  • @ganeshr34
    @ganeshr34 6 лет назад

    Is it working fine for windows authentication based web application

    • @EricEscamillaesca2791
      @EricEscamillaesca2791  6 лет назад

      ganesh r Hi, I'm not sure about running ldap on windows, but as long as the connection string is right, it should work.

  • @mardukvassili
    @mardukvassili 6 лет назад

    Do you have a source or tutorial where you reset pwd or active an account? I find nothing related to this.

    • @EricEscamillaesca2791
      @EricEscamillaesca2791  6 лет назад +1

      Sorry, I've tried that a couple times with no success and have had to drop it to move on to other projects for work. I mainly just use the queries because we have another system that does CRUD on our LDAPS. In my application I just need to know who belongs to what.