How to make use of .jsp LDAP code and other java files in ruby on rails? -
i exited join community. here problem. doing project in ruby on rails develop interface take applications people run algorithm gale-shapely example in background after deadline , output results in new page. had gale shapely algo coded in java , c++ languages. problem have contact ldap server in our institute in-order verify credentials of person willing fill form. , there proper java code written purpose should used in order contact ldap server per our insti rules. ran .jsp code installing tomcat7 , working perfectly. but, problem had written code filling form etc.. in ruby on rails. but, not able use .jsp file in login form in rails. searched lot on net didnt found any.
apart problem how run java gale-shapely code in background? 1 solution again re-writing entire code in ruby , use database info run algo. there method can give database info java program , capture output?
i solved using netldap gem present in rails. realized similar java code uses ldap library, there netldap library in ruby. so, used credentials , verify identity of person , other details ldap server.
Comments
Post a Comment