* @throws ApsSystemException In case of parsing errors.
*/
public UserRegConfig extractConfig(String xml) throws ApsSystemException {
Document doc = this.decodeDOM(xml);
Element root = doc.getRootElement();
UserRegConfig config = new UserRegConfig();
this.extractTokenValidityConfig(root, config);
this.extractMailSenderConfig(root, config);
this.extractActivationMailConfig(root, config);
this.extractReactivationMailConfig(root, config);
this.extractUserAuthDefaults(root, config);