Submit Links | Latest Links | Login (want to submit links for DLinks? send a mail to krishnas@javabeat.net)

Customize Acegi SecurityContext

Acegi Security uses the SecurityContextHolder object to store details of the current security context of the application. The SecurityContext holds the details of the authenticated principal in an Authentication object. By default the SecurityContextHolder uses a ThreadLocal to store these details, so that they will be available all methods in the current thread of execution.In order to obtain the Principal, you would use the following line

Topic: j2ee

Add your comments

JavaBeat Home