Play! Authenticate an extensible authentication plugin for Play! Framework 2 (Java)
Questions tagged [play-authenticate]
38 questions
0
votes
1 answer
Play Framework Authorization Java
Does anybody know if there's play framework module that allows you to authorize pages dynamically in Java?
I'm using the play-authenticate/deadbolt modules (http://joscha.github.io/play-authenticate/ and https://github.com/schaloner/deadbolt-2) for…

Rico
- 58,485
- 12
- 111
- 141
0
votes
1 answer
Play authenticate (Deadbolt) restrict tag in view script not being processed
I have a working web application that uses the deadbolt module.
Every thing is working fine except that I am unable to add the restrict tag to a view script. I have tried..
@@Restrict( @@Group( "user" ) ) {
Howdy…

Chet
- 96
- 8
0
votes
1 answer
How do I add add an additional role to a user?
I started with the tutorial site play-authenticate-usage. I Have play 2.1, deadbolt 2.1 and play authenticate 1.0
Unfortunately I am a JDBC guy and new to JPA and annotations.
Everything works fine, I understand how to use the @Restrict for roles.…

Chet
- 96
- 8
0
votes
1 answer
Google keeps asking for permission when logging in with play-authenticate
I am using play-authenticate to provide OAuth access to my web app. It is however annoying that when logging in through google it keeps prompting to grant permission. This dose not occur on the example site https://play-authenticate.herokuapp.com/…

Rasmus Holm
- 11
- 2
0
votes
1 answer
JQuery Mobile Form helpers using the Play Framework
I am trying to integrate this play-authenticate module with the mobile side of my application. I want to use JQuery mobile for each of the pages instead of Twitter Bootstrap. So I've created a separate view and I've just set up a basic index and I…
user1197252
0
votes
1 answer
Using user id with other model classes
I am using the play-authenticate plugin in my play-framework project. I want to be able to use the user ID (of the user currently logged in) from the User.java model class of the plugin.
@Id
public Long id;
I want to do this so that when…
user1197252
0
votes
1 answer
Creating restricted pages with play! authenticate
On my website I have a dropdown menu on the main navigation bar. I want all of the pages in this dropdown list to be restricted - so login is required to view them and users get redirected to the login screen if they aren't logged in. I have…
user1197252
0
votes
1 answer
Play 2 Java, play-authenticate and Eclipse JUnit tests
I have a new Play 2 project with play-authenticate. I wrote some simple test cases for the REST API. Tests pass fine on the console but I cannot make some of them pass in Eclipse.
@Test
public void testWithoutAuth() {
running(testServer(3333), new…

Petteri H
- 11,779
- 12
- 64
- 94