[ https://issues.apache.org/jira/browse/LUCENENET-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841369#action_12841369 ]
Digy commented on LUCENENET-346: -------------------------------- Your ASP.Net app. (or its pool) can run under a (dummy) domain user identity which has *only* the necessary rights. bq. Lucene.Net is not honouring the Identity of the ASP.Net applications. This is not directly Lucene.Net's problem, since any other code trying the access a network location would also fail. DIGY > If Lucene.Net is used under ASP.NET with impersonation enabled, accessing > directory at location requiring this impersonation will fail. > --------------------------------------------------------------------------------------------------------------------------------------- > > Key: LUCENENET-346 > URL: https://issues.apache.org/jira/browse/LUCENENET-346 > Project: Lucene.Net > Issue Type: Bug > Environment: Windows XP, Windows Server 2003, IIS > Reporter: Chris Armour > Priority: Minor > > Upon closing an index writer, Merge can be called spawning another thread. > This new thread doesn't have any knowledge of current ASP.NET impersonation. > This is easily resolved by retrieving an > System.Security.Principal.WindowsIdentity in constructor of MergeThread (or > possibly ThreadClass) if impersonation is active and making this > WindowsIdentity available to the new thread itself. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.