is it possible to create a Oracle Apex Create Registration Page Using default Users which is accessible as a public page. Without creating a custom authentication.
Yes,
You can use the APEX_UTIL.CREATE_USER procedure to create users in PL/SQL when they sign up.
To use APEX_UTIL.CREATE_USER, you need administrator privilege which is most likely new user won't have it because it is the first time they sign up.
Related
i am doing a register page for my application.
My application use express account of apex.
Register page of-course is a public page (not require authentication - because there is no account at this time to authenticate).
Problem is 'nobody' user does not has ADMIN privilege to perform APEX_UTIL.CREATE_USER procedure.
I found a tutorial that creating a temporary table, procedure and job to create user on another thread. I do not try this yet. But UX is not good because it cannot be done in 1 transaction.
I want to find solution for this issue. Thank for your help.
I have the following business problem to solve in a big legacy application written in PL/SQL and Oracle Forms 6i:
Not allow users to log in using their database accounts.
The whole application has around 50 users who use their database accounts. The audit department doesn’t allow that users know their database accounts passwords.
Rewriting the application to use a new user rights logic (using a table like USERS, only 1 database user, etc.) is out of the question as it’s too much work.
I thought about the following solution to use the existing database users:
Create a table USERS with usernames and new passwords, and somehow use a proxy user. In a package the application will check if the provided password is in line with the table USERS, and then connect as 1 of the 50 database users – so all application logic and user rights can stay the same.
But there is one problem with this workaround – you can’t use „connect” in a package. So I can’t use it.
begin
IF
p_in_user == USER2 AND p_in_pass == XXX
THEN
EXECUTE IMMEDIATE 'conn USER2/Password123'; -- doesn't work, using a proxy neither
END IF;
END;
Does anyone has any ideas?
The audit department doesn’t allow that users know their database accounts passwords
You can use encripted passwords.
Oracle allow to use encripted passwords through profile settings.
You can use a function to encript a clear password:
the clear password is given to end user
and on oracle database the user account is created/changed with the encripted password.
The user use his/her clear password to login and during login Oracle conver this to a encripted password for authentication.
Please confirm is this solution is ok, so I can post an example.
I am using Oracle Apex v5.1 and application is using LDAP authentication.
I have a separate 'Create new user' form in application which is inserting user details such as NT-IDs, privilege into a user table.
Whenever user is logging to application, login password is been taken care by LDAP directory.
I want to know that is there any way to get user details such as full name, email address etc from LDAP directory instead of manual insertion into my user table?
What query I can use, so that User name/Email id will automatically inserted into table once user has created in that Oracle Apex form.
Please help. Thank you.
You can connect to LDAP using PL/SQL APIs, as described by Tim
You could then construct a pipelined function around this to allow you to query using SQL.
For performance, you could create a materialised view on this query.
This technique was also described in a chapter of an APEX book co-authored with John Scott.
In my project, I used Oracle SSO, I want to use a custom login page to replace the login page with the system in oracle oam.
But, I don't know how to replace login page.
If any of you know anything, give advice.
Thank you very much.
I have a link which shows the custom Login page in Oracle Access Management (OAM); here is the Link
This is very easy to achieve in SQL Developer, but somehow I cannot find this option in TOAD.
I created a new user, set him a password and now I want to force him to change the password at first logon, due to security policy. Any idea how to do that using GUI / sql statement?
Thanks,
Danijel
open Toad==>Database==>Schema Browser==>swift to User==>right click Alter User
.There is a gui oponion for password expired.Hope useful to you .