|
Play Framework/Scala example source code file (SSLEngineProvider.scala)
The SSLEngineProvider.scala Play Framework example source code
package play.server.api
import javax.net.ssl.{ SSLEngine, SSLContext }
import play.core.ApplicationProvider
/**
* To configure the SSLEngine used by Play as a server, extend this class. In particular, if you want to call
* sslEngine.setNeedClientAuth(true), this is the place to do it.
*
* If you want to specify your own SSL engine, define a class implementing this interface. If the implementing class
* takes ApplicationProvider in the constructor, then the applicationProvider is passed into it, if available.
*
* The path to this class should be configured with the system property <pre>play.http.sslengineprovider</pre>
*/
trait SSLEngineProvider extends play.server.SSLEngineProvider {
/**
* @return the SSL engine to be used for HTTPS connection.
*/
def createSSLEngine: SSLEngine
}
Other Play Framework source code examplesHere is a short list of links related to this Play Framework SSLEngineProvider.scala source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 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.