Hi,
I have added
<bean class="org.springframework.ws.soap.server.endpoint.SoapFaultAnnotationExceptionResolver"/> to my xml configuration
and annotated my exception class with ...
Type: Posts; User: dbutler; Keyword(s):
Hi,
I have added
<bean class="org.springframework.ws.soap.server.endpoint.SoapFaultAnnotationExceptionResolver"/> to my xml configuration
and annotated my exception class with ...
Basically what i want is to intercept the endpoint and get the user id from the request header then authenticate that user id using the standard spring security.
Just trying to get some advice on...
Hi,
I've been working through the holiday service tutorial and reading about adding security to web service.
On our network we have a loadbalancer that handles the ssl handshake so what I want...
How about implementing your own UserDetailsService and overriding the loadUserByUsername method? You can then write your own dao class so you can query the necessary tables in the DB
The...
Thanks. Looking back at my question I understand where you are coming from about getting a reply!
A bit more reading of chapter 10 was required but basically adding
<tx:annotation-driven...
In my controller I call a service to update the database and another to send an email.
If the database call is successful but the email sends then I want to rollback the whole operation.
...
Hi,
I want to authenticate the user based on two credentials e.g date of birth and password
Can I extend the AbstractUserDetailsAuthenticationProvider even though it uses...
Thanks Rob
The first solution works fine.
@RequestMapping(value="/index.html", method = RequestMethod.GET)
public String index(@ModelAttribute("uploadItem") UploadItem uploadItem,...
Using Spring Security 3.0.3
How can I get the current logged in user in my controller class?
+1 for this...would like to read a good explanation of how form binding works
I have a list of domain objects that are displayed on a jsp.
There is a radio button group per item in the list to...
Install SpringSource Tool Suite which has embedded tomcat and add in a jndi resouce to context.xml
<Resource name="jdbc/yourIdentifer" auth="Container"
type="javax.sql.DataSource"...
Sure here you go...
In the controller...
...
Map<String,MyFormBean> formMap = new HashMap<String,MyFormBean>();
for(ResultBean rb:list) {
formBean = new MyFormBean();...
still stuck on this one if anyone else has any ideas?
Thanks,
Declan
Basically I need to figure out how I can get a form object out of the map and render a radio button based on the value set in the form object.
Sorry if I use <form:form modelAttribute="formMap[${var1.identifier}]" method="post"> as the model attribute I get the following:
java.lang.IllegalStateException: Neither BindingResult nor plain...
It will evaluate to e.g formMap[1234] which returns the form object from the map which has a getter that contains "Yes" or "No".
The problem seems to be getting that set as the selected option in...
Hi,
I have a controller that processes a user search request from a form and displays the results on a page
@RequestMapping(value="/search.html", method = RequestMethod.POST)
public String...
I am thinking of removing the x509 namespace and extending AbstractPreAuthenticatedProcessingFilter?
Hi,
What would be the best approach for the following scenario.
I want to try authenticate against values in the request header first before going into the X509AuthenticationFilter
The reason...