As far as I understand, when the user logs in Spring Security invalidate the Session and creates a new one. So if I come from http with a clear sessionID cookie Spring Security should set a new...
Type: Posts; User: 6sic6; Keyword(s):
As far as I understand, when the user logs in Spring Security invalidate the Session and creates a new one. So if I come from http with a clear sessionID cookie Spring Security should set a new...
Hi all,
I've a Spring MVC controller mapped to the url /blah/abc/index that is defined like
@RequestMapping(method = RequestMethod.GET)
public void index(MyObj myObj, Model model) {...}
...
If I use the spring wrapper I'm not even able to run a js callback() function :(
I can't find anything online... In this way Spring js seems quite useless to me.. I don't know but I don't see any...
Hi all,
I'm decorating a form button with
Spring.addDecoration(new Spring.AjaxEventDecoration({
elementId: "add",
event: "onclick",
formId: "myForm",
params:...
Hi moglow, thanks for your response. Ajax is not the problem because it is working.
The fact is that I need the server to validate specific data. The js required to validate and parse all the...
Hi all,
I've a page that contains a model like
class A {
String name;
List<B> bList;
}
my page needs to allow the user to edit A fields and B objects.
Hi all,
is it possible to create a Pointcut that check a specific value of an argument?
I mean something like this
@Before("execution(* com.xxx.update(..)) && args(myString .equals('something')...
Hi Luke, thanks a lot for your response
I updated my dtd to 2.0.2 and now I can see the session-controller-ref attribute. I'm trying with something like
<security:authentication-manager...
Hi all,
I've to add a sessionController to my AuthenticationManager.
At the moment the config files are using <security:http>.. <security:custom-authentication-provider/> etc..
to configure...
thanks a lot 4your post but I don't understand how to do.. :(
it's a final method I can't override it
protected final UserDetails retrieveUser
maybe do you mean the...
Hi all,
I don't understand how to set up the current AuthenticationManager to throw DisabledException, LockedException, BadCredentialsException when I try to authenticate a user...?!
I have...
Hello
thanks for your reply
I've the need that spring intercept when a new mail arrives. Than I must do immediatly some works with this email
Someone knows if there's a simple way to integrate spring with Apache James?
thanks a lot
martina
my fault
I forgot to remove the old ehcache jar ver. :(
I try to change my jar to form spring to spring2
I utpdate my ehcache jar to the ver.1.2.3
These are my beans for my spring cache config
<bean id="cacheManager"...
ok I've done I've modified my interface
UserDato, UserService
and my classes
UserDaoHibernate, UserServiceImpl
now for the method saveUser all throws the UsernameAlreadyExistException
In the...
I want to give out the error message to the jsp
you mean I must modify my UserDao like
void saveUser(User user) throws UsernameAlreadyExistException;
and then catch the exception in my...
Hello
This's my UserDao
public class UserDaoHibernate extends HibernateDaoSupport implements UserDao {
public void saveUser(User user) {
if (!getHibernateTemplate().find("from User u...
Thanks a lot dr_pompeii
you're right
It was the ValidatorActionForm, I've confused it with the ValidatorForm..
:(
have a nice day
buy guys
hello I've upload my webapp test here
http://d.turboupload.com/d/1077339/testX.zip.html
for the download you must wait 30sec.
then you click on download and enter a captcha (I don't have found a...
:D
no I don't have forgot <html:errors/> :D
the request goes forward also if there're validation errors
The integration with Struts+Tiles+Spring works well. Are only the common Validator via xml...
hello thanks for the response
I've seen your configuration
I think you've also a listener in your web.xml to start the contextConfigLocation
Many of the steps of your config. in my config. are...
yes sure
from the first post I've worked on my project
only now I've validate="false"
when I try to use commonValidator I've set it to "true" !
I correct the post
any other suggestion?
maybe...
hello thanks for your relply
I've understand that I don't have to put
in your Struts configuration action must appear the type (for each <action>)
even if I drop the "type" form <action> my...
Hello I'm integrating struts with common validator in spring
I'm using the processorClass="org.springframework.web.struts.DelegatingTilesRequestProcessor"
for the integration.
this's my action
...