Home Help Center

Glacier2 with Dynamic AdapterID Filtering

kashiratkashirat Member Darren YuOrganization: EnbridgeProject: Glacier2 Integration
Hi,

I'm trying to introduce Glacier2 into our ecosystem of ICE services, but I would like to restrict Glacier2 to a specific subset of adapter IDs (matching a certain string).

Our adapter IDs look like: MyService.SomeHost.SomeSubService

I would like to do dynamic filtering in glacier2 such that I REJECT requests to any adatper going to MyProtectedHost (i.e. *.MyProtectedHost.*)

Any Adapter matching that would be rejected.

As far as I can see, using the SessionControl proxy with the Session Manager only allows you to ACCEPT adapters that exactly match. Is there something I'm missing that would let me achieve this?

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Sorry, there's currently no way to do this. As you discovered the filters are "exact" match filters and are only "accept" filters. Please contact us a [email protected] if you are interested in the support of wildcard reject filters, this is something we could consider adding if you have a commercial demand for it.

    Another option would be to change a bit your client-services interactions. If you use Glacier2, your clients could interact with their session to request access to services before using those services. The session implementation would add the service adapter ID to the session control adapter ID set to let the client invoke on the service and if its allowed to access the requested service.

    Cheers,
    Benoit.
Sign In or Register to comment.