com.sun.jmx.remote.opt.security
Class TLSServerHandler

java.lang.Object
  extended by com.sun.jmx.remote.opt.security.TLSServerHandler
All Implemented Interfaces:
ProfileServer

public class TLSServerHandler
extends Object
implements ProfileServer

This class implements the server side TLS profile.


Field Summary
protected  SSLSocket ts
           
 
Constructor Summary
TLSServerHandler(String profile, Map env)
           
 
Method Summary
 Subject activate()
           
 void consumeMessage(ProfileMessage pm)
           
 String getName()
           
 void initialize(MessageConnection mc, Subject s)
           
 boolean isComplete()
           
 ProfileMessage produceMessage()
           
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ts

protected SSLSocket ts
Constructor Detail

TLSServerHandler

public TLSServerHandler(String profile,
                        Map env)
Method Detail

initialize

public void initialize(MessageConnection mc,
                       Subject s)
                throws IOException
Specified by:
initialize in interface ProfileServer
Throws:
IOException

produceMessage

public ProfileMessage produceMessage()
                              throws IOException
Specified by:
produceMessage in interface ProfileServer
Throws:
IOException

consumeMessage

public void consumeMessage(ProfileMessage pm)
                    throws IOException
Specified by:
consumeMessage in interface ProfileServer
Throws:
IOException

isComplete

public boolean isComplete()
Specified by:
isComplete in interface ProfileServer

activate

public Subject activate()
                 throws IOException
Specified by:
activate in interface ProfileServer
Throws:
IOException

terminate

public void terminate()
               throws IOException
Specified by:
terminate in interface ProfileServer
Throws:
IOException

getName

public String getName()
Specified by:
getName in interface ProfileServer


Copyright © 2014 Terracotta, Inc.. All rights reserved.