Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-429

Spring WS authentication doesn't work when using a PropertyPlaceHolderConfigurer object

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      windows 32 bits, JDK 1.6

      Description

      Hi.

      My web service begins to fail when I change the SimplePasswordValidationCallbackHandler to get the password from a PropertyPlaceHolderConfigurer like this:

      <bean id="simpleTokenValidationHandler"
      class="org.springframework.ws.soap.security.xwss.callback.SimplePasswordValidationCallbackHandler">
      <property name="users">
      <props>
      <prop key="user"><b>${ws.password}</b></prop>
      </props>
      </property>
      </bean>

      I know that it is resolving its value at start-up but the authentication fails and it shouldn't.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arjen.poutsma Arjen Poutsma
                Reporter:
                pakin Angel
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: