security manager replaced with security context