Mostly just a ‘duh’ moment by myself. I was fetching properties out of a database using hibernate objects. In my test scenario I asked if “true” == “true” which does work. However a String object does not always equal a string literal nicely. String JavaDocs
Archive for the ‘Java’ Category
Java string comparison
Posted in Java, tagged Java, string comparison on May 23, 2011 | Leave a Comment »
LDAP Authentication
Posted in Java, tagged flex, Java, ldap on April 8, 2010 | 2 Comments »
Recently I needed a way to build authentication into a Flex application. Instead of using a model baked into the Flex code that need recompilation, or other security concerns with flat files, I built a simple LDAP authentication java file, paired with a .properties file and is called via RemoteObject in flex. I’ve posted code [...]