hi

I've looked at your example, and i did not understand why "authentication-manager" seems to appear twice: once
Code:
<authentication-manager id="clientAuthenticationManager" xmlns="http://www.springframework.org/schema/security">
		<authentication-provider user-service-ref="clientDetailsUserService" />
</authentication-manager>
and then again

Code:
	
<authentication-manager alias="authenticationManager" xmlns="http://www.springframework.org/schema/security">
		<authentication-provider>
			<user-service>
				<user name="marissa" password="koala" authorities="ROLE_USER" />
				<user name="paul" password="emu" authorities="ROLE_USER" />
			</user-service>
		</authentication-provider>
</authentication-manager>
I guess it is not because the resource server and the authentication server are united...
I try to understand the meaning of each statement, and the sample code is "a bit" different than what the documentations describe...
please advise

thanks!

Ohad