Skip to Content

In Anonymous Portal Desktop, sometimes we may need end user to authenticate to reach extra information according to his/her role.

Instead of using standard logon page we can add username/password form directly into anonymous portal desktop like on SDN.

image

Let’s see step by step how we can achieve this..

I will not mention details about creating Iviews, Adding IView into Desktop etc. since there are lots of information on SDN.

1. Create a new Enterpise Portal Project “CustomLogon” on Netweaver Developer Studio.

2. Create a package “com.utility”

3. Add new class “InitLogon” ( superclass : AbstractPortalComponent )

image

image

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Former Member
    That is a nice blog.
    I tired this in one of my prev projects.. but the problem with this approach is that, if an error occurs, it redirects you the Standard SAP login Page. it would be nice if it displays the error messages as displayed on SDN, i.e. in the same iview at the top.

    i think we need to implement a new JAAS login module to do this.. do you have any other ideas?

    Thanks
    Reddy

    (0) 
    1. Abdulbasit Gulsen Post author
      Hi Reddy,

      Thanks for positive comments.
      Actually there is no error check in this implementation. However, it is possible to add this functionality. First we can post authentication data to another servlet in this project and check authentication manually. If we succeed authentication, then we can post it to the standard sap login page. Otherwise, we can write error message.

      If I have time, I will update the blog with this functionality..

      Cheers
      Abdul.

      (0) 
      1. Former Member
        Hi Abdul,

        Thanks for your response , it was helpfull information as i am in the process of implementing the same,it would be great if you could update with the way you are thinking i am sure it will help many people.

        Krish.

        (0) 
        1. Abdulbasit Gulsen Post author
          Hi Krish,
          Nowadays, I am also dealing to improve this process. After I finish, I am planning to write a new blog.
          I have downloaded the
          com.sap.portal.runtime.logon.par
          and trying to understand logic behind umLogonPage.jsp
          This file contain the main logic of logon page. After I finish, I will create my modified logon page and create a component. I will deploy it with different name without affecting standart logon page. I will create a new iview and use it on anonymous portal like sdn.
          I am also thinking about adding “Remember me” functionality but it has also complicated logic. Logic based on cookies will not be enough. I am still thinking about alternatives.

          Thanks for your comments
          Regards
          Abdul.

          (0) 
          1. Former Member
            Thanks Abdul.

            meanwhile i will proceed with your suggestion of having an intermediate servlet to handle logon credentail check then posting it to the portal to handle login.

            regards
            Krish

            (0) 
  2. Former Member
    That is a nice blog.
    I tired this in one of my prev projects.. but the problem with this approach is that, if an error occurs, it redirects you the Standard SAP login Page. it would be nice if it displays the error messages as displayed on SDN, i.e. in the same iview at the top.

    i think we need to implement a new JAAS login module to do this.. do you have any other ideas?

    Thanks
    Reddy

    (0) 
  3. Former Member
    Hi,
    thanks for this informative blog, I tried this but didn’t came to an working result.
    We implemented the CustomLogin, on a page, so a user should use it as described. But when we use this iView on a page, to log in with different credentials the result is, that the existing navigation is placed additionally inside the page, (Portal in Portal), but not with the additial expectet reoles, we only see the same roles. also refresh changes nothing.

    what have we done wrong?

    thanks for any help

    Ludwig Hofmann

    if I would click on „weitererContent“ I would see the same view like in the beginning, nothing changes.

    (0) 

Leave a Reply