[Mono-list] Authorization in .NET Remoting channel

paszczi paszczi at go2.pl
Mon Jun 23 07:08:27 EDT 2008


Hi,

I'm struggling to find a way of implementing authorization in .NET remoting. The issue is that I've developed custom sink and I'm able to pass some credentials which then can be authenticated by server. But what I want to do is to check whether remote user who has called shared object's method can in fact invoke it (using my custom security framework). I've tried to pass custom principal/identity to Thread.CrrentPrincipal - but somehow this is always empty GenericIdentity (I've tried this on windows and I've only managed to pass WindowsIdentity instead of empty one :(). Any suggestions - the basic issue is how to get those credentials from sink to the remoted object :)

Best regards,
Maciej Paszta 


More information about the Mono-list mailing list