We're trying to upload a file from a flex client to a JEE app.
- In a full HTTPS environment
- JEE server is JBoss 5
- Using BlazeDS 'Custom' authentication (username and password are entered trhough a flex form)
- Using BlazeDS per session authentication
In regular AMF calls, we can access user principal and use role mecanism.
However, in our upload servlet, we have no access to user principal.
request.getUserPrincipal() // returns null
How to fix this ?