Fixed issue #46: Remote Actor should be defined by target class and UUID
This commit is contained in:
parent
805fac6ebb
commit
f5b9e9804f
12 changed files with 138 additions and 94 deletions
|
|
@ -86,7 +86,7 @@ class AkkaSecurityFilterFactory extends ResourceFilterFactory with Logging {
|
|||
override def filter(request: ContainerRequest): ContainerRequest =
|
||||
rolesAllowed match {
|
||||
case Some(roles) => {
|
||||
(authenticator !? Authenticate(request, roles)).asInstanceOf[AnyRef] match {
|
||||
(authenticator !! (Authenticate(request, roles), 10000)).get.asInstanceOf[AnyRef] match {
|
||||
case OK => request
|
||||
case r if r.isInstanceOf[Response] =>
|
||||
throw new WebApplicationException(r.asInstanceOf[Response])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue