Trouble Setting Up Security


Author
Message
rmoore
rmoore
StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)
Group: Forum Members
Posts: 21, Visits: 84
I'm having some trouble setting up security. I've been through the documentation and examples a couple times and believe I have everything setup correctly. The problem I'm having is that the app in not authenticating the user. I'm not getting any exception, only a message form saying "the given credentials could not be authenticated...". I've double checked the settings in the security editor everything looks fine. Could there be anything else that I've been overlooking, or something that is commonly overlooked?
Replies
rmoore
rmoore
StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)StrataFrame Novice (107 reputation)
Group: Forum Members
Posts: 21, Visits: 84
As far as I can tell, everything is set up properly. But it still doesn't work. I can get the login form to show but when the credentials are entered, authentication fails. I have one user, John Doe with a simple password jd. I've created a user role and assigned the user this role. I've also assigned the user grant permission for the MDIMainForm. Here are my Solution Preferences and Security Properties. I've attached a copy of my AppMain.vb.















StrataFrame Team
S
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Well, if you've called the
SecurityBasics.SetSecurityKeyAndVectorForUserAuthentication("CMPR.SecurityKey")

command within the InitApplication() of your AppMain.vb (or Program.cs), then the only other thing that could be wrong is that your users are not deployed to the SFS tables that are referenced at runtime.

Are the SFS tables part of your database?  Are the users and permissions deployed from the StrataFrame database (used by design-time) to those tables?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search