How to read attributes from LDAP in Jira using Groovy

Example script code in Groovy to read attributes from persons of the LDAP in Jira Server or Datacenter by MrAddon @GrabResolver(name=’apache-snapshot’, root=’http://repository.apache.org/snapshots/’) @Grab(group=’org.apache.directory’, module=’groovyldap’, version=’0.1-SNAPSHOT’) import javax.naming.Context; import javax.naming.NameNotFoundException; import javax.naming.NamingEnumeration; import javax.naming.NamingException; import javax.naming.directory.Attribute; import javax.naming.directory.Attributes; import javax.naming.directory.BasicAttribute; import javax.naming.directory.BasicAttributes; import javax.naming.directory.ModificationItem; import javax.naming.directory.SearchControls; import javax.naming.directory.SearchResult; import javax.naming.ldap.InitialLdapContext; import javax.naming.ldap.LdapContext; import javax.naming.ldap.LdapName; import java.text.MessageFormat;…

Read More

Smart-Contracts with Qtum

Qtum is another Chinese Ethereum like NEO ( we talked about NEO in the previous post: NeoLink: The MetaMask for NEO ) Qtum specifications are: Anonymity and robust security like Z-Cash Smart-Contracts development like Ethereum Integrates Segwit and Decentralized Governance Protocol. Uses UTXO model like Bitcoin, more efficient than Ethereum…. Staking Qtum in your wallet for a time…

Read More