| | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 09/04/2008 3:51:49 PM Posts: 416, Visits: 1,568 |
| | Do I need to import AD users/groups into a database from which StrataFrame can retrieve user data for authentication and authorization? Or, can I simply use these entities directly (database connection to the AD database directly)? I really do not want to use anything other than the active directory. All of my necessary data is already there. I really did search through both the documentation and the forums for an answer but I missed it somewhere. Thanks, Bill |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 5:39:40 AM Posts: 4,379, Visits: 4,422 |
| Do I need to import AD users/groups into a database from which StrataFrame can retrieve user data for authentication and authorization? If you are using Windows Authentication, StrataFrame will authenticate through the Windows API whether you are on a domain or using workgroup permissions. However, you still need a StrataFrame user so that you can assign all of your applications permissions to a user once they login to the application itself. So you may want to write a program that queries LDAP to automatically create SFSUsers records....or you can do this manually as well. We have developers out there who do it both ways. Or, can I simply use these entities directly (database connection to the AD database directly)? We never query AD directly. We use Windows APIs for authentication. The issue with not creating SF users is that you cannot assign any permissions, roles, etc. for your application. So even though you are authenticating off of AD, you still need an SF user to which permissions can be assigned. |
| | | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 09/04/2008 3:51:49 PM Posts: 416, Visits: 1,568 |
| I just had a big response written, when I hit 'Post Reply', I received the dreaded ASP.NET Server Application error. My response is gone. Bummer.  Here it is in a nutshell: Manual entry may be the way to go; however, what do I do about passwords when I do not know what they are? Also, I am getting an error when I fire up the SecurityDialog from my app...SFSUSers is empty; SFSPreferences is not set. The SF database is on my local SSE installation. Is that a problem? Is there something else that I need to consider? Thanks, Bill |
| | | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 09/04/2008 3:51:49 PM Posts: 416, Visits: 1,568 |
| | | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 10:38:53 PM Posts: 2,683, Visits: 1,883 |
| Yep, that's the one... the database reachable by our MicroFour.StrataFrame.Security.SecurityBasics.SecurityDataSourceKey needs to contain the SFSPreferences table (and all of the rest of the SFSx tables... save for the SFSProjects table, which is only needed at design-time).
www.bungie.net |
| |
|
|