diff --git a/docs/manual/src/docbook/samples.xml b/docs/manual/src/docbook/samples.xml index fb2a0f4fe9..1e6a46e18e 100644 --- a/docs/manual/src/docbook/samples.xml +++ b/docs/manual/src/docbook/samples.xml @@ -9,8 +9,8 @@ files individually from the central Maven repository. We'd recommend the former. You can get the source as described in the introduction and it's easy to build the project using Maven. There is more information on the project web site at - - http://www.springframework.org/spring-security/ if you need it. All paths + + http://www.springsource.org/security/ if you need it. All paths referred to in this chapter are relative to the source directory, once you have checked it out from subversion.
@@ -45,24 +45,29 @@ and passwords are suggested on that page. Simply authenticate with any of these and view the resulting page. It should contain a success message similar to the following: - Authentication object is of type: org.springframework.security.authentication.UsernamePasswordAuthenticationToken - - Authentication object as a String: - org.springframework.security.providers.UsernamePasswordAuthenticationToken@1f127853: - Principal: org.springframework.security.userdetails.User@b07ed00: - Username: rod; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; - credentialsNonExpired: true; AccountNonLocked: true; - Granted Authorities: ROLE_SUPERVISOR, ROLE_USER; Password: [PROTECTED]; Authenticated: true; - Details: org.springframework.security.ui.WebAuthenticationDetails@0: - RemoteIpAddress: 127.0.0.1; SessionId: k5qypsawgpwb; - Granted Authorities: ROLE_SUPERVISOR, ROLE_USER - - Authentication object holds the following granted authorities: - - ROLE_SUPERVISOR (getAuthority(): ROLE_SUPERVISOR) - ROLE_USER (getAuthority(): ROLE_USER) - - SUCCESS! Your web filters appear to be properly configured! +Security Debug Information + +Authentication object is of type: +org.springframework.security.authentication.UsernamePasswordAuthenticationToken + +Authentication object as a String: + +org.springframework.security.authentication.UsernamePasswordAuthenticationToken@1f127853: +Principal: org.springframework.security.core.userdetails.User@b07ed00: Username: rod; \ +Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; +credentialsNonExpired: true; AccountNonLocked: true; \ +Granted Authorities: ROLE_SUPERVISOR, ROLE_USER; \ +Password: [PROTECTED]; Authenticated: true; \ +Details: org.springframework.security.web.authentication.WebAuthenticationDetails@0: \ +RemoteIpAddress: 127.0.0.1; SessionId: 8fkp8t83ohar; \ +Granted Authorities: ROLE_SUPERVISOR, ROLE_USER + +Authentication object holds the following granted authorities: + +ROLE_SUPERVISOR (getAuthority(): ROLE_SUPERVISOR) +ROLE_USER (getAuthority(): ROLE_USER) + +Success! Your web filters appear to be properly configured! Once you successfully receive the above message, return to the sample application's home page and click "Manage". You can then try out the application. Notice that only the