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 / November 2005

Tip: Looking for answers? Try searching our database.

PRB: How to:Create a Class Representing a Custom Binar Security To

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
alex bean - 21 Apr 2005 16:01 GMT
Hi,

In an example from the WSE (sp3) documentation, article entitled "How to:
Create a Class Representing a Custom Binary Security Token",
I don’t see what BinaryTokenNames refers to in the constructor for the
BinaryToken class.

Obviously, this constructor is making a call to initializes a new instance
of the BinarySecurityToken  base class using the specified value type and
token type but there is no definition for BinaryTokenNames in the example.
How and where can I define it?

The compiler complains with “The type or namespace name 'BinaryTokenNames'
could not be found (are you missing a using directive or an assembly
reference?)”

I’ve included all the references mentioned at the top of the article.  

Thanks.
Dilip Krishnan - 21 Apr 2005 20:44 GMT
That is just a class you can define on your own to pass in the valueType
and the tokenType. You can just create your own uri for representing
them. for eg. http://tempuri.org/MyBinaryToken that is just a mechanism
WSE uses to identify the tokens that come in and delegate the
authentication to appropriate token managers.

> Hi,
>
[quoted text clipped - 15 lines]
>
> Thanks.

Signature

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

Matt Moran - 17 Nov 2005 08:18 GMT
Hi Dilip,

very new to the .NET andWeb Service space and even moreso the WSE.

"That is just a class you can define on your own to pass in the valueType
and the tokenType. You can just create your own uri for representing
them. for eg. http://tempuri.org/MyBinaryToken that is just a mechanism
WSE uses to identify the tokens that come in and delegate the
authentication to appropriate token managers."

I'm quite lost here.  Where would you define your own class i.e.
MyBinaryToken? in your webservice project?

thanks

Matt

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.