|
Play Framework/Scala example source code file (Protocols.scala)
The Protocols.scala Play Framework example source code/* * * * Copyright (C) 2009-2013 Typesafe Inc. <http://www.typesafe.com> * */ package play.api.libs.ws.ssl object Protocols { /** * Protocols which are known to be insecure. */ val deprecatedProtocols = Set("SSL", "SSLv2Hello", "SSLv3") val recommendedProtocols = Array("TLSv1.2", "TLSv1.1", "TLSv1") // Use 1.2 as a default in 1.7, use 1.0 in 1.6 // https://docs.fedoraproject.org/en-US/Fedora_Security_Team//html/Defensive_Coding/sect-Defensive_Coding-TLS-Client-OpenJDK.html def recommendedProtocol = foldVersion(run16 = "TLSv1", runHigher = "TLSv1.2") } Other Play Framework source code examplesHere is a short list of links related to this Play Framework Protocols.scala source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.