*/
public void generate()
throws IOException, SAXException, ProcessingException {
this.xmlConsumer.startDocument();
AuthenticationManager authManager = null;
try {
authManager = (AuthenticationManager)this.manager.lookup(AuthenticationManager.ROLE);
if (authManager.isAuthenticated() == true) {
Configuration conf = authManager.getModuleConfiguration("single-role-user-management");
if (conf == null) {
throw new ProcessingException("Module configuration 'single-role-user-management' for authentication user management generator not found.");
}
UserManagementHandler handler = new UserManagementHandler(conf,
authManager.getApplicationName());
this.showConfiguration(this.xmlConsumer, this.source, handler, authManager);
}
} catch (ConfigurationException ex) {
throw new ProcessingException("ConfigurationException: " + ex, ex);
} catch (ComponentException ex) {