Search:

Type: Posts; User: dbutler; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    591

    Exceptions annotated with @SoapFault...

    Hi,

    I have added
    <bean class="org.springframework.ws.soap.server.endpoint.SoapFaultAnnotationExceptionResolver"/> to my xml configuration
    and annotated my exception class with ...
  2. Basically what i want is to intercept the...

    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...
  3. Web Services Security - Pre Authentication

    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...
  4. Replies
    9
    Views
    5,921

    How about implementing your own...

    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...
  5. Replies
    2
    Views
    533

    Thanks. Looking back at my question I understand...

    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...
  6. Replies
    2
    Views
    533

    Transaction within controller

    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.
    ...
  7. using AbstractUserDetailsAuthenticationProvider

    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...
  8. Thanks Rob The first solution works fine. ...

    Thanks Rob

    The first solution works fine.


    @RequestMapping(value="/index.html", method = RequestMethod.GET)
    public String index(@ModelAttribute("uploadItem") UploadItem uploadItem,...
  9. use SecurityContextHolderStrategy from controller

    Using Spring Security 3.0.3

    How can I get the current logged in user in my controller class?
  10. Replies
    2
    Views
    1,445

    +1 for this...would like to read a good...

    +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...
  11. Replies
    4
    Views
    2,561

    Install SpringSource Tool Suite which has...

    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"...
  12. Replies
    8
    Views
    1,106

    Sure here you go... In the controller... ...

    Sure here you go...

    In the controller...


    ...
    Map<String,MyFormBean> formMap = new HashMap<String,MyFormBean>();
    for(ResultBean rb:list) {
    formBean = new MyFormBean();...
  13. Replies
    8
    Views
    1,106

    still stuck on this one if anyone else has any...

    still stuck on this one if anyone else has any ideas?

    Thanks,
    Declan
  14. Replies
    8
    Views
    1,106

    Basically I need to figure out how I can get a...

    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.
  15. Replies
    8
    Views
    1,106

    Sorry if I use

    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...
  16. Replies
    8
    Views
    1,106

    It will evaluate to e.g formMap[1234] which...

    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...
  17. Replies
    8
    Views
    1,106

    Multiple forms with radiobuttons

    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...
  18. Replies
    1
    Views
    662

    I am thinking of removing the x509 namespace and...

    I am thinking of removing the x509 namespace and extending AbstractPreAuthenticatedProcessingFilter?
  19. Replies
    1
    Views
    662

    Custom X509 and form login

    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...
Results 1 to 19 of 19