In your page use
Authentication authentication = SecurityContextHolder.getContext() .getAuthentication(); if ( authentication.getPrincipal() instanceof User ) { ... } where User is you specific User object. Hope that helps, Michael Ulrich Stärk schrieb:
Hi, are the UserDetails of a logged in user somehow exposed as a service or accessible via some service so that I can access them? Uli --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]