Can I do this with security trimming on the menu?

B

Bernard

We have a web app that calls a Java web service to get a token. This token is
then used as an input parameter to authenticate any further web service
calls. The web service handles the usual session stuff (no access if no
activity for 20mins, etc)
The web service then hands back the username and a list of products that the
user has purchased.
We have a fairly complex menu system that hides and displays items based on
the product that a user has bought.

What I was hoping I could do was use the menu control in ASP.Net 2.0 and
create a role for each product and use security trimming to handle the menu
display.
However in order to do that I somehow have to programatically log a user in
(based on getting a valid token back from the web service)
Then I could programatically add the user to a role based on the product
list coming back from the web service.


Can any one help with this? Is it possible? How would I go about it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top