Questions tagged [play-authenticate]

Play! Authenticate an extensible authentication plugin for Play! Framework 2 (Java)

38 questions
7
votes
1 answer

Play! Framework Authentication with LDAP

I am writing a webApp with Play2 for Java and want to use LDAP for user authentication... Im new to LDAP and actually don't know exactly how it works and how to use it in Play... for now I've found this plugin that should probably do the trick, but…
behzad
  • 965
  • 11
  • 24
3
votes
1 answer

IllegalStateException: No value MyAuthProvider.handleSignup(ctx());

When calling MyAuthProvider.handleSignup(ctx()); Play returns IllegalStateException: No value This only happens if I call myAccount.save() before calling. myAccount is an entity model that I create first before I let the system handle the signup and…
Chaosotic
  • 31
  • 3
3
votes
1 answer

Undefined session() method, play-authenticate

I am trying to create a relationship between the User model of the play-authenticate module and my model - Books. I am using play 2.0.4 and I have integrated play-authenticate into my project. In my controllers/Application I have the getLocalUser…
user1197252
2
votes
0 answers

@forProviders not working in scala view

Any methods from @import com.feth.play.module.pa.views.html._ (Play! authenticate library) isn't working! See the log: Uncaught error from thread [play-dev-mode-akka.actor.default-dispatcher-16]:…
Felipe Costa
  • 84
  • 1
  • 5
2
votes
1 answer

Play-Authenticate logout redirect

I have integrated the Play-Authenticate module in my Play 2.0.4 project. There are two views to my project, a conventional web view and a mobile view. When the application logs out it just returns to the index page. In the routes table I see that…
user1197252
2
votes
1 answer

Facebook login causing java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

we are working on a Java application built with PlayFramework and deploying it to Heroku. We integrate our login mechanism with Facebook through Play Authenticate, but since this morning, we are not able to log in. We get some secure certificate…
Marc
  • 213
  • 2
  • 12
1
vote
0 answers

Ebean doesn't update my postgreSQL database

I downloaded play-authenticate with its "play-authenticate-usage" example and changed from the h2 database implementation to the postgreSQL database. When I pick a specific User out of the table called "users", I can edit the values but after…
L.doan
  • 11
  • 2
1
vote
1 answer

Play 2.5 application(deadbolt?) becomes unresponsive

I have recently upgraded to play 2.5. Everything works, until the system gets busy generating reports (in separate threads) when I suddenly am unable to access any page in the web application. I don't see any errors in the log. The play 2.3.8…
Chet
  • 96
  • 8
1
vote
1 answer

Scala Play 2.5 Form convention and implicit Messages (MessagesApi) access

I'm working on this Scala Play application and after researching and thinking for a bit ended favoring a design that places all forms under a form package at the level where they are used in the views (or the topmost level that applies) e.g. app …
SkyWalker
  • 13,729
  • 18
  • 91
  • 187
1
vote
1 answer

I can login via Facebook, but other users can't

I am setting up a new Play-Authenticate. I have Google and Facebook enabled. Google seems to work for everyone that has tested it, however Facebook only works for me. Other Facebook users in the office (2 people) receive the following…
Chet
  • 96
  • 8
1
vote
1 answer

How to resend verification email in play authenticate?

I almost feel stupid for asking, but I can't figure out how to resend a verification email to a user who can't login using email & password on Play Authenticate. I.e. a user signed up for an account, the token on the verification email has expired,…
Shanker Kaura
  • 117
  • 1
  • 5
1
vote
1 answer

How to get change the port Play Authenticate uses for redirects and email URLs?

At the moment we're running our Play app on port 9000 with Apache as a front-end HTTP server like so: ServerName vms.gltd.net ProxyPass /http-bind http://vms.gltd.net:5280/http-bind/ ProxyPassReverse /http-bind…
Leon Roy
  • 580
  • 1
  • 5
  • 16
1
vote
0 answers

Unable to launch Heroku app - process exited with status 255

So I have play 2.0.4 project that I am trying to push to heroku. The project uses the play authenticate plugin and everything works as expected locally so I tried to push it to heroku. I have spent hours trying to get this to work now but with…
user1197252
1
vote
4 answers

install play-authenticate plugin

It seems the "play-authentication" plugin is not installed if i follow instructions at github https://github.com/joscha/play-authenticate/blob/master/samples/java/Getting%20Started.md my eclipse IDE cannot find packages starting with "com.feth". i…
othman
  • 4,428
  • 6
  • 34
  • 45
1
vote
2 answers

Play 2 Java authenticate plugin - HTTP status code response instead of redirect

We are using Play 2 authenticate plugin for a REST API and I would like to simply return 200 or 403 for login attempts. The plugin's code looks like this: public static Result loginAndRedirect(final Context context, final AuthUser…
Petteri H
  • 11,779
  • 12
  • 64
  • 94
1
2 3