The supplied configuration is validated and written out to persistent storage.
If the configuration is not valid, the validation problems are added to the xml document and returned. The configuration is written to the persistent storage whether valid or not. The configuration will not be made effective immediately. A call to SecContextFactory.refresh() should be used to do this.