playframework « security « Java Enterprise Q&A





1. Redirect to previous url after logout    stackoverflow.com

On login, a user can be redirected to the page that requested login using the url value set in flash. Is is possible to have the same use case, redirect the user ...

2. Incorrect behaviour of the authenticate controller in the Secure controller    stackoverflow.com

I know there are already articles that covered this, but I'm having an issue that hasn't been resolved, even after reading those articles. Here it goes: I have 2 controllers, a ...

3. ApplicationError when trying to implement an edited version of the Secure module    stackoverflow.com

I'm implementing an edited version of the Secure controller, default in the latest Play Framework. I have read several times that, if you want to customize the Secure behaviour, you're better off ...

4. Restrict actions based on User's auth status (e.g. logged-in, cookied, anonymous)    stackoverflow.com

I am looking for ways to restrict certain actions in Controller(s) based on whether the user is logged in or not. I looked at the Security interceptor but how would the ...

5. Check user profile in view in PlayFramework?    stackoverflow.com

In my Play application, I've added Secure module. But I haven't found a way to check user profile in views. For example, one of the possible roles is "admin". When viewing ...

6. @Check does not work when action is called from other action    stackoverflow.com

I have an action in Controller that is secured with @Check annotation.

@With(Secure.class)
public class Application extends Controller {

    @Check("admin")
    public static void securedMethod() {
   ...

7. VerifyError; Expecting a stack map frame in method controllers.Secure$Security.authentify    stackoverflow.com

I followed the tutorial introducing the Play framework, but it gives me an error:

Execution exception VerifyError occured : Expecting a stack map frame in method controllers.Secure$Security.authentify(Ljava/lang/String;Ljava/lang/String;)Z at ...

8. Secure in Playframework    stackoverflow.com

I'm trying to install secure module in playframework, I tried with http://www.playframework.org/documentation/1.2.2/secure but Secure.class isn't found

 import models.Task;
 import play.mvc.Controller;
 import play.mvc.With;

 public class Application extends Controller {

  ...

9. Playframework Secure module and Internationalization    stackoverflow.com

I'm using the standard Secure module from Play! 1.2.2. In this discussion I've seen how to copy the view template for the Secure module:

play secure:ov --css
play secure:ov --login
play secure:ov --layout
or ...





10. letting only admin user to enter playframework admin crud area    stackoverflow.com

I am trying out authentication using playframework's secure module.I have two users -one an admin,the other with normal previleges.They are defined as

User(adminuser):
    email:   siteadmin@mysite.com
   ...

11. Is ReCaptcha too weak?    stackoverflow.com

Possible Duplicate:
Has reCaptcha been cracked / hacked / OCR'd / defeated / broken?
I recognized that during some time reCaptcha is used without the horizontal ...

12. Object ACL and Channel Security    stackoverflow.com

I'm interested in building a web app using the play framework. I like what I see. However, upon reading the security documentation there only appears to be controller/action authentication using the security ...

13. Security module    stackoverflow.com

I am new with Play! and I want to implement my own login page. I have read this : http://www.playframework.org/documentation/1.0/secure and did all this My view : Secure/login, shows up, but it ...