Play Framework with Spring Security?

I am new to the Play platform and want to implement some authentication for my webapp.

I already have experience with Spring and Spring Security and you want to use this, but I'm not sure if this makes sense, because Spring Security is mainly for ServletAPI.

Does it make sense to integrate Play with Spring Security?

Thank.

After further searches, I found this message:

https://groups.google.com/d/msg/play-framework/K7l6vHa0UUA/MYDlsaIfJEMJ

It seems that this is possible, but still it is necessary to perform many implementations of Play (filter, etc.).

+4
source share
2 answers

- , Deadbolt 2. , .

0

, spring . spring , , .

. - . - . , tweedling, ( , ?) spring -security-web , spring , cookie, . , , , - . .

Security , .

spring , , threadlocal - . -, spring - -

def handleRequest ... {
  withAuthorization(<list of roles necessary>) {
    service code
  }
}

. threadlocal, - , . - . https://cwe.mitre.org/data/definitions/862.html

, .

0

All Articles