<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.7.0) on Thu Jan 10 16:02:49 EST 2008 --> <TITLE> SSLAdaptorServerSocketFactoryMBean (MX4J API) </TITLE> <META NAME="date" CONTENT="2008-01-10"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="SSLAdaptorServerSocketFactoryMBean (MX4J API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SSLAdaptorServerSocketFactoryMBean.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactory.html" title="class in mx4j.tools.adaptor.ssl"><B>PREV CLASS</B></A> <A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBeanDescription.html" title="class in mx4j.tools.adaptor.ssl"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html" target="_top"><B>FRAMES</B></A> <A HREF="SSLAdaptorServerSocketFactoryMBean.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> mx4j.tools.adaptor.ssl</FONT> <BR> Interface SSLAdaptorServerSocketFactoryMBean</H2> <DL> <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../mx4j/tools/adaptor/AdaptorServerSocketFactory.html" title="interface in mx4j.tools.adaptor">AdaptorServerSocketFactory</A></DD> </DL> <DL> <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactory.html" title="class in mx4j.tools.adaptor.ssl">SSLAdaptorServerSocketFactory</A></DD> </DL> <HR> <DL> <DT><PRE>public interface <B>SSLAdaptorServerSocketFactoryMBean</B><DT>extends <A HREF="../../../../mx4j/tools/adaptor/AdaptorServerSocketFactory.html" title="interface in mx4j.tools.adaptor">AdaptorServerSocketFactory</A></DL> </PRE> <P> Management interface for the SSL ServerSocket factory <P> <P> <DL> <DT><B>Version:</B></DT> <DD>$Revision: 1.3 $</DD> </DL> <HR> <P> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setKeyManagerAlgorithm(java.lang.String)">setKeyManagerAlgorithm</A></B>(java.lang.String algorithm)</CODE> <BR> Sets the key manager algorithm, by default is "SunX509".</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setKeyManagerPassword(java.lang.String)">setKeyManagerPassword</A></B>(java.lang.String password)</CODE> <BR> Sets the password to access the key present in the keystore.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setKeyStoreName(java.lang.String)">setKeyStoreName</A></B>(java.lang.String name)</CODE> <BR> Sets the name of the keystore; if the keystore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setKeyStorePassword(java.lang.String)">setKeyStorePassword</A></B>(java.lang.String password)</CODE> <BR> Sets the password to access the keystore specified by <A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setKeyStoreName(java.lang.String)"><CODE>setKeyStoreName(java.lang.String)</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setKeyStoreType(java.lang.String)">setKeyStoreType</A></B>(java.lang.String keyStoreType)</CODE> <BR> Sets the type of the keystore, by default is "JKS".</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setSSLProtocol(java.lang.String)">setSSLProtocol</A></B>(java.lang.String protocol)</CODE> <BR> Sets the SSL protocol version, by default is "TLS".</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setTrustManagerAlgorithm(java.lang.String)">setTrustManagerAlgorithm</A></B>(java.lang.String algorithm)</CODE> <BR> Sets the trust manager algorithm, by default is "SunX509".</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setTrustStoreName(java.lang.String)">setTrustStoreName</A></B>(java.lang.String name)</CODE> <BR> Sets the name of the truststore; if the truststore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setTrustStorePassword(java.lang.String)">setTrustStorePassword</A></B>(java.lang.String password)</CODE> <BR> Sets the password to access the truststore specified by <A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setTrustStoreName(java.lang.String)"><CODE>setTrustStoreName(java.lang.String)</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setTrustStoreType(java.lang.String)">setTrustStoreType</A></B>(java.lang.String trustStoreType)</CODE> <BR> Sets the type of the truststore, by default is "JKS".</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_mx4j.tools.adaptor.AdaptorServerSocketFactory"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface mx4j.tools.adaptor.<A HREF="../../../../mx4j/tools/adaptor/AdaptorServerSocketFactory.html" title="interface in mx4j.tools.adaptor">AdaptorServerSocketFactory</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../mx4j/tools/adaptor/AdaptorServerSocketFactory.html#createServerSocket(int, int, java.lang.String)">createServerSocket</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="setKeyStoreType(java.lang.String)"><!-- --></A><H3> setKeyStoreType</H3> <PRE> void <B>setKeyStoreType</B>(java.lang.String keyStoreType)</PRE> <DL> <DD>Sets the type of the keystore, by default is "JKS". <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setTrustStoreType(java.lang.String)"><!-- --></A><H3> setTrustStoreType</H3> <PRE> void <B>setTrustStoreType</B>(java.lang.String trustStoreType)</PRE> <DL> <DD>Sets the type of the truststore, by default is "JKS". <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setKeyStoreName(java.lang.String)"><!-- --></A><H3> setKeyStoreName</H3> <PRE> void <B>setKeyStoreName</B>(java.lang.String name)</PRE> <DL> <DD>Sets the name of the keystore; if the keystore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setTrustStoreName(java.lang.String)"><!-- --></A><H3> setTrustStoreName</H3> <PRE> void <B>setTrustStoreName</B>(java.lang.String name)</PRE> <DL> <DD>Sets the name of the truststore; if the truststore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setKeyStorePassword(java.lang.String)"><!-- --></A><H3> setKeyStorePassword</H3> <PRE> void <B>setKeyStorePassword</B>(java.lang.String password)</PRE> <DL> <DD>Sets the password to access the keystore specified by <A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setKeyStoreName(java.lang.String)"><CODE>setKeyStoreName(java.lang.String)</CODE></A>. <p> It correspond to the value of the -storepass option of keytool. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setTrustStorePassword(java.lang.String)"><!-- --></A><H3> setTrustStorePassword</H3> <PRE> void <B>setTrustStorePassword</B>(java.lang.String password)</PRE> <DL> <DD>Sets the password to access the truststore specified by <A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html#setTrustStoreName(java.lang.String)"><CODE>setTrustStoreName(java.lang.String)</CODE></A>. <p> It correspond to the value of the -storepass option of keytool. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setKeyManagerAlgorithm(java.lang.String)"><!-- --></A><H3> setKeyManagerAlgorithm</H3> <PRE> void <B>setKeyManagerAlgorithm</B>(java.lang.String algorithm)</PRE> <DL> <DD>Sets the key manager algorithm, by default is "SunX509". <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setTrustManagerAlgorithm(java.lang.String)"><!-- --></A><H3> setTrustManagerAlgorithm</H3> <PRE> void <B>setTrustManagerAlgorithm</B>(java.lang.String algorithm)</PRE> <DL> <DD>Sets the trust manager algorithm, by default is "SunX509". <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setKeyManagerPassword(java.lang.String)"><!-- --></A><H3> setKeyManagerPassword</H3> <PRE> void <B>setKeyManagerPassword</B>(java.lang.String password)</PRE> <DL> <DD>Sets the password to access the key present in the keystore. <p> It correspond to the value of the -keypass option of keytool; if not specified, the KeyStore password is taken. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setSSLProtocol(java.lang.String)"><!-- --></A><H3> setSSLProtocol</H3> <PRE> void <B>setSSLProtocol</B>(java.lang.String protocol)</PRE> <DL> <DD>Sets the SSL protocol version, by default is "TLS". <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SSLAdaptorServerSocketFactoryMBean.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactory.html" title="class in mx4j.tools.adaptor.ssl"><B>PREV CLASS</B></A> <A HREF="../../../../mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBeanDescription.html" title="class in mx4j.tools.adaptor.ssl"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactoryMBean.html" target="_top"><B>FRAMES</B></A> <A HREF="SSLAdaptorServerSocketFactoryMBean.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> <center><small>Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.</small></center> </BODY> </HTML>