Move SecurityProvider as top-level public enum.
adding javadocs