Its now exposed through this Attribute https://github.com/apache/mina/blob/9c237cabb4ecc5ef8c379cc2d7a75c9d09c164cb/mina-core/src/main/java/org/apache/mina/filter/ssl/SslFilter.java#L57
This change ensures that the developer can only access that object after the handshake is complete. CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. On Apr 11, 2022 at 7:07:42 AM, Christoph John <christoph.j...@macd.com.invalid> wrote: > Hi Emmanuel, > > another short question that came up when checking my unit tests. Formerly > there was a method > SslFilter.getSslSession: > > https://github.com/apache/mina/blob/35aafff17ee3fc655844058b28489c4c14af65fa/mina-core/src/main/java/org/apache/mina/filter/ssl/SslFilter.java#L199 > > What is the replacement for that? I want to check the peer certificates of > the SSLSession. > > Thanks in advance and best regards, > Christoph. > > > On 11.04.22 10:53, Emmanuel Lécharny wrote: > > Hi! > > > I've made a slight mistake yesterday evening (or should I say this early > this morning): I name the > > release 2.2.0. > > > I haven't yet launch the vote, so I may revert and delete the release to > name it 2.2.0-M1, and > > also check the pb Cristoph is mentionning (the non propagation of an > exception to the IoAdapter > > when the SSLEngine throw it). > > > I'll keep you inform... > > > > On 09/04/2022 00:26, Emmanuel Lécharny wrote: > > > Hi ! > > > > > > I will start to cut a first milestone for the MINA 2.2.X branch. It has > been tested on Apache > > > Ftpserver, Ldap API and Directory Server with success. > > > > > > There will probably be more milestone, but that would be a first step. > > > > > > The main changes are: > > > - a complete redesign of the TLS handling > > > - the removal of the SslFilter.DISABLE_ENCRYPTION_ONCE attribute, which > is either replaced by a > > > dedicated filter, or the encapsulation of the message in a > DisableEncryptWriteRequest interface > > > > > > > > > I'll do that this week-end. > > > > > > Thanks ! > > > > -- > Christoph John > Software Engineering > T +49 241 557080-28 > christoph.j...@macd.com > > MACD GmbH > Oppenhoffallee 103 > 52066 Aachen, Germany > www.macd.com > > Amtsgericht Aachen: HRB 8151 > Ust.-Id: DE 813021663 > Geschäftsführer: George Macdonald >