storeExternalConfiguration(String, Reader) method

The supplied configuration is validated and written out to persistent storage.

Syntax

Reader storeExternalConfiguration ( String primarySchema , Reader reader ) throws SecException

Parameters

Returns

the specified configuration with any validation problems (if any) added to it.

Usage

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.

the specified configuration with any validation problems (if any) added to it.