Skip to content

Demonstrates the Play! authentication in a very stripped-down way (no disturbing knick-knack).

License

Notifications You must be signed in to change notification settings

yatanasov/play-login-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play! Login Sample

This is a sample application showing the basic login (authentication/authorization) with Play! 2 for Scala. The sample is based on Play! 2 Zentasks Sample, but everything except what matters to show authentication and authorization has been removed.

Setup

It is a default Play! project, thus

  • clone the project
  • $ play run

will do the job and you can browse to localhost:9000

Usage

The application is structured straight forward

/ default, public index page
/restricted restricted content, login will be enforced
/login the login form
/logout triggers the logout

Version information

  • Play! 2.0.4
  • sbt 0.11.3

About

Demonstrates the Play! authentication in a very stripped-down way (no disturbing knick-knack).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 70.4%
  • HTML 29.6%