Blog Entry: //centrifying.blogspot.com/2014/07/business-problems-how-to-solve-issue-of.html In this video: We enable the NetApp ONTap Simulator to use ...
057 Weblogic: addUser to the LDAP Then set attributes and Roles
In this video I show how to add roles and users to the Weblogic LDAP and set their attributes.
Apache Shiro Demo - HD
Apache Shiro Demo from my Java Webapp Security Talk - //raibledesigns.com/rd/entry/java_web_application_security_part2.
1:35-1:50 is not clear at all, and makes this tutorial a waste of time.
Please DO NOT use the live templates, but rather tell us where to obtain
them. Also, what if the framework we have does not use the resources
folder?
+Damir Olejar I'm sorry you do not like my use of live templates. If I typed out the contents of this file, I believe it would take several minutes and be quite boring. The most recent version of this project doesn't use this file, but rather configures everything in Java. You can see it at https://github.com/mraible/java-webapp-security-examples/tree/master/apache-shiro
+Seyren He Those are Live Templates that I recorded before recording this video. You can learn more about IntelliJ's Live Templates at https://www.jetbrains.com/idea/help/live-templates.html
hi i have tried following the video but i got error like this, can you tell
me how to solve this ?
org.springframework.ldap.AuthenticationException: [LDAP: error code 49 -
Invalid Credentials]; nested exception is
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid
Credentials]
at
org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:182)
at
org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:285)
at
org.springframework.ldap.core.support.AbstractContextSource.doGetContext(AbstractContextSource.java:119)
at
org.springframework.ldap.core.support.AbstractContextSource.getReadOnlyContext(AbstractContextSource.java:138)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:286)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:258)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:570)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:555)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:410)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:430)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:450)
at com.ldap.main.ldapView.main(ldapView.java:32)
Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 -
Invalid Credentials]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3032)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2978)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2780)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2694)
at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:306)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)
at
com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
at
com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305)
at javax.naming.InitialContext.init(InitialContext.java:240)
at javax.naming.ldap.InitialLdapContext.(InitialLdapContext.java:151)
at
org.springframework.ldap.core.support.LdapContextSource.getDirContextInstance(LdapContextSource.java:43)
at
org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:273)
... 10 more
+Eric Escamilla yup it is LDAP, this AuthenticationException: [LDAP: error code 49 - Invalid Credentials bother me, how can i go well on terminal but cant on this TT, have any idea ?or can you list up, what should i do the beginning installing ldap and what i have to setting?this is my reference //techpubs.spinlocksolutions.com/dklar/ldap.html
+Eric Escamilla , i have to create ldap user via JSP, can you showing me how to do that ? or you can explain it to me how to do that ?can i have your email address ?
+Eric Escamilla , thank you , i want to implement this on debian and i think this woud work on it :Dcan i have a discussion with you if i'm stuck at some problem ?
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.
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
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?
Scripting AutoCapture Search LDAP
This video shows how we can use form scripting in AutoCapture to search for an email address in Active Directory through LDAP.