fix spring security plugin issue