| java.lang.Object com.sun.jbi.internal.security.https.SSLHelper
SSLHelper | public class SSLHelper implements com.sun.jbi.internal.security.DeploymentObserver(Code) | | This is a internal helper class which is created by the SecurityHandler. The
The SecurityHandler creates this class during its initialization, this class gets
a handle to the SecurityHandler, which can be used to get the Installtime Security
configuration, UserManager, KeyStoreManager etc.
This class is used by the HttpSecurityHandler for creation of the SSL Contexts. The
DeploymentListener notifies this class of Endpoint deployments and Undeployments, the
SSL helper gets the deployment time Security Context from these deployments.
author: Sun Microsystems, Inc. |
Constructor Summary | |
public | SSLHelper() Creates a new instance of SSLHelper. |
SSLHelper | public SSLHelper()(Code) | | Creates a new instance of SSLHelper.
|
getTlsContext | public TlsContext getTlsContext(Endpoint endpoint)(Code) | | Get the TlsContext for a Endpoint.
Parameters: endpoint - is the Endpoint whose TLS Context is to be obtained. a TlsContext for an Endpoint, returns null if the Endpoint has not beenregistered. |
registerEndpointDeployment | public void registerEndpointDeployment(Endpoint endpoint, EndpointSecurityConfig epSecConfig) throws Exception(Code) | | Add an endpoint deployment. The deployment time security configuration is
combined with the install time security configuration and based on the result a
SSL Context is created for the endpoint. The endpoint deployment configuration
overrides the installtime security configuration.
Parameters: endpoint - is the Endpoint being deployed Parameters: epSecConfig - is the Security Configuration for the deployed endpoint. throws: Exception - on errors |
unregisterEndpointDeployment | public void unregisterEndpointDeployment(Endpoint endpoint)(Code) | | Unregister an Endpoint deployment.
Parameters: endpoint - is the Endpoint being undeployed |
|
|