Skip to content

Spring WS authentication doesn't work when using a PropertyPlaceHolderConfigurer object [SWS-429] #574

@gregturn

Description

@gregturn

Angel opened SWS-429 and commented

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.


Affects: 1.5.4

Issue Links:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions