net.jini.jeri.ssl
Class SslEndpoint.SslEndpointInternals

java.lang.Object
  extended by net.jini.jeri.ssl.Utilities
      extended by net.jini.jeri.ssl.SslEndpoint.SslEndpointInternals
All Implemented Interfaces:
EndpointInternals
Enclosing class:
SslEndpoint

private static final class SslEndpoint.SslEndpointInternals
extends Utilities
implements EndpointInternals

Support EndpointInternals, for use by discovery providers


Nested Class Summary
 
Nested classes/interfaces inherited from class net.jini.jeri.ssl.Utilities
Utilities.SSLContextInfo
 
Field Summary
 
Fields inherited from class net.jini.jeri.ssl.Utilities
ANY_KEY_ALGORITHM, clientLogger, DSA_KEY_ALGORITHM, getSubjectPermission, initLogger, INTEGRITY_PREFERRED, INTEGRITY_REQUIRED, RSA_KEY_ALGORITHM, serverLogger, UNKNOWN_PRINCIPAL
 
Constructor Summary
private SslEndpoint.SslEndpointInternals()
           
 
Method Summary
private static SslEndpointImpl coerce(Endpoint endpoint)
           
private static CallContext coerce(OutboundRequestHandle handle)
           
private static SslServerEndpointImpl coerce(ServerEndpoint endpoint)
           
 void disableSocketConnect(Endpoint endpoint)
          Causes the given endpoint not to connect sockets it obtains from its socket factory.
 InvocationConstraints getUnfulfilledConstraints(OutboundRequestHandle handle)
          Returns any constraints that must be partially or fully implemented by higher layers for the outbound request represented by the given handle.
(package private) static void registerDiscoveryBackDoor()
          Register back door.
 void setConnManagerFactory(Endpoint endpoint, ConnManagerFactory factory)
          Sets the ConnManagerFactory used by the given endpoint to produce ConnManagers for managing connections.
 void setServerConnManager(ServerEndpoint endpoint, ServerConnManager manager)
          Sets the ServerConnManager used by the given endpoint to manage accepted connections.
 
Methods inherited from class net.jini.jeri.ssl.Utilities
checkValidity, contains, doesEncryption, doesServerAuthentication, equals, firstX509Cert, getCertFactory, getCipherAlgorithm, getClassName, getClientPrincipals, getClientPrincipals, getClientSSLContextInfo, getKeyAlgorithm, getKeyExchangeAlgorithm, getPermittedKeyAlgorithms, getServerPrincipals, getServerSSLContextInfo, getSupportedCipherSuites, hasStrongCipherAlgorithm, logThrow, maintainsIntegrity, permittedKeyAlgorithm, position, releaseClientSSLContextInfo, safeEquals, subjectString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SslEndpoint.SslEndpointInternals

private SslEndpoint.SslEndpointInternals()
Method Detail

registerDiscoveryBackDoor

static void registerDiscoveryBackDoor()
Register back door.


disableSocketConnect

public void disableSocketConnect(Endpoint endpoint)
Description copied from interface: EndpointInternals
Causes the given endpoint not to connect sockets it obtains from its socket factory.

Specified by:
disableSocketConnect in interface EndpointInternals

coerce

private static SslEndpointImpl coerce(Endpoint endpoint)

coerce

private static SslServerEndpointImpl coerce(ServerEndpoint endpoint)

setConnManagerFactory

public void setConnManagerFactory(Endpoint endpoint,
                                  ConnManagerFactory factory)
Description copied from interface: EndpointInternals
Sets the ConnManagerFactory used by the given endpoint to produce ConnManagers for managing connections.

Specified by:
setConnManagerFactory in interface EndpointInternals

setServerConnManager

public void setServerConnManager(ServerEndpoint endpoint,
                                 ServerConnManager manager)
Description copied from interface: EndpointInternals
Sets the ServerConnManager used by the given endpoint to manage accepted connections.

Specified by:
setServerConnManager in interface EndpointInternals

getUnfulfilledConstraints

public InvocationConstraints getUnfulfilledConstraints(OutboundRequestHandle handle)
Description copied from interface: EndpointInternals
Returns any constraints that must be partially or fully implemented by higher layers for the outbound request represented by the given handle.

Specified by:
getUnfulfilledConstraints in interface EndpointInternals

coerce

private static CallContext coerce(OutboundRequestHandle handle)


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.