15,923,087 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 12259080 (Top 4 by date)
Member 12259080
23-Mar-23 4:26am
View
Hello @Andre Oosthuizen,
Thanks for all your support and answer, we tried to implement the code snippet which you shared, unfortunately we are experiencing above exception error that I already shared with you, and we couldn't be able to fix that.
Also, as you recommended to check the process flow (Next step) that Microsoft has been provided the link on custom security. We had cross verified the entire steps; I don't think we have missed anything from the link but still we are getting error.
We completely troubleshooted in all possible ways to fix the error (Authentication cookie).
Once again, thank you so much for providing the much-needed assistance we needed during this period.
Any other solution you could suggest is highly appreciated.
Thanks
Gurudath.R
Member 12259080
2-Mar-23 1:25am
View
Hi @Andre Oosthuizen,
Thanks for your answer. Implemented the above piece of code which you shared, but I am facing an error while building the application saying
"Error CS0535 'AuthenticationExtension' does not implement interface member 'IAuthenticationExtension2.GetUserInfo(IRSRequestContext, out IIdentity, out IntPtr)' CustomSecurity"
Also, can't be able to add Interface member "IAuthorizationExtension2"
Interface IAuthenticationExtension2 contains memebers as shown below,
public interface IAuthenticationExtension2 : IExtension
{
void GetUserInfo(out IIdentity userIdentity, out IntPtr userId);
void GetUserInfo(IRSRequestContext requestContext, out IIdentity userIdentity, out IntPtr userId);
bool IsValidPrincipalName(string principalName);
bool LogonUser(string userName, string password, string authority);
}
GetUserInfo(IRSRequestContext requestContext, out string userName, out string authenticationType, out IEnumerable<string> roles) parameters not in the member of IAuthenticationExtension2 interface.
Appreciate your help.
Member 12259080
27-Feb-23 22:35pm
View
Hi @Andre Oosthuizen
Thanks for your comment, also bringing to your notice that, already installed custom security exception, unfortunately still authentication error persisting.
For more clarity on the problem statement, here by requesting to go through another forum link which I had created.
https://learn.microsoft.com/en-us/answers/questions/1180046/ssrs-reporting-server-2019-customsecurity-extensio
Thanks for your support and appreciate your time and patience.
Member 12259080
27-Feb-23 22:31pm
View
Hi @Andre Oosthuizen
Thanks for your answer. In our code we already implemented and enabled custom security extension, but still we are experiencing the error as Custom Security is not enabled.
In SSRS 2019, Microsoft has introduced new interface as IAuthenticationExtension2 under GetUserInfo(IRSRequestContext requestContext) method, this will call from client application.
My concern/query is can't we use GetUserInfo which contain HttpContext.Current.User that Microsoft is using in 2016 SSRS server? or how can we use HttpContext.Current.User in GetUserInfo(IRSRequestContext requestContext) method.
Any knowledge in this regard is highly appreciated.
Thanks for all your sincere support