Apache CXF API

org.apache.cxf.transport.https
Class HttpsURLConnectionInfo

java.lang.Object
  extended by org.apache.cxf.transport.http.URLConnectionInfo
      extended by org.apache.cxf.transport.http.HttpURLConnectionInfo
          extended by org.apache.cxf.transport.https.HttpsURLConnectionInfo

public class HttpsURLConnectionInfo
extends HttpURLConnectionInfo

This class holds information about the HttpsURLConnection. This class should be used when the getURL().getProtocol() is "https".


Field Summary
protected  java.lang.String enabledCipherSuite
          This field contains the cipherSuite enabled in the HTTPS URLconnection.
protected  java.security.cert.Certificate[] localCertificates
          This field contains the certificates that were used to authenticate the connection to the peer.
protected  java.security.Principal localPrincipal
          This field contains the Principal that authenticated to the peer.
protected  java.security.Principal peerPrincipal
          This field contains the Principal that represents the authenticated peer.
protected  java.security.cert.Certificate[] serverCertificates
          This field contains the certificates the server presented to authenticate.
 
Fields inherited from class org.apache.cxf.transport.http.URLConnectionInfo
theURL
 
Method Summary
 java.lang.String getEnabledCipherSuite()
          This method returns the cipher suite employed in this HttpsURLConnection.
 java.security.cert.Certificate[] getLocalCertificates()
          This method returns the certificates that were used to authenticate to the peer.
 java.security.Principal getLocalPrincipal()
          This method returns the Princpal that authenticated to the peer.
 java.security.Principal getPeerPrincipal()
          This method returns the Principal that represents the authenticated peer.
 java.security.cert.Certificate[] getServerCertificates()
          This method returns the certificates presented by the peer for authentication.
 
Methods inherited from class org.apache.cxf.transport.http.HttpURLConnectionInfo
getHttpRequestMethod
 
Methods inherited from class org.apache.cxf.transport.http.URLConnectionInfo
getURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enabledCipherSuite

protected java.lang.String enabledCipherSuite
This field contains the cipherSuite enabled in the HTTPS URLconnection.


localCertificates

protected java.security.cert.Certificate[] localCertificates
This field contains the certificates that were used to authenticate the connection to the peer.


localPrincipal

protected java.security.Principal localPrincipal
This field contains the Principal that authenticated to the peer.


serverCertificates

protected java.security.cert.Certificate[] serverCertificates
This field contains the certificates the server presented to authenticate.


peerPrincipal

protected java.security.Principal peerPrincipal
This field contains the Principal that represents the authenticated peer.

Method Detail

getEnabledCipherSuite

public java.lang.String getEnabledCipherSuite()
This method returns the cipher suite employed in this HttpsURLConnection.


getLocalCertificates

public java.security.cert.Certificate[] getLocalCertificates()
This method returns the certificates that were used to authenticate to the peer.


getLocalPrincipal

public java.security.Principal getLocalPrincipal()
This method returns the Princpal that authenticated to the peer.


getServerCertificates

public java.security.cert.Certificate[] getServerCertificates()
This method returns the certificates presented by the peer for authentication.


getPeerPrincipal

public java.security.Principal getPeerPrincipal()
This method returns the Principal that represents the authenticated peer.


Apache CXF API

Apache CXF