Bitkoo KeyStone Provider
-
Does anybody have knowledge of how to implement Bitkoo Keystone with ASP.Net 2.0
Best Regards, Mini Thomas
-
Does anybody have knowledge of how to implement Bitkoo Keystone with ASP.Net 2.0
Best Regards, Mini Thomas
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 :)
-
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 :)
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
-
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
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!