com.sun.jmx.remote.generic
Interface CheckProfiles


public interface CheckProfiles


Method Summary
 void checkProfiles(Map env, List clientProfiles, Object clientContext, String connectionId)
          Check that the negotiated profiles are acceptable for the server's defined security policy.
 

Method Detail

checkProfiles

void checkProfiles(Map env,
                   List clientProfiles,
                   Object clientContext,
                   String connectionId)
                   throws Exception
Check that the negotiated profiles are acceptable for the server's defined security policy. This method is called just before the initial handshake is completed with a HandshakeEndMessage sent from the server to the client. If the method throws an exception, then a HandshakeErrorMessage will be sent instead.

Parameters:
env - the environment map passed in at connection server creation time. It might contain the server supported profiles passed in using the jmx.remote.profiles property.
clientProfiles - the list of the names of the profiles negotiated between the client and the server.
clientContext - the context sent by the client.
connectionId - the connection id assigned by the server to this given connection.
Throws:
Exception - if the negotiated profiles do not fulfil the expectations of the server's defined security policy.


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