add SecureGate.java