I'm trying to writhe my custom Authorisation plugin.
Everything works smoothly, but one of the features is to redirect user
to another url when not authorised.
The problem is, that in our Windows Server 2008 R2 the event
WMS_EVENT_LOGICAL_URL_TRANSFORM is not fired. This event is vital for
redirection.
Am I missing some configuration of server in order to fire this event?
Actually I put these events to:
object IWMSEventAuthorizationPlugin.GetAuthorizedEvents()
{
// simplified
WMS_EVENT_TYPE[] wmsEvents =
{ WMS_EVENT_TYPE.WMS_EVENT_CONNECT,
WMS_EVENT_TYPE.WMS_EVENT_BEGIN_USER_SESSION,
WMS_EVENT_TYPE.WMS_EVENT_LOGICAL_URL_TRANSFORM,
WMS_EVENT_TYPE.WMS_EVENT_PHYSICAL_URL_TRANSFORM,
WMS_EVENT_TYPE.WMS_EVENT_DESCRIBE,
WMS_EVENT_TYPE.WMS_EVENT_OPEN,
WMS_EVENT_TYPE.WMS_EVENT_SELECT_STREAMS,
WMS_EVENT_TYPE.WMS_EVENT_INITIALIZE_PLAYLIST,
WMS_EVENT_TYPE.WMS_EVENT_PLAY,
WMS_EVENT_TYPE.WMS_EVENT_VALIDATE_PUSH_DISTRIBUTION
};
return wmsEvents;
}
but only these events are fired!
WMS_EVENT_PHYSICAL_URL_TRANSFORM
WMS_EVENT_DESCRIBE
WMS_EVENT_OPEN
WMS_EVENT_SELECT_STREAMS
Any idea?
Thanks!
Tomas