any scripts available for enabling security and configure federated repositories with LDAP
Does anybody have scripts available for enabling security and configure federated repositories?
AdminTask.createIdMgrLDAPRepository(['-id', ldap_id, '-ldapServerType', ldap_server_type, '-sslConfiguration', ssl_configuration, '-certificateFilter', '-loginProperties', 'uid'])
AdminTask.addIdMgrLDAPServer(['-id', ldap_id, '-host', ldap_host, '-port', ldap_port, '-bindDN', ldap_binddn, '-bindPassword', ldap_bindpword, '-ldapServerType', ldap_server_type, '-sslConfiguration', ssl_configuration, '-certificateMapMode', "exactdn", '-certificateFilter', '-sslEnabled', ssl_enabled])
AdminTask.addIdMgrRepositoryBaseEntry(['-id', ldap_id, '-name', base_entry_name, '-nameInRepository', base_entry_dn])
AdminTask.addIdMgrRealmBaseEntry(['-name', was_realm, '-baseEntry', base_entry_name])
AdminTask.setGlobalSecurity ('[-enabled true]')
setApplicationSecurity("true")
The only problem is to restart server in order to fetch users after config apply.