i following template http://kh-yiu.blogspot.com/2012/12/spring-mvc-security-custom.html have run issue. stored procedure need call requires call username & password , loaduserbyusername(string username) doesn't give me access password. can please assist on this? happy provide more code if help.
i think need trusted context. establish connexion database generic user, , swith user via trusted context.
you should give public execution stored procedure want call invoke user, , then, establish trusted context.
for more information this
- complete java db2 example http://hoteljavaopensource.blogspot.fr/2011/05/trusted-context-db2-spring.html
- trusted context in infocenter http://publib.boulder.ibm.com/infocenter/db2luw/v10r1/topic/com.ibm.db2.luw.admin.sec.doc/doc/t0050515.html
Comments
Post a Comment