Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 235 Big Data Appliance
- 1.9K Data Science
- 449.9K Databases
- 221.6K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 549 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 532 SQLcl
- 4K SQL Developer Data Modeler
- 186.9K SQL & PL/SQL
- 21.3K SQL Developer
- 295.5K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.1K Development Tools
- 104 DevOps
- 3.1K QA/Testing
- 645.9K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 154 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 17 Java Essentials
- 158 Java 8 Questions
- 85.9K Java Programming
- 79 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.2K Java SE
- 13.8K Java Security
- 203 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 401 LiveLabs
- 37 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.6K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 230 Portuguese
custom authentication

Hello there,
I am not an expert and this is the first time I write so I apologise in advance if I use the form in the wrong way.
I am trying to setup a custom authentication;
user1 should login and see page 10
user2 should login and see page 20
in many article I found on the internet they mention wwv_flow_custom_auth_std.login
how should I use it? is it a package?
Also, I found on Apex API the package APEX_CUSTOM_AUTH should I use this one instead?
A link of some would be very useful for me.
Thanks,
Angelo
Best Answers
-
Please update your forum profile with a recognisable username instead of "User_X5KWK".
I am trying to setup a custom authentication;
user1 should login and see page 10
user2 should login and see page 20
That is not authentication.
- Authentication validates the identity of the user.
- Authorization determines the operations that a user with that identity can perform.
- Access control restricts the data that those operations can be performed on.
Your question may relate to authorization, or it might simply involve a business logic condition.
Why do "user1" and "user2" see different pages after login? Is this determined by roles and privileges granted to the user?
Can "user1" ever access page 20? Can "user2" access page 10?
What happens for "user3", "user4" and "user259"?
-
in many article I found on the internet they mention wwv_flow_custom_auth_std.login
how should I use it? is it a package?
wwv_flow_custom_auth_std
is an undocumented package.wwv_flow_custom_auth_std.login
is an undocumented procedure.Undocumented APEX APIs are unsupported and subject to removal or change without notice. They are used at your own risk.
Also, I found on Apex API the package APEX_CUSTOM_AUTH should I use this one instead?
Given a requirement to implement a custom authentication scheme, the documented
apex_custom_auth
package should be used.However at this point there is no indication that you actually have a custom authentication requirement.
-
Hello all,
Thank you very much for your suggestions.
I found the answer.
I added branches into the home page that redirect to the page I want for that particular user/login
Thanks,
Angelo
Answers
-
Please update your forum profile with a recognisable username instead of "User_X5KWK".
I am trying to setup a custom authentication;
user1 should login and see page 10
user2 should login and see page 20
That is not authentication.
- Authentication validates the identity of the user.
- Authorization determines the operations that a user with that identity can perform.
- Access control restricts the data that those operations can be performed on.
Your question may relate to authorization, or it might simply involve a business logic condition.
Why do "user1" and "user2" see different pages after login? Is this determined by roles and privileges granted to the user?
Can "user1" ever access page 20? Can "user2" access page 10?
What happens for "user3", "user4" and "user259"?
-
in many article I found on the internet they mention wwv_flow_custom_auth_std.login
how should I use it? is it a package?
wwv_flow_custom_auth_std
is an undocumented package.wwv_flow_custom_auth_std.login
is an undocumented procedure.Undocumented APEX APIs are unsupported and subject to removal or change without notice. They are used at your own risk.
Also, I found on Apex API the package APEX_CUSTOM_AUTH should I use this one instead?
Given a requirement to implement a custom authentication scheme, the documented
apex_custom_auth
package should be used.However at this point there is no indication that you actually have a custom authentication requirement.
-
Hello,
Ok I will try to explain better
user1 is member of the group "Doctors"
user2 is member of the group "Control Prescriptions"
user1 should see after the login a page with 2 buttons ( "new prescription" and "view my prescriptions")
user2 should see after the login a different page with a list of all the prescriptions saved by all doctors that can be selected and view one by one.
As I said before, on the internet you can see the custom login procedure/function wwv_flow_custom_auth_std.login
or
https://digvijaysinhvirpura.blogspot.com/2021/03/custom-authentication-in-oracle-apex.html
Recently I have found out that there is a package for that available in apex called APEX_CUSTOM_AUTH
what should I use and how (more or less)
Thanks,
Angelo
-
Hello,
Ok I will try to explain better
user1 is member of the group "Doctors"
user2 is member of the group "Control Prescriptions"
user1 should see after the login a page with 2 buttons ( "new prescription" and "view my prescriptions")
user2 should see after the login a different page with a list of all the prescriptions saved by all doctors that can be selected and view one by one.
As I said before, on the internet you can see the custom login procedure/function wwv_flow_custom_auth_std.login
or
https://digvijaysinhvirpura.blogspot.com/2021/03/custom-authentication-in-oracle-apex.html
Recently I have found out that there is a package for that available in apex called APEX_CUSTOM_AUTH
what should I use and how (more or less)
Thanks,
Angelo
-
Hello all,
Thank you very much for your suggestions.
I found the answer.
I added branches into the home page that redirect to the page I want for that particular user/login
Thanks,
Angelo