Categories
Mastering Development System & Network

Apache authentication fails with require ldap-group

I have been trying to tie apache on a windows server to our active directory server for authentication and authorization. In order to test it, I have been trying the “ldap-status” handler, with the following parameters <Location “/ldap-status”> SetHandler ldap-status AuthType Basic AuthBasicProvider ldap AuthName “LDAP Status” LDAPReferrals off AuthLDAPBindAuthoritative on AuthLDAPURL “ldap://1.2.3.4:389/cn=Users,dc=XXX,dc=example,dc=com?sAMAccountName?sub?(objectClass=person)” NONE AuthLDAPGroupAttribute […]

Categories
CMS Magento Mastering Development

Magento 2 get collection custom module

I made a module, following a tutorial, but now I need to call these items registered in the module, to my store home my module is Create / Save Admin Grid how do i call these saved lines on my module? this is my module structure, it works correctly, but I can’t call it in […]

Categories
Database Development

Replace a sequential set of numbers with special character

I have a varchar(200) column that contains entries such as, ABC123124_A12312 ABC123_A1212 ABC123124_B12312 AC123124_AD12312 A12312_123 etc.. I want to replace a sequence of numbers with a single * so that I can group the distinct non-numeric patterns in the table. The result for this set would be ABC*_A* ABC*_B* AC*_AD* A*_* I have written the […]

Categories
Mastering Development System & Network

Why is Bouncy Castle appearing to be the default security provider in JBoss 6.4?

Our application is making calls to a Google API. On UAT with Java version 1.7.0_131 and JBoss 6.4, it works correctly, but on production environment, with the same Java and the JBoss versions, the same codebase gives the error: Caused by: java.lang.RuntimeException: Could not generate DH keypair at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:83) at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:720) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:278) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:961) […]