June 2017
Intermediate to advanced
304 pages
7h 12m
English
To allow the two-way SSL-enabled secure calls in your application, you can add a filter for verifying if it is a secure call with a valid client certificate.
If you are deploying a J2EE application, you can do this configuration through the custom filter component with @WebFilter("/*"), which ensures each and every request to the application URL gets filtered for the secured SSL call with this SSLValidationFilter as follows:
package com;import java.io.IOException;import java.security.cert.X509Certificate;import javax.naming.InvalidNameException;import javax.naming.ldap.LdapName;import javax.naming.ldap.Rdn;import javax.servlet.Filter;import javax.servlet.FilterChain;import javax.servlet.FilterConfig; ...
Read now
Unlock full access