Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 864567 Details for
Bug 1066470
(6.3.0) LdapExtended login module: LDAP referrals not working despite earlier fix
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
standalone test program util class for certificates
HostnameFakeVerifier.java (text/x-java), 799 bytes, created by
Tom Fonteyne
on 2014-02-18 13:49:29 UTC
(
hide
)
Description:
standalone test program util class for certificates
Filename:
MIME Type:
Creator:
Tom Fonteyne
Created:
2014-02-18 13:49:29 UTC
Size:
799 bytes
patch
obsolete
>package ldaptest; > >import java.security.cert.Certificate; >import javax.net.ssl.HostnameVerifier; >import javax.net.ssl.SSLPeerUnverifiedException; >import javax.net.ssl.SSLSession; > >/** > * Always accept the hostname > * > * @author Tom Fonteyne > */ >public class HostnameFakeVerifier implements HostnameVerifier >{ > > @Override > public boolean verify(String hostname, SSLSession session) > { > System.out.println("Checking: " + hostname + " in"); > try > { > Certificate[] certificates = session.getPeerCertificates(); > for (Certificate cert : certificates) > { > System.out.println(cert); > } > } > catch (SSLPeerUnverifiedException e) > { > return false; > } > > return true; > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1066470
:
864564
|
864565
|
864566
| 864567