Options to make login in a Service focused Integration

Hi, I’m new at Milestone SDK. In our first project we have some restrictions imposed by the client which are not common.

The idea is that different systems connect to Milestone through an ESB (Enterprise Service Bus) so that different systems to send orders Milestone and this acted upon without the systems make use of the Milestone SDK.

So we would have a server that would implement these services, would process the messages, and carry out the actions resulting from such messages.

User validation will be implemented by Active Directory.

The problem we have at this point is how we could give different priority on the PTZ camera if the user connects from the service is the same and has high priority.

As a first option we have thought of opening several sessions from the server, but our client does not want to send messages in ESB user data and key to this.

Are there any alternatives to make a connection to Milestone as another user, for example to move a camera to another user priority indicated by the message of ESB?

Any alternative to this type of situation?

Any examples that may result from starting point?

Regards,

Sebastian

You are correct when stating that PTZ operation priority follows the user. There is no alternative, you cannot send a PTZ commend with a priority, so the priority is only set from the user context.

The MIP SDK has a UserContext class which makes it possible to run with multiple user contexts from one application or service. To see this please explore the Multi-User Environment sample.