Search:

Type: Posts; User: annbc; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,497

    One more thing.. Before updating the...

    One more thing..
    Before updating the contextholder, i can get the user details using these lines of code:


    Authentication auth = ((SecureContext) ContextHolder.getContext()).getAuthentication();...
  2. Replies
    4
    Views
    1,497

    I followed the 3 steps the application should do...

    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...
  3. Replies
    2
    Views
    3,205

    i have the following bean definition in my acegi...

    i have the following bean definition in my acegi applicationContext file.:
    Code
    <bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"/>

    which brings this...
  4. Replies
    4
    Views
    1,497

    Update user password

    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...
  5. Replies
    16
    Views
    4,178

    I also wanted to create a custom user details. I...

    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...
  6. Thanks for the pointers! :)

    Thanks for the pointers! :)
  7. Forgot to mention that I'm using Velocity. But...

    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! :)
  8. If another property is added to a subclass of...

    If another property is added to a subclass of UserDetails, userId, for instance, how do you access it?
    SecurityContextHolder.getContext().getAuthentication().get???
  9. use DB for username and password and in-memory for role

    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...
  10. Dynamic loading of buttons to be handled by Acegi

    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...
  11. Replies
    1
    Views
    1,414

    location of dbinit.txt

    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!
  12. Replies
    2
    Views
    966

    Thanks! Yes, I figured that out already, my...

    Thanks! Yes, I figured that out already, my stupid mistake :D
  13. Replies
    2
    Views
    966

    how to secure an action?

    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...
  14. Thread: newbie question

    by annbc
    Replies
    5
    Views
    1,210

    pls disregard my previous post. yes, i think,...

    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...
  15. Thread: newbie question

    by annbc
    Replies
    5
    Views
    1,210

    i've checked the log file, the application is...

    i've checked the log file, the application is deployed properly. i wonder why a simple bean definition makes it inaccessible. :?
  16. Thread: newbie question

    by annbc
    Replies
    5
    Views
    1,210

    Tomcat reports that the requested resource, which...

    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?...
  17. Thread: newbie question

    by annbc
    Replies
    5
    Views
    1,210

    newbie question

    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...
Results 1 to 17 of 17