I have implemented a Secured trait as described in the tutorial:

```
trait Secured {
...

def IsAuthenticated(f: => String => Request[AnyContent] => Result) = Security.Authenticated(username, onUnauthorized) { user =>
    Action(request => f(user)(request))
  }
...
}

```

And using it like this:

```
def list = IsAuthenticated { username => _ =>
...
}

```

Now, I have the following definition for file uploads:

```
def upload = Action(parse.multipartFormData) { request =>
...
}

```

Is it possible to combine IsAuthenticated and parse.multipartFormData so I am able to check the user during the file upload?