Click here to Skip to main content
15,898,222 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb26-Feb-09 8:01
Feras Mazen Taleb26-Feb-09 8:01 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.26-Feb-09 8:27
Curtis Schlak.26-Feb-09 8:27 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb26-Feb-09 8:41
Feras Mazen Taleb26-Feb-09 8:41 
AnswerRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.26-Feb-09 9:04
Curtis Schlak.26-Feb-09 9:04 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb27-Feb-09 9:40
Feras Mazen Taleb27-Feb-09 9:40 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.27-Feb-09 10:04
Curtis Schlak.27-Feb-09 10:04 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb27-Feb-09 10:11
Feras Mazen Taleb27-Feb-09 10:11 
QuestionCreating a new Custom Data Processing Extension for Sharepoint (integrating SSO component) Pin
Simon Woods8-Feb-09 11:13
Simon Woods8-Feb-09 11:13 
Hi all,

I have the following problem:
We have a Sharepoint system which is being used to present Reporting Server content from a Cube based MSQL Database. All works fine so long as we use Kerberos authentication for both the Sharepoint login and for the Report Data Source. The problem is that the database contains not only data, but also the access rights to the content. It is therefore important that the content be collected as the user logged in (and not using a general admin account).

OK - so where is the problem?

We will be using Form Based Authentication for Sharepoint. In detail we are using a Single Sign-On product (Entrust GetAccess) which provides Sharepoint with the username of the user. The password is however not provided (company policy etc. and for PKI and Grid card based logins this is also not available). Our problem is how to authenticate to the Cube Database with a user but not having their credentials (just their username).

My idea was to create a new "Custom Data Processing Extension" which inherits from the standard "Microsoft SQL Server Analysis Services" passing through all of the standard functions. The connect method I would overwrite with my own code which then "magically" logs the user into the Database using their username and a secret password known only to the Extension and the Database.

Ok - That is the theory, but to be honest with you - I have not been able to find much help on how to exactly go about this.

My questions:
1: I am going about this the write way - or is their an easier way to do this?

2: Is there a way to "impersonate" the user? Login as an administrator and then "switch" to the users context in the DB? This would save me setting all of the users passwords to a secret value.

3: Does anyone have any code examples or links which would help me to get startet?

Hope someone can help,

Simon

PS: The Form Based Login to Sharepoint was not difficult to solve which gives me hope that we will find a solution for the next problem Smile | :) .
QuestionRPC Thread Pin
skmckkie7-Feb-09 2:41
skmckkie7-Feb-09 2:41 
AnswerRe: RPC Thread Pin
N a v a n e e t h8-Feb-09 15:26
N a v a n e e t h8-Feb-09 15:26 
AnswerRe: RPC Thread Pin
«_Superman_»8-Feb-09 17:38
professional«_Superman_»8-Feb-09 17:38 
QuestionCrystal Report Indian Language Problem Pin
harsh_c6-Feb-09 22:27
professionalharsh_c6-Feb-09 22:27 
AnswerRe: Crystal Report Indian Language Problem Pin
lalit.k.bhatia15-Mar-10 3:03
lalit.k.bhatia15-Mar-10 3:03 
QuestionAuto-insert comments with interface stubs? Pin
Gregory Gadow6-Feb-09 4:17
Gregory Gadow6-Feb-09 4:17 
AnswerRe: Auto-insert comments with interface stubs? Pin
Curtis Schlak.25-Feb-09 8:36
Curtis Schlak.25-Feb-09 8:36 
GeneralFunnies with Directory.Exists using remote UNC Pin
Brady Kelly6-Feb-09 3:10
Brady Kelly6-Feb-09 3:10 
GeneralRe: Funnies with Directory.Exists using remote UNC Pin
led mike6-Feb-09 9:56
led mike6-Feb-09 9:56 
GeneralRe: Funnies with Directory.Exists using remote UNC Pin
Luc Pattyn6-Feb-09 10:14
sitebuilderLuc Pattyn6-Feb-09 10:14 
Question.Net Remoting Problem Pin
snouto6-Feb-09 2:32
snouto6-Feb-09 2:32 
QuestionRe: .Net Remoting Problem Pin
led mike6-Feb-09 4:51
led mike6-Feb-09 4:51 
AnswerRe: .Net Remoting Problem Pin
snouto6-Feb-09 10:37
snouto6-Feb-09 10:37 
GeneralRe: .Net Remoting Problem Pin
led mike6-Feb-09 10:56
led mike6-Feb-09 10:56 
GeneralRe: .Net Remoting Problem Pin
snouto6-Feb-09 11:07
snouto6-Feb-09 11:07 
GeneralRe: .Net Remoting Problem Pin
led mike6-Feb-09 11:19
led mike6-Feb-09 11:19 
GeneralRe: .Net Remoting Problem Pin
Pete O'Hanlon6-Feb-09 11:21
mvePete O'Hanlon6-Feb-09 11:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.