This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dn:dc=my-domain,dc=com | |
objectClass:dcObject | |
objectClass:organizationalUnit | |
dc:my-domain | |
ou:MyDomain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dn: ou=people,dc=my-domain,dc=com | |
objectClass: organizationalUnit | |
ou: people |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# See slapd.conf(5) for details on configuration options. | |
# This file should NOT be world readable. | |
# | |
include /private/etc/openldap/schema/core.schema | |
include /private/etc/openldap/schema/cosine.schema | |
include /private/etc/openldap/schema/nis.schema | |
include /private/etc/openldap/schema/inetorgperson.schema | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# LDAP Defaults | |
# | |
# See ldap.conf(5) for details | |
# This file should be world readable but not world writable. | |
BASE dc=my-domain,dc=com | |
URI ldap://localhost:389 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.naming.Context; | |
import javax.naming.NamingEnumeration; | |
import javax.naming.NamingException; | |
import javax.naming.directory.Attributes; | |
import javax.naming.directory.DirContext; | |
import javax.naming.directory.InitialDirContext; | |
import javax.naming.directory.SearchControls; | |
import javax.naming.directory.SearchResult; | |
import java.util.Hashtable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void modifySecurityCredentials() throws PasswordValidationException { | |
Customer blCustomer = new CustomerImpl(); | |
blCustomer.setPassword("testpassword"); | |
when(customerService.readCustomerByUsername(any(String.class))).thenReturn(blCustomer); | |
when(customerService.isPasswordValid(any(String.class), any(String.class), any(Customer.class))).thenReturn(true); | |
PasswordChangeDTO passwordChange = new PasswordChangeDTO(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sonar.host.url=http://localhost:9000 | |
sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8 | |
sonar.jdbc.username=sonar | |
sonar.jdbc.password=sonar | |
sonar.sourceEncoding=UTF-8 | |
sonar.login=admin | |
sonar.password=admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sonar.jdbc.username=sonar | |
sonar.jdbc.password=sonar | |
sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Looking for a strong Systems Engineer with development experience, preferable 10 years or 10,000 hours, with experience of the following: | |
- Linux, AWS, DevOps, Puppet, automation | |
- Continuous Integration / Deployment and release pipelines | |
- Production infrastructure and monitoring | |
- Tomcat, Apache, MySQL, Capistrano, Ruby, Java | |
- Non-functional requirements - security, performance | |
Very good team and working environment and competitive salary / benefits. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RegisterMapper(MyObjectResultSetMapper.class) public interface MyDao | |
{ | |
// get objects | |
@SqlQuery("SELECT * FROM list WHERE ... LIMIT 200") | |
List<MyObject> get(); | |
void close(); | |
} |
OlderNewer