org.pelds.auth
Class TolerantFoafSslVerifier
java.lang.Object
net.java.dev.sommer.foafssl.verifier.DereferencingFoafSslVerifier
org.pelds.auth.TolerantFoafSslVerifier
- All Implemented Interfaces:
- net.java.dev.sommer.foafssl.verifier.FoafSslVerifier
public class TolerantFoafSslVerifier
- extends net.java.dev.sommer.foafssl.verifier.DereferencingFoafSslVerifier
This small derived class overwrites some ssl functions to ignore crappy
certificates and does proper redirecting, even from HTTP to HTTPS URLs. DOH!
Certificate errors can be ignored as only the encryption is wanted
- Author:
- Hannes Muehleisen (hannes@muehleisen.org)
Constructor Summary |
TolerantFoafSslVerifier()
Constructor, disables - Host name - Certificate common name matching -
SSL certificate trust checking |
Method Summary |
net.java.dev.sommer.foafssl.principals.DereferencedFoafSslPrincipal |
verifyByDereferencing(java.net.URI claimedIdUri,
java.security.PublicKey certPublicKey)
Overwrite the central function to do those redirection between protocols
URLConnection ignores. |
Methods inherited from class net.java.dev.sommer.foafssl.verifier.DereferencingFoafSslVerifier |
getAlternativeURIName, verifyByDereferencing, verifyByDereferencing, verifyFoafSslCertificate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TolerantFoafSslVerifier
public TolerantFoafSslVerifier()
- Constructor, disables - Host name - Certificate common name matching -
SSL certificate trust checking
verifyByDereferencing
public net.java.dev.sommer.foafssl.principals.DereferencedFoafSslPrincipal verifyByDereferencing(java.net.URI claimedIdUri,
java.security.PublicKey certPublicKey)
throws org.openrdf.OpenRDFException,
java.io.IOException
- Overwrite the central function to do those redirection between protocols
URLConnection ignores.
- Overrides:
verifyByDereferencing
in class net.java.dev.sommer.foafssl.verifier.DereferencingFoafSslVerifier
- Throws:
org.openrdf.OpenRDFException
java.io.IOException
- See Also:
DereferencingFoafSslVerifier