com.sun.jmx.remote.generic
Interface SelectProfiles


public interface SelectProfiles


Method Summary
 void selectProfiles(Map env, String serverProfiles)
          Selects the profiles required by the client according to the server supported profiles.
 

Method Detail

selectProfiles

void selectProfiles(Map env,
                    String serverProfiles)
                    throws Exception
Selects the profiles required by the client according to the server supported profiles.

Parameters:
env - the environment map passed in at connection time. It might contain an already defined client profiles wish list passed in using the jmx.remote.profiles property. The profiles' key in this map must be modified with the client required profiles on method return, i.e. env is an in/out parameter.
serverProfiles - space-separated list of server supported profiles.
Throws:
Exception - if the server supported profiles do not fulfil the expectations of the client's defined security policy.


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