java.rmi.transport
Interface SecureServerEndpointFactory


public interface SecureServerEndpointFactory

Defines a factory for generating secure server endpoints from server subjects. A factory contains all of the information necessary to construct a secure server endpoint except the server subject. In the case of TCP, a factory normally contains a local IP address and port to bind to (usually defaulting to address 0.0.0.0 and port zero), and the socket factory to use.

Since:
1.4

Method Summary
 SecureServerEndpoint getServerEndpoint(javax.security.auth.Subject serverSubject)
          Returns a server endpoint for the specified server subject, which can be null.
 

Method Detail

getServerEndpoint

public SecureServerEndpoint getServerEndpoint(javax.security.auth.Subject serverSubject)
                                       throws UnsupportedSecurityException
Returns a server endpoint for the specified server subject, which can be null.
Parameters:
serverSubject - the server subject, or null
Returns:
a server endpoint for the specified server subject
Throws:
UnsupportedSecurityException - if the factory's endpoints always require server authentication and either the endpoints cannot support authentication using the specified server subject or the calling thread does not have the requisite permissions (such as AuthenticationPermission to authenticate using the specified server subject


Copyright © 2000 Sun Microsystems, Inc. All rights reserved