I have implement a certain spring-ws service and when I sent a soap message I receive in spring webapplication 1 (running on tomcat 6.0.32):
Request:
<soapenv:Envelope...
Type: Posts; User: michel; Keyword(s):
I have implement a certain spring-ws service and when I sent a soap message I receive in spring webapplication 1 (running on tomcat 6.0.32):
Request:
<soapenv:Envelope...
After your great replies I realized that I make a big mistake because I use a custom authenticationDao by JDBC.
<b:bean id="authenticationDao1"...
And this is just the problem. Spring security doesn't do this all the time. how is this possible? I tried it to print a string to stdout in the isAccountNonLocked() and he is not always comming...
Do you have any suggestion where I can changed the way Spring-security checks on this function before authentication? Or do you think I must look in the custom DaoAuthenticationProvider I made. Sorry...
this is possible with in your xml:
....
<http auto-config="false" entry-point-ref="authenticationProcessingFilterEntryPoint">
....
I'm using Spring 2.5.6 and Spring security 2.0.
For login attempts I implements the UserDetails class on my User class. So the User class implements isAccountNonLocked() after a wrong login...
i want to create a mappings for a spring view controller:
this works:
<b:property name="mappings">
<b:props>
<b:prop key="/index.do">indexSpringController</b:prop>
...
Never mind:
to add "project facets" to the properties.
add following to ".project" from the root of your project:
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
I have the same problem, but i can't find "Project Facets"
is there not a option like Myeclipse: "deploy" ?
I want to use STS, because I dislike Myeclipse lately.
thx
but it looks like when i set "${mail.auth}" to "false" or to "true" in my properties file. it doesn't make a difference. both don't work.
so i think that the class...
mm your solutions is not exactly where I was looking for. but thx anayway :)
i tried this:
<!-- mail -->
<b:bean id="mailSender"...
Another question about PropertyPlaceholderConfigurer.
Is it also possible to create a kind of IF statement.
Example:
In de properties file you left "username" and "password" empty.
so the...
yeah!
that is exaclty where i was looking for.
stupid that i couldnt find it.
thanks!
I hope this question is not answered serveral times, but i can't find it so i hope you can help me.
in my ApplicationContext.xml i set al lot of values for example:
<b:bean...
mm that is also an idea.
but i hold it by my own solution. so i can set some more things in the xml
but thanks a lot for your quick response. you safeted my day ;)
:eek:
thx for your great helpand the examples.
i implements the code you give. but the function initMappingSqlQueries();
is not longer a protected function because he is not available in
...
mm i don't understand it
i know how to extend de JdbcDaoImpl. but how can i use addCustomAuthorities so he always use ROLE_CUSTOMER ?
something like this:
public class jdbcDaoImplExtended...
Hello
i want to set a fixxed role by userDetailsService while i using a JdbcDaoImpl.
So i want to use the username and password i get from a table but i don't want to use the authorities option...