Blog: myshittycode


206 blogs updated: 3 min. ago
LdapTemplate: javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name ‘…'
BACKGROUND Let's assume we have the following LDAP configuration When running any LDAP query, the following exception is thrown:- SOLUTION T...
0
27-03-2017 00:31:10 myshittycode Advanced
LdapTemplate: AttributesMapper vs ContextMapper
BACKGROUND When using Spring's LdapTemplate, there are two ways to transform the queried results: AttributesMapper and ContextMapper. Here's...
3
26-03-2017 18:25:22 myshittycode Advanced
Spring: Component Scan Selected Classes
PROBLEM Let's assume we have a package with the following classes where each class is either annotated with Spring's @Service, @Component, @...
4
25-03-2017 22:53:27 myshittycode Advanced
JAXB2: Adding toString() to Generated Java Classes
PROBLEM By default, the generated Java class prints the memory address when toString() is invoked. However, sometimes it is helpful to have ...
7
07-03-2017 18:09:58 myshittycode Advanced
Git + Linux: (gnome-ssh-askpass:24871): Gtk-WARNING **: cannot open display:
PROBLEM When running git clone on Linux, the following error appears:- SOLUTION To fix this, run the following command to disable gnome-ssh-...
3
12-09-2016 19:10:16 myshittycode Advanced
Spring Security SAML: Replacing SHA-1 with SHA-256 on Signature and Digest Algorithms
PROBLEM By default, Spring Security SAML's SAMLBootstrap uses SHA1withRSA for signature algorithm and SHA-1 for digest algorithm. For exampl...
6
23-02-2016 21:30:26 myshittycode Advanced
Spring Security SAML: Handling IdP's Public Certificate When Loading Metadata Over HTTPS
PROBLEM By default, when loading IdP's metadata over HTTPS (ex: , Spring Security SAML will perform the trust verification configured in JDK...
3
19-02-2016 21:39:39 myshittycode Advanced
Java + SAML: Illegal Key Size
PROBLEM When attempting to decrypt the SAML response from IdP, the following exception occurs:- SOLUTION When inspecting the SAML response p...
4
19-02-2016 03:51:03 myshittycode Advanced
Spring Security SAML: Configuring Binding for Sending SAML Messages to IdP
PROBLEM Depending on each institution's Identity Provider (IdP) configuration, the Service Provider (Sp) may need to configure the correct b...
3
18-02-2016 20:38:19 myshittycode Advanced
There are no Limits…
Bruce had me up to three miles a day, really at a good pace. We d run the three miles in twenty-one or twenty-two minutes. Just under eight ...
3
17-12-2015 20:15:24 myshittycode Advanced

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.