This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* How to implement a session timeout in Play Framework 2 | |
* http://www.poornerd.com/2014/04/01/how-to-implement-a-session-timeout-in-play-framework-2/ | |
* | |
*/ | |
public class Secured extends Security.Authenticator { | |
public static final String UNAUTHENTICATED = "unauthenticated"; | |
public static User getLoggedInUser() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
test | |
<h2> testtest</h2> | |
</body> | |
</html> |