Custom login

Hello

I use Apex 4.0 in OracleXE and I created a custom authentication function called test_auth, I changed on the authentication scheme to this function and the only change I made on the login page (101), is that I deleted the cookie process.

the function is very similar to the custom_auth that comes with the sample application and uses the custom_hash to encrypt the password.

Since the connection process always gives error-> Invalid Login Credentials <- but if I change the function to always return true the application accepts my login (as it should)

I have no idea of the reason for the cause of the error, I tested the feature on the database and it is not working properly.

Am I missing something?

By default, the user name is converted to uppercase.  Could it be the problem?

Tags: Database

Similar Questions

  • ADF/authentication to connect using the security of ADF (with Page of custom Login)

    Hi all!

    I am trying to achieve a simple project where I need my Application users to open a session before access to these pages in the application.

    I found some tutorials, but most of them manually added user security, and I need them to be ONLY on the database, because I use a Web service to retrieve the data.

    Here is my business needs:

    • Create a custom Login page, requesting identification by name of user and password information
    • Extract data using the Webservice (this part is done)
    • If the data matches a Session must be opened.
    • Some data user as username, preferences... must be registered on a SessionBean
    • The session must be opened up to disconnection of the user or the timeout.

    Any tips/advice on how to set up the login page and follow the data Session and status?

    PS: Using jdev 12 c


    Best regards

    Luis Cabaco

    You can enable the ADF security in your application and configure the authenticator RDBMS on WLS.

    http://Biemond.blogspot.BA/2008/12/using-database-tables-as-authentication.html

    For the custom login page, see: https://docs.oracle.com/middleware/1213/adf/develop/adf-web-securing.htm#ADFFD2008

    Dario

  • 11.1.2.2 OAM: Custom Login Page Timing out until the Timeout of Session value

    Hi all

    We are facing a weird problem in our application in which the custom login page is time in 15 minutes, although the session timeout has been configured as 65 minutes.

    All the world is facing this problem in the past?

    Here are the details -

    WebGate level "Max Session Time" = 60 minutes

    OAM Console - common parameters "Idle Timeout" = 65 mins

    The user will not be used on the page of connection custom for 20-25 minutes and after then tries to connect, it is redirected to an error page that says "system error, please contact your administrator '."

    Strangely, the application for which OAM SSO has been implemented honours timeout values.

    Newspapers -

    Error occurred during the processing of the request.

    Supplemental details java.lang.RuntimeException: authentication request has expired. Eapsed time in min: 79560

    at oracle.security.am.controller.BaseRequest.updateObjectWithCachedMap(BaseRequest.java:482)

    Research already done

    https://support.Oracle.com/epmos/faces/DocumentDisplay?ID=1908294.1 says that this question is but only for the "set timeout". But why in this case it happens before 65 mins!

    Appreciate any help.

    Thank you

    Nassima

    OK after all those hours was finally able to work around this bug as explained weird Oracle in the SR-

    https://support.oracle.com/epmos/faces/DocumentDisplay? ID = 1908294.1

    Add a metatag as following one behindin the login page customized.

        http://host.example.com/public/public.html">

    Http mechanism for a meta tag is described at: http://www.w3schools.com/tags/att_meta_http_equiv.asp

    The value of 890 seconds comes:

    The downtime of 15 minutes set by OAM seconds is:
    -Online (15 * 60 = 900) less (tolerance of 10 seconds time)

    If the user remains now 890 seconds on the custom login page, the browser will bring returns to the public page as defined by URL (http://host.example.com/public/public.html).


    I still have no idea why the custom login page times out after 15 minutes, where Oracle is set this value to "hard",

  • ADF Mobile custom Login Page link to external resources (Twitter Widget)

    Hello

    I read that as much as possible on the ADF Mobile connection custom HTML pages, it is not well documented at this time. As I understand it, I can't reference a resource such as an image or a URL that is not in the public_html directory. I tried to add a Twitter Widget by using the Twitter API on my custom login page that displays the most recent tweet from one of my Twitter accounts. However, when I try and deploy my application as it the custom login page no longer works correctly (the Connect button, for example, becomes not clickable).

    Could someone confirm whether my interpretation above is correct? Is this a case of ADF Mobile prevents me from using an external resource through it is the audit rule: file not in public_html directory?

    In addition, anyone know if there is a way for me to reach my goal?

    Thanks a lot for your time and assistance.

    Ben

    "To allow the deployment, all resources referenced by the following attributes must be located in the public_html directory of the controller view or the controller of the implementation of the projects."

    "ADF Mobile does not support resources referenced from another location, which means that you cannot, for example, enter a value outside the directory public_html to help... / as a prefix.

    http://docs.Oracle.com/CD/E37975_01/doc.111240/e24475/define_features.htm#CIHDCCED

  • custom login form

    Hello

    We use oracle forms 6i and 11 g.
    Our clients do not want to enter into the database (to connect), they want to do is enter the user name and password.
    So, I decided to create a custom login form in which there are only two fields (username, password) and a button

    I put the code NULL trigger for connection etc.
    Then the button of the custom form, I added the following code
    logon (un,pw||'@'||cn).
    if form_success 
    then
       call_form('xxx')
    else
    null;
    end if; 
    The question is even if the password is wrong that it doesn't always work the call_form.
    How can this be corrected? any ideas?

    Thank you
    Laba

    Dear mohamed,

    No need to save the password in a Table.

    You must check the FORM_SUCCESS State in the trigger logon WE , and save its value in A form level Variable / Item. Then check that the value of the trigger WHEN BUTTON PRESSED and do accordingly.

    Kind regards

    Manu.

  • Display Messages customized login Page

    I use a custom with APEX 4.1.1 authentication and I want to display error messages that are customized on the login page if authentication fails. In my authentication function, I use apex_util.set_authenication_result to set a result code (code below). I tried to use the apex_util.get_authenication_result on the login page to hide and display custom messages, but it does not work. I don't think that the apex_util.get_authenication_result is in fact to get the result? I'm doing something wrong? Is there a better way?
    FUNCTION verify_user(
        p_username VARCHAR2,
        p_password VARCHAR2
      ) RETURN BOOLEAN
      IS
        v_ctr      NUMBER;
        v_id       NUMBER;
        v_attempts NUMBER;
      BEGIN
    
        SELECT COUNT(1) INTO v_ctr FROM users_tbl 
           WHERE username = TRIM(UPPER(p_username)) 
           AND password = utl_raw.cast_to_raw(dbms_obfuscation_toolkit.md5(input_string => p_password || TRIM(UPPER(p_username))));
    
        IF v_ctr = 1 THEN
    
          SELECT user_id INTO v_id FROM users_tbl WHERE username = TRIM(UPPER(p_username));
          UPDATE users_tbl SET login_attempts = 0 WHERE user_id = v_id;
          APEX_UTIL.SET_AUTHENTICATION_RESULT(0);
          RETURN TRUE;
    
        ELSE
          SELECT COUNT(1) INTO v_ctr FROM users_tbl WHERE username = TRIM(UPPER(p_username));
    
          IF v_ctr = 1 THEN
    
            SELECT user_id INTO v_id FROM users_tbl WHERE username = TRIM(UPPER(p_username));
    
            SELECT login_attempts INTO v_attempts FROM users_tbl WHERE user_id = v_id;
            IF v_attempts > 5 THEN
              APEX_UTIL.SET_AUTHENTICATION_RESULT(2);
              RETURN FALSE;
            ELSE
              UPDATE users_tbl SET login_attempts = login_attempts + 1 WHERE user_id = v_id;
            END IF;
    
          END IF;
    
          APEX_UTIL.SET_AUTHENTICATION_RESULT(1);
          RETURN FALSE;
    
        END IF;
    
      END verify_user;
    Thank you
    Mark

    Hello

    Thank you.

    In your example, it's that you have used the page element.
    In this solution, you must use the application to store the custom login message.
    I have fix your example. Please check

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Ability to custom login portlet and redirection page

    Hi all

    User log-in, I have to redirect the user to the appropriate page based on its user group. I intend to use a custom login portlet that queries the OID and then redirect users to the correct page. Do you think that you have another way to do this?

    In any case you have a code example of this custom login portlet? I've never coded environment Oracle ACE.

    Thank you.

    You can set a default homepage at the group level in the Oracle Portal. During its connection through the custom login portlet, the user is taken to the homepage of group for access to his group by default.

    Note:

    It will work with the link of connection as well, but you need to change the scope of the feeder link from the current page to the default home page:

    ! http://content.screencast.com/users/suizebol/folders/Jing/media/d9255a17-a935-4d2b-9fb0-65cc6f6fb9a1/00000038.PNG!

  • Clear last user name of the Horizon customer login window

    Hello

    When I Powered thin client that uses the customer Horizon 3.5.2 the username field indicates the ID of the previous user.

    Is anyway to clear it?

    Kind regards

    Oliver

    The Windows client respects the GPO that Windows itself uses to determine whether to show the last used the username on the login screen.  So, if you configure Windows to not display last user name after the close of session, the client must do the same. I don't have the name of the GPO flippant, I'm sorry.

  • IOM 11 GR 2: Customizing Login page

    Hi all
    I would like to customize the IOM login page; more in detail I want to change the logo of the Oracle.
    The version of the IOM which we installed in our environment is OIM 11 g R2 BP04 (11.1.2.0.4)
    I found some information in this document http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/uicust.htm#BABJIJIA, but they are not sufficient for my knowledge.

    I also found these positions, but they are applicable for OIM 11 g R1:
    http://identityandaccessmanager.blogspot.in/2011/01/custom-logo-in-OIM-11g-on.html
    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/OIM/oim_11g/customizing_oim_ui_using_skins/customizing_oim_ui_using_skins.htm
    Re: IOM 11 GR 2 customization

    My requirement is to change the Oracle default logo in the login page.
    Can someone help me please?

    Thanks in advance,
    Daniele

    http://kinisblog.blogspot.com/2012/10/OIM-11gr2-customizing-self-service-user.html

  • Unified through showcase custom login?

    I can't seem to find a clear answer and could use some help.

    My publication is a member and is not for sale to the general public.  I use my straight server to check the creditentals to connect within the Viewer application.  In other words, the credentials of Member for their folios is the same to access the content behind the wall of the remuneration of our site.

    A custom window could be created to manage the two sets of connections to cut the required redundant connection if a user tries to access web content via the browser in the application of a folio?  Currently, you must enter twice the same login information.

    Thank you!

    It should work. Remember that in your custom store, you will need to call authenticationService.login () to authenticate the user with the Viewer.

  • listener authentication AAA with the custom login page

    Hello

    is it possible to customize the page of connection on an ASA 5520 8.2 (1) that appears when you use the "listener authentication aaa" by adding images? I know that there is the command 'auth-guest' but it only allows to add text. Is there a form any HTML that allows the inclusion of the gif, bmp or jpg?

    Any hint is appreciated.

    Carpet

    Hi Matthias,

    officially, this is not possible. There is an improvement for this request:

    CSCsh02789    Improvement: Ability to customize the page of connection through proxy cut

    So you can open a TAC case and ask to link to the application (to add a little more weight) or contact your account team and ask them to talk to the business unit (to add more weight).

    That said, there is a possible hack you might want to try:

    for example, I have configured:

    AUTH-guest guest Please loghttp://myserver/image.gif' > '.

    and it shows the picture below to the command prompt. So it is a hack of course not supported, so it can break in future versions. And of course, it's pretty limited in what you can do.

    Now, if you disable the listener, for HTTP, it will use basic browser (no login form) authentication, but for HTTPS, it will use always a form, but a much more basic, so you can always use the same hack with a little more flexibility.

    HTH

    Herbert

  • Custom Login page questions

    Hi all

    I use jdeveloper 11.1.1.7.0.

    1. I enabled security for my application adf with authentication form in function without authorization.

    sec.jpg

    2. I added the logo company login page. Modified login.html code as below

    < html >

    < head >

    < title > < /title > connection

    < / head >

    < body >

    < are method = "POST" action = "j_security_check" >

    < table cellspacing = "2" cellpadding = "3" border = "0" align = "center" >

    < tr > < th colspan = "2" align = "center" > < img src = "images/logo.png" height = "50" width = "200" / > < /th > < /tr > "

    < tr > < th > user name: < /th > < td > < input type = "text" name = "j_username" / > < table > < /tr >

    < tr > < th > password: < /th > < td > < input type = "password" name = "j_password" / > < table > < /tr >

    < tr > < th > < /th > < td > < input type = "submit" name = "submit" value = "Login" / > < table > < /tr >

    < /table >

    < / make >

    < / body >

    3. once I've made and try to access my home page is below the login without image screen

    Capture.JPG

    4. when I enter the username and password login page not redirects to the home page. It shows path of the image in the url and the image of the display.

    It happens when I try to access the first time in each browser after application re-deployment. When I try to access the second time, it shows image in the page of connection with redirecting to the home page and of job well.

    5. my content from the Web.XML for safety is

    < security constraint >

    < web-resource-collection >

    allPages < web-resource-name > < / web-resource-name >

    < url-pattern > / * < / url-pattern >

    < / web-resource-collection >

    <>auth-constraint

    valid users - < role name > < / role name >

    < / auth-constraint >

    < / security constraint >

    < security constraint >

    < web-resource-collection >

    < web-resource-name > adfAuthentication < / web-resource-name >

    <>url-pattern / adfAuthentication < / url-pattern >

    < / web-resource-collection >

    <>auth-constraint

    valid users - < role name > < / role name >

    < / auth-constraint >

    < / security constraint >

    <>login-config

    FORM < auth-method > < / auth-method >

    < form-login-config >

    login.html < form-login-page > < / form-login-page >

    error.html < form-error-page > < / form-error-page >

    < / form-login-config >

    < / login-config >

    <-security role >

    valid users - < role name > < / role name >

    < / security role >

    What's wrong, I did code above? I need to change in the web.xml file for access to path of the source image (images/logo.png)?

    Solved this problem by adding the code below in the web.xml file.

    resources

    org.apache.myfaces.trinidad.webapp.ResourceServlet

    resources

    / images / *.

  • Design of Customer Login Portal

    Hi, I'm new to Muse and have no prior coding or programming experience at all. I'm looking to design a website with a customer portal: the website contains information about our products and services. When a user registers and connects, it will be directed to the portal. How to design this portal as well?

    This is not possible with only Muse. You must combine with Adobe Business Catalyst.

  • OBIEE - additional text custom login page

    Hello

    I try to add a personalized message to the login page on OBIEE for this section

    http://1.BP.blogspot.com/-jD2fMbAs3JA/UahMrxqRFnI/AAAAAAAAM1s/zvLUVGB56M4/S1600/9.PNG

    Now, you would see

    -------------------------------------------------------------------

    OBIEE 10.1.3.4



    Copyright © 1997, 2007, Oracle. All rights reserved. The programs (which include the software and documentation) contain confidential information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent and other intellectual and industrial property laws. Reverse engineering, disassembly or decompilation of the programs, except to the extent required to obtain interoperability with other software created independently or as specified by law, is prohibited.

    -------------------------------------------------------------------


    I want to try to add later


    -------------------------------------------------------------------

    OBIEE 10.1.3.4


    This site is optimized with Firefox


    Copyright © 1997, 2007, Oracle. All rights reserved. The programs (which include the software and documentation) contain confidential information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent and other intellectual and industrial property laws. Reverse engineering, disassembly or decompilation of the programs, except to the extent required to obtain interoperability with other software created independently or as specified by law, is prohibited.

    -------------------------------------------------------------------


    How would I go to do this?


    I was able to update the utilmessages.xml file to include the text I want to, but I really want it on its own line or bold

    Any help greatly appreciated

    OK, finally got the stupid thing to work

    This is the code that I've updated

    This site is optimized with Firefox

    Copyright  © 1997, 2007, Oracle.  All rights reserved.  The programs (which include both the then)

    ftWare and documentation) contain confidential information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and

    other laws of intellectual and industrial property. Reverse engineering, disassembly or decompilation of the programs, except to the extent required to obtain interoperability with other independently

    created software or as specified by law, is prohibited. ^ M

    I removed the portion and combine the entire message in a single large

    I have NO idea why it would make a difference, but it seems to work

    Thanks a lot for your advice SriniVEERAVALLI

  • ADF Mobile: Custom Login screen does not work

    JDEV: Build JDEVADF_11.1.2.4.0_GENERIC_130219.1415.6370

    I replaced the default connection as a result of my own using:

    I copied the default page to deploy folder public_html Application Controller.

    Then changed all references of javascript to... /... /.. /www/ and it looks similar to the following:

    "< script type =" text/javascript"src ="... /... /.. / www/js/base.js "> < / script >"

    "< script type =" text/javascript"src ="... /... /.. / www/js/phonegap-1.0.0.js "> < / script >"

    "< script type =" text/javascript"src ="... /... /.. / www/js/adf.mf.device.integration.js "> < / script >"

    The deployment of the app for the ipad:

    The login screen comes up with the following on this subject error message:

    Unable to load the JSON resources: js / profile - login.json: empty response

    Error: a profile is required to configure the basic page

    If I use the default page, then it works fine.

    No idea what is happening here?

    Vik

    OK, so the documentation missed the point that all the css and js are necessary to be copied as well with folder www login page.

    After having done that it solved the problem

Maybe you are looking for