Minor cleanup SecureRequestCustomizer (#5660)
* For #5650 protect from bad SslSession Better protection from a bad SslSession like seen in #5650 * review indicated that there is too much depth to defend. So just a little cleanup in this PR.
This commit is contained in:
parent
3c4e259dc2
commit
71087e53a6
|
@ -333,10 +333,11 @@ public class SecureRequestCustomizer implements HttpConfiguration.Customizer
|
|||
|
||||
try
|
||||
{
|
||||
_certs = getSslSessionData().getCerts();
|
||||
SslSessionData sslSessionData = getSslSessionData();
|
||||
_certs = sslSessionData.getCerts();
|
||||
_cipherSuite = _session.getCipherSuite();
|
||||
_keySize = getSslSessionData().getKeySize();
|
||||
_sessionId = getSslSessionData().getIdStr();
|
||||
_keySize = sslSessionData.getKeySize();
|
||||
_sessionId = sslSessionData.getIdStr();
|
||||
_sessionAttribute = getSslSessionAttribute();
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Reference in New Issue