Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/tls
In directory usw-pr-cvs1:/tmp/cvs-serv24003/src/org/beepcore/beep/profile/tls
Modified Files:
TLSProfile.java
Log Message:
Changed JSSE to be the default provider
Index: TLSProfile.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/tls/TLSProfile.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** TLSProfile.java 2001/11/08 05:51:35 1.13
--- TLSProfile.java 2001/11/09 16:44:43 1.14
***************
*** 1,3 ****
-
/*
* TLSProfile.java $Revision$ $Date$
--- 1,2 ----
***************
*** 43,52 ****
/**
- * list of known providers
- */
- public static final String[] providers = { "TLSProfilePureTLS",
- "TLSProfileJSSE" };
-
- /**
* init sets the criteria for which an TLS connection is made when
* a TLS channel is started for a profile. It should only be
--- 42,45 ----
***************
*** 65,69 ****
* instance of a <code>TLSProfile</code>.
*/
! abstract public StartChannelListener init(String uri, ProfileConfiguration config)
throws BEEPException;
--- 58,63 ----
* instance of a <code>TLSProfile</code>.
*/
! abstract public StartChannelListener init(String uri,
! ProfileConfiguration config)
throws BEEPException;
***************
*** 97,101 ****
try {
return
! getInstance("org.beepcore.beep.profile.tls.ptls.TLSProfilePureTLS");
} catch (NoClassDefFoundError e) {
}
--- 91,95 ----
try {
return
! getInstance("org.beepcore.beep.profile.tls.jsse.TLSProfileJSSE");
} catch (NoClassDefFoundError e) {
}
***************
*** 103,107 ****
try {
return
! getInstance("org.beepcore.beep.profile.tls.jsse.TLSProfileJSSE");
} catch (NoClassDefFoundError e) {
throw new BEEPException("TLS not installed");
--- 97,101 ----
try {
return
! getInstance("org.beepcore.beep.profile.tls.ptls.TLSProfilePureTLSPemInit");
} catch (NoClassDefFoundError e) {
throw new BEEPException("TLS not installed");
|