Skip to content
Snippets Groups Projects
Commit 2d8448ad authored by Paul-Christian Volkmer's avatar Paul-Christian Volkmer
Browse files

Handle both principals: String and User

In local environment the principal must be casted to User object but in
production environment the username is represented as String in principal
object.

With this patch the application will try a cast to User object, if this
fails, it will do a cast to String - which holds the OpenID identifier.
parent 364506f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment