SecurityManager usage examples