public interface CheckProfiles
| Modifier and Type | Method and Description |
|---|---|
void |
checkProfiles(Map env,
List clientProfiles,
Object clientContext,
String connectionId)
Check that the negotiated profiles are acceptable for the server's
defined security policy.
|
void checkProfiles(Map env, List clientProfiles, Object clientContext, String connectionId) throws Exception
HandshakeEndMessage sent from
the server to the client. If the method throws an exception, then a
HandshakeErrorMessage will be
sent instead.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.Exception - if the negotiated profiles do not fulfil
the expectations of the server's defined security policy.Copyright © 2019 Terracotta, Inc.. All rights reserved.