Max Ishchenko (Migrated from SEC-1175) said:
spring-security-2.0.4.xsd states the following (line 1141):
The username that should be assigned to the anonymous request. This allows the principal to be identified, which may be important for logging and auditing. if unset, defaults to "anonymousUser".
Whereas the real default username is "roleAnonymous" (see org.springframework.security.config.AnonymousBeanDefinitionParser:26)
Luke Taylor said:
I've updated the parser class to use the name "anonymousUser" which I think makes more sense than the existing name (which was probably a typo). It shoudn't make much difference to most users as the information in the anonymous token is rarely required.