mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Added isSecureConnection method (SMACK-84)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2089 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
690ba2f345
commit
2962187b75
2 changed files with 13 additions and 0 deletions
|
@ -120,6 +120,10 @@ public class SSLXMPPConnection extends XMPPConnection {
|
|||
super.init();
|
||||
}
|
||||
|
||||
public boolean isSecureConnection() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* An SSL socket factory that will let any certifacte past, even if it's expired or
|
||||
* not singed by a root CA.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue