I just was trying on my side the same sample : address book.
And why not submit it..
You've been faster.
Thanks for this simple application with Spring Rich
Type: Posts; User: lbois; Keyword(s):
I just was trying on my side the same sample : address book.
And why not submit it..
You've been faster.
Thanks for this simple application with Spring Rich
Here comes what i've changed i my code...
file .hbm.xml : i put the dtd to version 3, and suppressed my one-to-many relation
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE...
I haven't done this test (remove relation many to one)..
I will try tonight and reply
Laurent
My class Message is :
public class Message {
private Long id;
public Message getNextMessage() {
return nextMessage;
}
I will post Message class and hbm file tonight
Regards
Laurent
hello,
I have a webapp with two security modes in parallel :
A form security defined as follow in my web.xml file :
<login-config>
<auth-method>FORM</auth-method>
...
My environment is :
Mac OS X, JBoss 4, hibernate 3.x, spring 1.2.6, database is hsqldb
Here is the stacktrace....
org.apache.jasper.JasperException...
I have the same needs , i.e pass two list from a controller to a JSP...
In my controller i do :
public ModelAndView handleRequestInternal
(HttpServletRequest request, HttpServletResponse...
Ok,
I will post the stacktrace tonight
regards
Laurent
Yes,
I've searched.
To do the stuff, i first wrote...
getHibernateTemplate().find("from MyClass");
But i get a NullPointerException when my webapp is deployed in JBoss...i could give you...
Is it possible to give me an example of how to retrieve a collection (select multiple rows) using hibernateTemplate
Regards
Laurent
Ben,
I applied what you suggest in your last POST.
I have 4 services exposed, each based on HttpInvoker.
I have protected all the services, except the RemoteAuthentication one (for checking...
Hoy do i proceed to do this post configuration? Do i need to do this using AOP features, in context application file?
Regards
Laurent
In DaoAuthenticationManager (application context file) i set the property
<property name="passwordEncoder">
<bean class="path.to.my.passwordEncoderHomeMade"/>
</property>
In...
Jettro,
Sorry for this last questionm but how can i access can i access from everywhere to SecurityContextHolder
Laurent
Yes, that helps thanks.
But just a question.
In my case, i'm going to encapsulate the original password encoder in a class implementing PasswordEncoder.
Hoy can i access to this ThreadLocal...
Ben,
We need to have the username to do the check of the password.
How can we integrate this or get this username from the passWord encoder.
I checked the two methods to implement from the...
Ben,
Should i post a request enhancement in Spring JIRA or is there JIRA for ACEGI : if yes , what is the URL entry point.
Laurent
Yes, by replacing with HttpInvoker i have no more this kind of problem
Regards
Laurent
Ben,
It's yhat i did last evening.
I switched to HttpInvoker and it seems to york
In my web.xml, i've reintegrated acegi BasicProcessingFilter:
Yhat i just do not understand, is yhen...
Hi all,
Is it possible to plug to DaoAuthenticationProvider, yith the property passwordEncoder, a Home made Password encoder.
Today, after reading Spring in Action, i see that...
Ben,
What i did this morning, folloying your instructions posted previously in this threqd , is :
- configured a BASIC AUTH for my services in my web.xml file as follow :
<login-config>
...
I'm sorry to continue to ask you these kinds of question, but i do not see very well how to intercept org.springframework.remoting.caucho.HessianProxyFactoryBean to set username and password.
On...
I've put a stack trace but still have the issue :
öy authentication is against database (i have the two tables USERS and AUTHORITIES)
Yhen proceding to attemptAuthentication from...
I try this release this morning (1.0.0-RC1)
But i still hqve the problem with property name=usersByUserNameQuery
Laurent