cancel
Showing results for 
Search instead for 
Did you mean: 

Get authenticated user for WebDAV/CIFS session

buddycasino
Champ in-the-making
Champ in-the-making
For JSF, I can do:

Application.getCurrentUser(FacesContext.getCurrentInstance());

When someone copies files using WebDAV (or CIFS), FacesContext.getCurrentInstance() is null. What would be the equivalent?

Any help greatly appreciated!
1 REPLY 1

buddycasino
Champ in-the-making
Champ in-the-making
I just found the answer, this does the trick:
AuthenticationUtil.getCurrentUserName()