Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Bitkoo KeyStone Provider

Bitkoo KeyStone Provider

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    miniThomas
    wrote on last edited by
    #1

    Does anybody have knowledge of how to implement Bitkoo Keystone with ASP.Net 2.0

    Best Regards, Mini Thomas

    D 1 Reply Last reply
    0
    • M miniThomas

      Does anybody have knowledge of how to implement Bitkoo Keystone with ASP.Net 2.0

      Best Regards, Mini Thomas

      D Offline
      D Offline
      DGrinstein
      wrote on last edited by
      #2

      Hi Mini, To use the BiTKOO Keystone Auth component do the following: 1. Add a reference to it and then create a variable such as auth1 and instantiate it 2. Set the ApplicationId property to an application you create in the admin app 3. Set the PrimaryAuthUrl to the URL of the Keystone auth web service 4. Optionally set the SecondaryAuthUrl to the same or different auth web service 5. Call the auth component instance's Login method. There are several overloaded methods. You can call like this: auth1.Login("bitkoo", "username", "password") Make sure to substitute username and password for their correct values. The above steps allow you to authenticate. The Login method returns true if the user you specified in username has at least one role in the application. You can store the auth instance in the session and re-hydrate it on every page load. Since the authorization metadata is now cached in the auth component, you can call one of the auth component's methods to check whether a user has access to a resource. Consult the manual for a list of methods. If you need more information, BiTKOO is always happy to provide fanatical support. Just send an email to support@bitkoo.com :)

      M 1 Reply Last reply
      0
      • D DGrinstein

        Hi Mini, To use the BiTKOO Keystone Auth component do the following: 1. Add a reference to it and then create a variable such as auth1 and instantiate it 2. Set the ApplicationId property to an application you create in the admin app 3. Set the PrimaryAuthUrl to the URL of the Keystone auth web service 4. Optionally set the SecondaryAuthUrl to the same or different auth web service 5. Call the auth component instance's Login method. There are several overloaded methods. You can call like this: auth1.Login("bitkoo", "username", "password") Make sure to substitute username and password for their correct values. The above steps allow you to authenticate. The Login method returns true if the user you specified in username has at least one role in the application. You can store the auth instance in the session and re-hydrate it on every page load. Since the authorization metadata is now cached in the auth component, you can call one of the auth component's methods to check whether a user has access to a resource. Consult the manual for a list of methods. If you need more information, BiTKOO is always happy to provide fanatical support. Just send an email to support@bitkoo.com :)

        M Offline
        M Offline
        miniThomas
        wrote on last edited by
        #3

        Hi DGrinstein, Thanks for your reply, really apppreciate your help! I am able to Authenticate by using AuthComponent however it is the authorization part especially the KeyStone Role Provider that we are not able to explore. I found out that not all the methods are implemented in Keystone for the UserManagement module. for e.g GetAllRoles(), AddRole() etc As an alternative we are calling the webservice directly for accessing these methods. My question is there any other alternative way in which Keystone exposes its UserManagement methods so that we can call them directly rather than accessing through web service?

        Best Regards, Mini Thomas

        D 1 Reply Last reply
        0
        • M miniThomas

          Hi DGrinstein, Thanks for your reply, really apppreciate your help! I am able to Authenticate by using AuthComponent however it is the authorization part especially the KeyStone Role Provider that we are not able to explore. I found out that not all the methods are implemented in Keystone for the UserManagement module. for e.g GetAllRoles(), AddRole() etc As an alternative we are calling the webservice directly for accessing these methods. My question is there any other alternative way in which Keystone exposes its UserManagement methods so that we can call them directly rather than accessing through web service?

          Best Regards, Mini Thomas

          D Offline
          D Offline
          DGrinstein
          wrote on last edited by
          #4

          I see what you need. Yes, we have an ADMIN component that abstracts the calls to the web service. It allows making role management tasks and other administrative tasks very quick and easy. You can obtain the admin component, just send an email to eric@bitkoo.com and ask him to send you the admin comp. thanks!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups