One more thing..
Before updating the contextholder, i can get the user details using these lines of code:
Authentication auth = ((SecureContext) ContextHolder.getContext()).getAuthentication();...
Type: Posts; User: annbc; Keyword(s):
One more thing..
Before updating the contextholder, i can get the user details using these lines of code:
Authentication auth = ((SecureContext) ContextHolder.getContext()).getAuthentication();...
I followed the 3 steps the application should do when updating a user's password. However, I still get the redirection error. Here's a piece of my code:
//update DB...
i have the following bean definition in my acegi applicationContext file.:
Code
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"/>
which brings this...
In acegi, what is the right way to update a user's password? I tried to change my password while i was logged in however, I got this error: Redirection limit for this url exceeded. Unable to load...
I also wanted to create a custom user details. I did what was advised in this thread, subclass JdbcDaoImpl, override loaduserByUsername and define my own MappingSqlQuery. However, I am getting this...
Thanks for the pointers! :)
Forgot to mention that I'm using Velocity. But anyways, I still managed to get the same functionality, thanks to Wang Qi's wrapper class for the JSP tags. Thanks for your replies! :)
If another property is added to a subclass of UserDetails, userId, for instance, how do you access it?
SecurityContextHolder.getContext().getAuthentication().get???
Can I use JDBC and In-memory authentication at the same time in such a way that for looking up a username, I would refer to my user's table whereas for the password, I would look up in the...
When loading a page, we would ike our application to dynamically load the buttons available to the user who is logged in. I am thinking of creating a method for every single button, secure this...
Hi everyone!
Can anyone tell me where dbinit.txt is located? I didn't find it in the Acegi distro i downloaded (0.8.3). Thanks in advance!
Thanks! Yes, I figured that out already, my stupid mistake :D
i want to secure in my application this link which accesses an action(xwork):
http://localhost:8080/myWebApp/ShowRFP.action
i try to do this in my applicationContext.xml:
<bean...
pls disregard my previous post. yes, i think, there was a problem in deploying the application. This is what appears in the tomcat log file:
Sep 8, 2005 1:37:46 PM...
i've checked the log file, the application is deployed properly. i wonder why a simple bean definition makes it inaccessible. :?
Tomcat reports that the requested resource, which is the web application, is not accessible. If i try to remove the Acegi bean definition, it is accessible. Is there something i'm missing here?...
Hi everyone!
I am trying to integrate Acegi security into a web application using the Spring framework. The application runs fine initially. If I add a definition for the filterChainProxy in the...