I am trying to roll my own security in light of the fact that there is no
programmatic login in Servoy.
The problem is that unless I can load the current user, I am not able to
take advantage of the Servoy security code for managing access via groups.
I can see from other posts that there is no security.login method.
Is there any was to load the current user from within a application?
for example security.setUserName or security.setUseID would do it.
Are there any methods to do this?
If you are going to create your own security:
I have a table of users:
User_ID
User_Name
Password
Dept
Role
Etc…
Create a login screen with will capture the User ID by a global relationship based on the password / User_Name.
Assign the User_ID to a global
Thats what I am doing, might not be what you are looking for.
Erich
If you are going to create your own security:
I have a table of users:
User_ID
User_Name
Password
Dept
Role
Etc…
Create a login screen with will capture the User ID by a global relationship based on the password / User_Name.
Assign the User_ID to a global
Thats what I am doing, might not be what you are looking for.
Erich
Hi Erich,
What Dan wants is something I (and others) are missing as well.
Which is using our own security like you are doing as well, BUT also connecting it to a Servoy Security defined user.
This way you can let Servoy security handle things like tracelog, access to certain tables/columns, etc. next to your own custom security measures.
Hope this clears things up.
I have added this in the feature request area along with a poll. Please cast your vote and thanks very much for your assistance.