auth: don't auth on methods
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 15 Jul 2013 09:56:06 +0000 (11:56 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 15 Jul 2013 09:56:06 +0000 (11:56 +0200)
commit7db2f9f3cf84f8eaf82d156b1f4425a8ce81864c
tree509dbb19cdcb09f674389bcdd581ed11bd6bafa2
parent692cbc1364dcd6cd5a342a9445cec9219d410088
auth: don't auth on methods

Don't authorize on methods anymore but on the resources that we
try to access, this is more flexible.
Move the authorization checks to where they are needed and let the
check return the response on error.
gst/rtsp-server/rtsp-auth.c