thank you very much. it is indeed the case. after adding 'abstruct', it is ok now.
thanks again !
Type: Posts; User: lixin_chu; Keyword(s):
thank you very much. it is indeed the case. after adding 'abstruct', it is ok now.
thanks again !
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...
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 !
I am using:
<bean id="userCache" class="net.sf.acegisecurity.providers.dao.cache.EhCacheBasedUserCache">
<property name="cache">
<bean...
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.
...
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>
...
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"...
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...
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...
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...
Thanks !
some threads for supporting dynamic role:
http://forum.springframework.org/viewtopic.php?t=3162
http://forum.springframework.org/viewtopic.php?t=648...
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.
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...
Hi,
I need to store custom Role information into Session scope, which class should I extend ?
many thanks !
li xin
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...
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...
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...
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...
typo. the above solution works. but i am still trying to understand more and why OpenSessionInViewFilter plus lazy=true is not sufficient.
I try the suggestion:
Session session = SessionFactoryUtils.getSession(sessionFactory, false);
session.lock(B, LockMode.NONE);
but it is still the same.
Before calling...
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...
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...
How to config this ?
thanks
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.