Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
royclarkson committed May 26, 2012
1 parent 24e811b commit 579730e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions spring-android-basic-auth/README.md
Expand Up @@ -46,7 +46,17 @@ This sample includes an Android client and a Spring MVC server. Together these i
5. Start the sample app:

$ mvn android:run
_Note: the Android Maven Plugin will attempt to deploy and run the app to all available devices, both emulators and physical devices attached to your computer._

6. Log on using "roy" / "spring", as defined in spring-android-samples/spring-android-basic-auth/src/main/resources/security.xml
## Authenticating

_Note: the Android Maven Plugin will attempt to deploy and run the app to all available devices, both emulators and physical devices attached to your computer._
The client app illustrates a very basic interaction with the server. It starts with a screen requesting a username and password. If you enter the correct credentials, the server responds with a success message that is displayed on the screen. If however, you enter incorrect credentials, the server will respond with an HTTP 401, and the corresponding exception details will be displayed on the screen.

Username: roy
Password: spring

The username and password are defined in the following Spring Security configuration file:

/src/main/resources/security.xml

0 comments on commit 579730e

Please sign in to comment.