What if I want to display error details in the view? Is it possible to pass a model to the error view using sendError?
Type: Posts; User: wfcheang; Keyword(s):
What if I want to display error details in the view? Is it possible to pass a model to the error view using sendError?
I have the same problem.
Never mind. The problem was not related to Acegi. My bad. Thanks!
Hello,
I am trying to implement some job scheduling using Quartz in my application. My job is required to call some methods under my service objects. However, all of the method invocations of my...
I try to find a way to show file upload progress bar in my spring application. I am using commons fileupload and sometimes my users will upload 15mb files from China. Has anyone successfully done...
Hi Ben,
I will submit a bug report on JIRA. Thanks!
Kenny
Here is what I found in ProviderManager.java from the 0.9.0 source:
public Authentication doAuthentication(Authentication authentication) throws AuthenticationException {
...
try {
...
I have the same problem. Upgraded to 0.9 and concurrent session doesn't work any more. I tried everything: Added ConcurrentSessionFilter, SessionRegistry but still no luck.
Kenny
In my application, I am listening to the AuthenticationSuccessEvent so that I can store the last successful login time and reset the failed login attempts. So I have a method called:
...
Rob,
Just ignore my last post. I didn't think at all when I read your reply. Stupid me!!!
Thanks again!
Kenny
Rob,
Thanks for your reply. Unfortunately, some of the message configurations (like To, Subject, and velocity template URL) require to be configured at runtime based on client's requests. These...
Please correct me if I am wrong. It seems to me that it is not possible to implement a thread safe MimeMessagePreparator. Because MimeMessagePreparator only has one method:
public void...
Thanks Rob. I just created a feature request.
Is it true that it is NOT possible to specify the url property of JasperReportsPdfView dynamically? My use cases require me to specify the JasperReports template (jrxml file) based on request...
Ok. I fixed the problem. I have to add the following servlet-mapping to web.xml.
<servlet-mapping>
<servlet-name>webapp</servlet-name>
<url-pattern>*.pdf</url-pattern>
</servlet-mapping>
I try to map PDF file extention to one of my controllers which will use JasperReports to generate PDF files dynamically. Here is my URL mappings:
<bean id="urlMapping" ...
Hi Rob,
I was trying to compile the report at runtime. Finally, I found out the problem.
First, the compile error is due to the JRDefaultCompiler used by Spring. We have to provide a different...
Hi,
I am trying to use JasperReports 0.6.8 with Spring 1.2. I just can't get the JasperReport file compiled. The root cause of the exception is:
C:\eclipse\test2.java:4: package...
I try to integrate Spring web framework with JasperReport. It seems all of code examples online for Spring+JasperReport use collection as the data source. I couldn't find any example which uses JDBC...
I am also having "ref bean not found" error in my spring configuration files.
I am running springide 1.2 on eclipse 3.1M6 with spring 1.2.1. I created a config set but still getting the error.
...
Just curious, why can't you just invalidate the session?
Hi Ben,
I changed it to
/login.html*=ROLE_ANONYMOUS,ROLE_USER
and everything is working prefectly.
I started to play with Acegi this weekend and made good progress. Everything is working very well until I tried to test login with wrong password.
Here is my setup: Basically, I have only two...