Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2005

Tip: Looking for answers? Try searching our database.

Using more than one token

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 15 Apr 2005 15:56 GMT
We currently use a username token on our WSE web services. We'd like to also
perform NT authentication for users on our domain (but still use our existing
username token code for outside users).

Is this possible?
Dilip Krishnan - 15 Apr 2005 16:12 GMT
Ofcourse its possible. Only you'd have to tap into the winlogon apis
(which you get for free if you dont use a custom username token
manager). So in your situation heres some steps you might potentially
end up doing

1. Have a subclassed UsernameTokenManager
2. Distinguish users based on username token on whether they need to go
through windows authentication or external authentication
3. Pass it through your username token code for external users (Hint on
how to do this can be got be using reflector on the WSE dll)
4. Pass it through your Windows authentication routine for internal users.
5. Return the password in either of the paths at the end of the
overriden Authenticate method in the manager

> We currently use a username token on our WSE web services. We'd like to also
> perform NT authentication for users on our domain (but still use our existing
> username token code for outside users).
>
> Is this possible?

Signature

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilip.krishnan AT apdiya DOT com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.