I need to associate an existing application with Acegi / Spring security.
To get started, I'm looking for one simple information: in this context, is the HttpServletRequest.getUserPrincipal () called from my application correctly returning the username obtained using Spring (as opposed to using Spring - specific objects)? I have conflicting information on Google.
I assume that if Acegi is implemented with filters, it can overload the getUserPrincipal () servlet API, right?
Auxiliary question: if this is not the case by default, is there a way to enable it?
Thanks,
-Erik
source
share