add requiressl attribute code