Can authentication be both Windows and Custom?
Dernier message 13 juil. 2009 08:33 par eurowise. 3 Réponses.
Version imprimable
Tri:
RetourRetour SuivantSuivant
Vous n'etes pas autorisé a poster une réponse.
Auteur Messages Non résolu
JusticeTrax
New Member
New Member
Posts:8

--
01 juil. 2009 01:08  
I would like to know if the authentication can be handled both set as Windows and Custom somehow? I would like to make some business objects that can go both ways so when I could authenticate a user with windows for some customers, that would be fine and when I cannot, then I could use custom.
Also, could you look into an option that when using the wizard the connection strig values are encrypted? Which, if selected would create a "settings" form which allowed you do set that value by showing the decrypted version and then encrypting when you save? Just a thought. Most folks don't want to see unencrypted connection strings in the file. At least in my customer base.
eurowise
Basic Member
Basic Member
Posts:215

--
01 juil. 2009 07:28  
Code Complete currently allows you to choose only one authentication mode for a single object. I am not sure how your request can be achieved, but we will look into it. The encrytpion issue is something we are already investigating and we are hoping to incorporate it in the next release.

Philip
JusticeTrax
New Member
New Member
Posts:8

--
10 juil. 2009 06:44  
Merci! The next release, this would be important for us. We have an application that has its own users and passwords, but can be mapped to active directory as well, it would be nice if the objects could do the same. When could we expect the next release s'il vous plaît ?

I have tested your demo against one of our databases and it works out ok. I have used LLBLGen before with CSLA, and this seems to work well. It did not like the 3.6.3 version of CSLA that I had compiled (I did the VB version) for some reason. It looked as if namespaces were not imported completely.
Also, many places the property did not have a varialbe name it was blank, especially for rowguids, I had to add a parameter value. In those the #end region tag did not come thru either.

Is there a way to modify the templates as well, perhaps with the full version, to allow me to add functionality I want in the objects so I dont have to copy and paste to several hundred objects in the business layer? For example, if I want a function that checks if the userID has permission to perform the function (add, read, update, delete, etc.) added in there with a boolean return for example, could I add that to the template and have it on every function? Just asking? So far it was pretty interesting to play with it.

I am interested in knowing what might be coming in the next release and when that might be. Encore, Merci.

Richard...
eurowise
Basic Member
Basic Member
Posts:215

--
13 juil. 2009 08:33  
Hi Richard,

Merci pour vos commentaries!

We have just released the beta version Code Complete 4.0. We are looking at the authentication issue you have raised. As for the templates, you can modify them in any way you wish and include any custom code you want. I just want to point out that the exisiting templates for the Business objects (Editable classes) already generate functions that check if the user is allowed to edit, add, delette and view the data (CanDelete, CanEdit ...).

A bientot

Philip
Vous n'etes pas autorisé a poster une réponse.

Active Forums 4.1
NOT LICENSED FOR PRODUCTION USE
www.activemodules.com
Connexion / Inscription