Search:

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

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. thank you very much. it is indeed the case. after...

    thank you very much. it is indeed the case. after adding 'abstruct', it is ok now.
    thanks again !
  2. 'target' is required for TransactionProxyFactoryBean now?

    Hi,
    I am upgrading to 1.2.4 but got an error:

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abstractTxDefinition' defined in ServletContext resource...
  3. thanks ! I like the second idea, that's...

    thanks !

    I like the second idea, that's something new to me, have not done this before - actually i did not know i can do so in this way.

    thanks for your help !
  4. I am using:

    I am using:

    <bean id="userCache" class="net.sf.acegisecurity.providers.dao.cache.EhCacheBasedUserCache">
    <property name="cache">
    <bean...
  5. how to clear user cache after user changes password

    Hi,
    Would appreciate if anyone could provide HOW-To of clearing user cache,

    the problem is that the user can still login after he changes password, even he log out, and session is invalidated.
    ...
  6. Hi Ben, After I had some problems with...

    Hi Ben,
    After I had some problems with rememberMe service, I added a filter, and then discovered that the session is not created - here is my web.xml:
    <!-- Filters -->
    <filter>
    ...
  7. I think since I have...

    I think since I have httpSessionContextIntegrationFilter, a session should be created but somehow it didn't, here is my configuration for filterChainProxy:

    <bean id="filterChainProxy"...
  8. After rememberMe session is not created ...

    Hi,
    I am wondering why session is not created after rememberMe, here is the log msg:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    27.05.05 09:04:06 [http8080-Processor23] DEBUG...
  9. Replies
    2
    Views
    1,630

    Hi Ben, thank you very much for your help. Yes,...

    Hi Ben,
    thank you very much for your help. Yes, you are right, the problem is I did not specify the rememberServices for the authenticationProcessingFilter. - I also just realized that you have...
  10. Replies
    2
    Views
    1,630

    HELP: RememberMe does not work

    Hi,
    Must be something wrong in my configuration but just can not find out where.
    Problem: I do not see rememberMe being fired. No cookie is generated.

    Here is my configuration:

    1. login.jsp...
  11. Thanks !

    Thanks !
  12. some threads for supporting dynamic role: ...

    some threads for supporting dynamic role:

    http://forum.springframework.org/viewtopic.php?t=3162
    http://forum.springframework.org/viewtopic.php?t=648...
  13. after more reading, I think the 1) concern is not...

    after more reading, I think the 1) concern is not valid. Acegi is capable of configuring the secured resources with any roles, and support multiple roles.
  14. after authentication, keeps going back to /login.jsp

    Hi,
    I am having problems after login, it does not go to index.jsp but instead keeps going back to /login.jsp. Guess must be something wrong in one of the configuration but just can not figure it out...
  15. which one to extend if want extra Role info in session ?

    Hi,
    I need to store custom Role information into Session scope, which class should I extend ?

    many thanks !
    li xin
  16. how to get authenticated user information in Struts action

    hi,
    i am using Acegi 0.8.1 and Struts 1.2, is it correct to get the authenticated user information in this way:

    String username = session.getAttribute("ACEGI_SECURITY_LAST_USERNAME");

    how abt...
  17. how to support dynamic role configuration ?

    Hi,
    New to Acegi - but it is indeed a great product !

    I would like to know how I can make use of Acegi for authorization in my environment:
    - multiple types of roles
    I have two...
  18. Replies
    0
    Views
    1,050

    mail and authentication

    Hi,
    I would like to try sending email in the Spring way. but got error:

    org.springframework.mail.MailAuthenticationException: Authentication failed: null; nested exception is...
  19. this is indeed weird ! The above solution only...

    this is indeed weird !

    The above solution only works if I step into my A.getBs() during debugging. If not, the 'initialized=false' will not be changed to 'initialized=true' hence I can not get any...
  20. typo. the above solution works. but i am still...

    typo. the above solution works. but i am still trying to understand more and why OpenSessionInViewFilter plus lazy=true is not sufficient.
  21. I try the suggestion: Session session =...

    I try the suggestion:

    Session session = SessionFactoryUtils.getSession(sessionFactory, false);
    session.lock(B, LockMode.NONE);


    but it is still the same.

    Before calling...
  22. I tried 'singleSession' to 'true' but still the...

    I tried 'singleSession' to 'true' but still the same problem. So it seems that it IS becuase the previous session is not initialized.

    I will try the lock suggestion but in this case, 'lazy...
  23. found the problem (I hope): 1. when retrieving...

    found the problem (I hope):

    1. when retrieving the parent object, OpenSessionInView creates a new session; SessionImpl is kept in the child collection

    2. in the next requst, OpenSessionInView...
  24. Replies
    3
    Views
    7,614

    How to config this ? thanks

    How to config this ?
    thanks
  25. have not got time to try tuor's suggestion. I am...

    have not got time to try tuor's suggestion. I am busy with a few other things. really tired.

    but i still think it is a configuration problem if I understand the OpenSessionInView correctly.
Results 1 to 25 of 29
Page 1 of 2 1 2