StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Active Directory UserExpand / Collapse
Author
Message
Posted 12/19/2007 1:16:51 PM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: 07/11/2010 6:41:23 AM
Posts: 785, Visits: 3,559
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

Post #13089
Posted 12/20/2007 9:54:17 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 08/31/2010 2:36:53 PM
Posts: 6,287, Visits: 6,191
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.

Post #13095
Posted 12/20/2007 3:27:47 PM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: 07/11/2010 6:41:23 AM
Posts: 785, Visits: 3,559
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

Post #13110
Posted 12/20/2007 3:58:16 PM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: 07/11/2010 6:41:23 AM
Posts: 785, Visits: 3,559
See http://forum.strataframe.net/Topic13101-6-1.aspx.  This may be the root of the problem...the security DB cannot be in the development SF DB, but must be relocated for runtime use.  Yup...that makes sense! 
Post #13114
Posted 12/21/2007 9:15:24 AM


StrataFrame Developer

StrataFrame Developer

Group: Forum Members
Last Login: 05/21/2009 8:15:57 AM
Posts: 2,689, Visits: 1,897
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
Post #13127
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Trent L. Taylor, Steve L. Taylor, Dustin Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 8:40am

Powered by InstantForum.NET v4.1.4 © 2010
Execution: 0.109. 8 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.