6 Replies Latest reply: Feb 4, 2013 2:26 PM by SunilU RSS

    OAM custom login page

    Sun-E
      Hi,

      I want to develop a custom challenge login page in OAM.

      For example I would like to add the following to the sso login page:

      1. Forget your details link?
      2. Password entered incorrectly 3 times advises to send out login credentials via email
      3. Forced password change based on policy
      4. General look and feel should not say ORACLE Access Manager


      Any hints, tips, links etc... appreciated.

      Thanks
        • 1. Re: OAM custom login page
          Sun-E
          We do not have OIM and I am aware that a forget your password link can be added to OAM login page via patch update...so I have been informed.
          • 2. Re: OAM custom login page
            Sun-E
            bump
            • 3. Re: OAM custom login page
              SunilU
              Check this doc id: "How To Configure A Custom Login Page For OAM 11g [ID 1281026.1]" at the Oracle support site. You can customize the jsp as you wish to fit your requirement.
              • 4. Re: OAM custom login page
                Sun-E
                Thanks Sunil,

                I have deployed the jsp provided in the note and as well as carried out the steps to configure. I now get the custom login page showing when trying to access a protected resource. But when I attempt to login i get the following error:

                [2013-01-15T19:23:59.840+00:00] [oam_server1] [NOTIFICATION] [OAMSSA-12128] [oracle.oam.engine.authn] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: a533552e1a51f537:546d4a1e:13c3e79a100:-8000-0000000000000304,0] [APP: oam_server] Runtime Authentication Scheme: Scheme name: = LDAPScheme[[
                Scheme Challenge URL: = http://server:24100/oam/server/
                Scheme Challenge Mec: = FORM
                Scheme Challenge Par: = {contextType=default, username=string, contextValue=/oam, password=secure_string, challenge_url=/pages/login.jsp}
                Authentication Module Name: = LDAP
                .
                ]]
                [2013-01-15T19:23:59.840+00:00] [oam_server1] [NOTIFICATION] [OAMSSA-12135] [oracle.oam.engine.authn] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: a533552e1a51f537:546d4a1e:13c3e79a100:-8000-0000000000000304,0] [APP: oam_server] Authentication Module Factory Class: LDAP.
                [2013-01-15T19:23:59.843+00:00] [oam_server1] *[ERROR] [OAMSSA-20023] [oracle.oam.user.identity.provider] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: a533552e1a51f537:546d4a1e:13c3e79a100:-8000-0000000000000304,0] [APP: oam_server] Authentication Failure for user : superadmin.*
                • 5. Re: OAM custom login page
                  Sun-E
                  What I also find is if I use the standard OAM login page and enter some user credentials I see 'Incorrect username or password' appear in the login box.

                  How do you implement this within the custom jsp?
                  • 6. Re: OAM custom login page
                    SunilU
                    Not sure I understood your question. Did you create a custom LDAP schema when you did the test? The error above shows failed authentication, so all you need to do is to capture the error code in your jsp and display your custom messages via javascript.