else
return null;
}
public MyUserDetails getTapestryPrincipal() {
MyUserDetails tapestryPrincipal = null;
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
if (authentication != null) {
Object springSecurityPrincipal = authentication.getPrincipal();
if (springSecurityPrincipal != null) {