I would like to repeat this question or the question "Is there a reason why not ?" which was asked in...
Type: Posts; User: mpr; Keyword(s):
I would like to repeat this question or the question "Is there a reason why not ?" which was asked in...
I just experienced the same problem with ROO 1.2.2 and I have no class in the default (root) package of the test folder.
It would be good if Roo would be more specific in the error message 'Aspect...
I'am just upgrading our webapp to spring-security-3.1.0.RELEASE and I also noticed the deprecation of AuthenticationException.extraInformation. I have exactly the same use case as Eitan and I'am also...
Thanks for your feedback.
I also thought that the checking should be optional, but I wanted to get some opinions before creating an issue in the tracker.
Encouraged by your posts I will do...
I'am using the SAML Extension in our web application and it's usually working very well.
A few days ago we had to authenticate against a new Shibboleth Identity Provider that is externally...
What do you want to achieve in the AbstractWizardFormController ?
Validate different pages of the wizard ?
Anyway I do not see a possibility to use the binding with buttons here and would suggest...
By default the password value is not shown. You will have to use the attribute showPassword like
<form:password path="password" showPassword="true" />
See Spring reference 13.9.6. The password...
In your code Spring should bind your selected type to the field typeCode of AccountType in an Account.
But this is not possible because your field typeCode is final and can't be changed after the...
In my opinion the problem is not the publishing of your values, but the name of your values.
If I get it right the name of the attribute (attrName) in your case is format.date, but the...
Hi,
I tried to express that there are parts of the Spring Framework you will have to use along with Spring Security and other parts which are optional to use.
When you look at the index of...
If you want to use Spring Security you will have to use the Spring Core Technologies (which include e.g. dependency injection) because Spring Security is based on these.
But it is not necessary...
You can get the real path of any file from your ServletContext with it's method
public String getRealPath(String path)
Martin
Because CustomDateEditor is not preregistered by Spring.
In the book "Java Development with the Spring Framework" by Rod Johnson et al it is explicitely mentioned that CustomDateEditor "is...
Normally it should not be overridden because you could easily disturb the intended workflow and as Marten has written onSubmit() is the better choice and this is also what the developers do suggest...
This case is a little different and does not work because the errors are not in the top map but in a map inside the map. Therefore they are not published in the request and the error tag cannot find...
When an authentication exception is thrown Spring takes the message text from it's own messages.properties file for the locale that is provided by the configuration. It is possible to use your own...
Try
<spring:hasBindErrors name="input">
<c:forEach items="${errors.allErrors}" var="errorMessage">
...
Martin
I have not used hasBindErrors myself, but the tag documentation says that errors are bound under the errors keys. So I guess that instead of status.errorMessages you should e.g. use...
You can use file.getInputStream() and do what you would do with a "normal" file.
e.g.
InputStream inputStream = file.getInputStream();
BufferedReader bufferedReader = new BufferedReader(new...
Hi Resha,
no, it will not
As I already posted, normally you should have no need to use handleRequest() at all. Please refer to the reference manual and API documentation for...
You could overwrite onSubmit(...) like
protected ModelAndView onSubmit(...)
{
... your code ...
return new ModelAndView(new RedirectView("link_to_other_page"), errors.getModel());
Your bean is just a simple String and what you want to achieve will not work that way.
Spring will create the String, will inject the String in both your controllers, but when you assign a new value...
When you overwrite handleRequest() and you are not calling super.handleRequest() you are effectivley disabling the logic of SimpleFormController and none of the other methods in the controller will...
Possibly the password comparison will fail, but there may be other reasons.
Inside DaoAuthenticationProvider a PasswordEncoder is used for the validation of passwords. If you do not specify a...
I would guess that you encode your passwords differently than the Md5PasswordEncoder does it.
Please have a look at the posting http://forum.springsource.org/showthread.php?t=74027
Perhaps this...