Multiple logon Page for single portal.

Hi Experts,
I am trying to have two logon pages for the same portal with diffrent URL
eg:-   url-http://SALES-A.company.com/portal
             http://SALES-A.company.com/portal 
The code i have used is
<%
String strReqURL = request.getRequestURL().toString()==null?"" :
request.getRequestURL().toString() ;
//String strReqURL = " http://SALES-A.company.com/portal ";
int iSlash = strReqURL.indexOf("//") ;
int iDot = strReqURL.indexOf(".") ;
System.out.println("iSlash: "+iSlash);
System.out.println("iDot: "+iDot);
* out-put for the below substr is '//SALES-A'.Check with this to switch
between
* the TWO LOGIN pages. One for the SALES-A Portal and other for the SALES-B.
strReqURL = strReqURL.substring(iSlash+2,iDot) ;
System.out.println("strReqURL: "+strReqURL);
* Sample URL : " http://SALES-A.company.com/portal "
if ( strReqURL != null && strReqURL.toUpperCase().startsWith( "retepdev") )
System.out.println("Inside if of strReqURL");
%> <jsp:forward page="/umLogonPageA.jsp"/>
<% } else { %>
<%
System.out.println("Inside else of strReqURL");
%>
<jsp:forward page="/umLogonPageB.jsp"/>
<%
%>
This does not display anything but a blank page.
Please help its really very urgent.
Points would be awarded to helpful answers.
Regards,
Sanjyoti.

hi All,
the problem is solved.
Thank you for reading my query.
Regards,
Sanjyoti.

Similar Messages

  • How to create a Dynamic Logon pages for a portal.

    Hi all ,
    Is it possible to create a dynamic logon pages for a portal.My requirement is when ever we enter the Portal url in the browser we will get logon page ..now when we reenter the Portal link the logon page should change. is it possible .
    thanks
    Rajeev.

    Hi Rajeev,
    Your requirement isn't very clear here.
    Do you meant that is userA is trying to logon, he must see different logon pages at different tims he tries to logon?
    Thanks  Hermann, I too was thinking about the same...just need to have some clarity on what really needs to be achieved.  Also unless the whole logon page needs to be different then cookies are best -- if its just some images then some javascript would be good enough.
    Thanks,
    GLM
    Edited by: GLM on Sep 26, 2008 12:11 PM

  • How to set two different logon pages for a portal

    Hi experts,
      I have 2 different URLs for the same portal.
      i am trying to set up 2 different logon pages for these two.
      How to achieve this . Could u please tell me which files i have to change  inside the logon par .
    Thanks in  advance,
        John

    John,
    Please check this threads,
    Logon Page Customization Based on URL
    Two Urls for the same portal server
    Ram

  • Multiple webdynpro applications for single webdynnpro component

    I am working on a object which have multiple webdynpro applications for single webdynnpro component.How to assign a different functionality to each application bcoz when we right click on webdynnpro component and select create webdynpro applications ,it just creates a application how so we assign diff functionality to each of them .Also in the parameter tab of the webdynpro applications ,there is a diff config id mentioned for each application.what is its relavance .
    Rgds,
    Praveen

    Hi Saravanan,
    I need to modify it from the portal end, not at the application level.
    I need some configuration steps which specifies how to modify the Detail Navigation in PPM. Using SPRO we can do some configuration, i wanted to know whether its possible from portal end as well.
    Regards
    Shivas Bhan

  • Multiple Logon Pages?

    I am trying to have different logon pages for the same portal depending on the URL used to access the portal.  I already have URL Aliases implemented and I filter the content based on the portal desktop being used.  Does anyone know how to have a different Logon page for each URL?
    One possible method I've thought of would be to use a different portal masthead in each portal desktop, with the logon link pointing to a different logon page.  Would this be a possibility, and if so, how could I implement this? (I would have each URL and portal desktop setup for anonymous access, with a login link to access secure information).
    Another thought is to check for the URL being used somewhere in the logon par file, but I'm not sure how this would work.
    Any ideas would be much appreciated.
    Thanks,
    Owen
    Edited by: Owen Carnes on Nov 5, 2010 11:08 PM

    Hi Owen,
    With some coding, you can have two logon pages for the same portal.
    Please see this blog:
    Displaying Different Login Pages Based On The Sales Organization
    Thanks,
    Shanti

  • Edit The Logon Page for anonymous user

    HIII frnds.
    I am working on concept of anonymous user. For this I have created a Anon user group and it is working succesfully . Now i have to design a  Logon page for this group of users.
    Pls anybody help me out , becoz i have no idea that  how to edit a logon page for a particular user .
    Thanks in advance
    regards,
    Mayank Saxena

    Hi
    The portal provides a form of anonymous logon with u2018namedu2019 anonymous users. Named anonymous users are users that exist either in the user data store or as service users. You configure the names of these users in the UME properties. These users are automatically assigned to the group Anonymous Users. You can assign roles containing anonymous content to the users individually or to the group Anonymous Users.
    Here is the reference link request you to go tru:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/cd/1aad4abcb98c4597f9e395a6b62f43/frameset.htm
    Here is the link for Configuring Anonymous Logon with Named Anonymous Users:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/cd/1aad4abcb98c4597f9e395a6b62f43/frameset.htm
    Rajnikanth

  • Modify logon page for Standalone Application

    Hi,
    I need to modify logon page for a standalone web dynpro application ( not in enterprise Portal).
    I only find documentations for change it in EP, but nothing about standalone application.
    Some ideas?
    Thanks
    Andrea

    Hi Andrea,
             you can modify the design of the WD appln using the properties that is listed for each UI elements.
             You can also change the layout of the root container Element properties to Matrix layout to satisfy ur kind of design.
            For displaying different lanuages in a dropdown box.
    1) select DropdownbyKey UI Element.
    2) set this to context attribute.
    3) Go to Dictionary -- Local dictionary -- simple type --create new simple type.
    4) In the datatype select the Enumeration tab and give the different text and values.(In ur case give ur different type of languages.)
    5) Go to WD appln. select the attribute that u hav created and change its type to the corresponding simple type.
    6) select dictionary simple type>Local dictionary>package that u hav declared-->inside that select ur simple type and execute it.
    Hope this one satisfies ur query.
    Regards,
    Nagarajan.

  • Example Home Page for Enterprise Portal

    Hi, We are looking into a "Simple" Portal Implementation and would like to prototype a Home Page for the Portal.
    Can anyone point me to some examples of SAP Portal Home Pages that others might have created?  Maybe in an article or a blog where an example might be.  The SDN Home Page is a little too much busy for us to use...
    Any help is greatly appreciated!

    Hello Kenneth,
    I agree SDN page looks busy. It is wise to keep it simple and easy to maintain.
    If you are looking at building a static HTML page -> You can achieve this through KM URL iView.
    Process -
    You can create the HTML page -> Upload this in the Knowledge Management (KM) -> Create a URL iView on Portal pointing to the KM HTML doc uploaded relative path. Attach this iView on to the Role on Portal (eg Welcome) and this would serve as a Home / Landing Page.
    Good reference -
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2053edd9-02eb-2c10-748e-a9cbcbb28cf5?QuickLink=index&overridelayout=true
    Create Content  Iviews with HTML Iview editor
    Hope this helps ! ~ Dhanz

  • Automated tool to convert from Forms to Dynamic Page for Oracle Portal?

    Hi Experts,
    We are thinking to convert majority of the forms in our portal to dynamic pages. Is there any tool to automate the conversion from Forms to Dynamic page for Oracle Portal 9.0.4.1.0?
    Thanks, Abbas

    Dear Abbas,
    You seem to have two issues... ;-)
    If you are finding the Forms are getting corrupt very easily, I'd suggest you go and open a Service Request into Oracle Support (http://metalink.oracle.com). There are a couple of ways where you can have these not corrupted (depeding on the Portal version you are in) and if there isn't yet a way you may get a bug logged and fixed within the next patchset eventually (improving the product functionality).
    As to changing it to a dynamic page it might give you a bit more flexibility... yeah. It really depends on what you desire to do. I'd slowly start to code them in this way if your goal is this. As to the former coded forms unfortunately as I've said there isn't a strait way to do that, so you may do this slowly in time...
    I hope it helps you a bit further...
    Cheers,
    Pedro.

  • Can we have two different logon screen for the Portal

    Can we have two different logon screens for the Portal?
    We should split the Logon application in two different applications:
    Login # 1
    should be read a DataSource.XML reading the Active Directory (Microsoft), to read-only the profiles from the AD, and block some IP address range.
    Login # 2
    should be read a DataSource.XML reading the Portal user only
    Is this possible?

    Hello Developer,
    Did you find an answer to this problem. I also have a similar issue at hand and am wondering if anybody has a solution for this.
    Thanks, Akhilesh

  • Multiple contact persons for single vendor--LSMW

    Hi experts,
        i want to upload multiple contact persons for single vendor. using lsmw direct input method or recording method is it possible..if possible can u let me know the procedure.
    Thx in advance,
    Neelu

    Hi
    in our company v wil upload contact person details in Sales Data......
    so its not possible to upload more than one contact person for vendor....
    can u tell me wr u people wil enter the contact person details?
    Regards
    Smitha

  • Multiple storage locations for single material - ECC 6.0

    Hi
    Can anyone let me know, how one can map multiple storage loctions for single material?
    regards
    Sanjay

    hello,
    Go to SPRO --> IMG --> Materials Management --> Inventory Management and Physical Inventory --> Plant Parameters.
    Tick Create storage locations automatically. System will extend the material to the storage location maintained in the transaction.
    Nikhil

  • Multiple Domains with one single Portal

    We have installed Oracle Infrastructure and Oracle Midtier on one box. Let's say the domain name is http://www.abc.com. When we query http://www.abc.com, it
    goes to the SSO (Infra) and validates the username and password and takes it back to the Mid-Tier Portal Pages. At this junction, everything is working as expected.
    Now, we created two more webpages and they correspond to two domains -- let's say http://www.pqr.com and http://www.xyz.com. The two webpages that got created were PUBLIC pages, so anybody can have access to those pages.
    Can we implement our requirements using one infrastructure and one midtier (1st)installation? OR do we install two more midtier (2nd, 3rd) to correspond
    to each domain name which are www.pqr.com and www.xyz.com and then have the proxy server redirect the request for www.abc.com to 1st-Midtier, www.pqr.com
    to 2nd-Midtier and www.xyz.com to 3rd-Midtier?
    We have a apache proxy server installed in front of the 9iAS, but we are going to use it just for redirection.
    I understand Oracle Infrastructure has only ONE portal Schema and so how would multiple midtier (webpages) will reside? Do I need to create another PORTAL repository and a new DAD, so that www.pqr.com points to the 2nd-Portal Repository and www.xyz.com points to the 3rd-portal?

    Through a single mid-tier it is possible to configure Oracle HTTP Server/Web Cache such that they are configured to handle multiple logical site names (e.g. www.pqr.com and www.xyz.com) by using Virtual Hosts.
    In terms of a single Portal Repository being accessed by multiple mid-tiers (or logical sites), this is not currently possible since the Portal Repository is configured with only one set of site details.
    For further information on configuring Virtual Hosts and Portal see the Advanced Chapter of the 10g Portal configuration guide...
    http://download-west.oracle.com/docs/cd/B10464_01/portal.904/b10356/cg_advnc.htm#1040267

  • Multiple logon pages according to aliaas

    hello all, I need to display different logon pages according to the url used to access the portal. can anyone please help me. I have tried portal aliases but this does not give the wanted effect. it is driving me crazy.
    thanks a lot for your time,
    olaf

    Hi Olaf,
    This is possible. but you have to perform some custom development. basically you can use the following flow:
    1) the logon component filters the incoming url request and parses to get the alias.
    2) The component then decides a custom jsp page according to the alias
    3) the user is presented with a different logon page.
    i think this will resolve your issue.
    regards,
    Shantanu Garg

  • Disable multiple logon from SAP NetWeaver Portal

    Hello
    I'd like if there is a parameter inside SAP NetWeaver Poral to disable multiple logon with the same account(like login/disable_multi_gui_login for ABAP).
    Thanks in advace
    Regards
    Stéphane

    Look at service.sap.com
    This authentication only works for S-users (as well as SAP employees) who are active accounts in SAP's AD. That works via the internet for SAP customers and employers (e.g. from each other's networks but their own devices) as well.
    With a SAML IdP you have a lot more flexibility in choosing the source of the first authentication and managing complex access rights through to the backend.
    But you are correct: if there are not too many users to manage and they are smart enough to periodically generate a client certificate and they are physically attached to their own personal devices, then a Certificate Authority or even Open SSL solution is another option.
    I guess it would be usefull to know how many users there are and how the authentication through from the NW portal to the ABAP backend system is going to replaced. Also how much user context information is needed on the backend system still, if at all anymore.
    I think we need more information here still before we can safely conclude that a client certificate is appropriate for an internet scenario.
    I am more worried about all those issues like stolen certificate and so on.
    From my SDN experiences it is more often a case of people loosing their certificates and user IDs than one of other people stealing them..    The vaste majority of the 2 million users are using passwords and those who are active seem to be happy with the password reset service --> also an option.
    Cheers,
    Julius

Maybe you are looking for

  • Error while deploying Capex Application Workforce

    Error while Loading members for Dimension: Account used parser is :class org.apache.xerces.jaxp.SAXParserImpl ---------- (What does this line mean, unable to correlate any functional setup for this) Kindly help me in this regard. Regards, Uday

  • Baseline date should in display mode

    Hi all, Our client wants baseline date should be display mode only. Now users are changing the proposed baseline date so client wants this should be not changeable. Please help. regards, Azeem

  • UNDO Tables Space File deleted accidently

    Dear All, I performed following actions on my Oracle 11g Database under Windows 32-bits OS. CREATE UNDO TABLESPACE UNDOTBS2 DATAFILE 'C:\app\oradata\ABCD\undotbs2.dbf' SIZE 10 M AUTOEXTEND OFF ; ALTER SYSTEM SET undo_tablespace = UNDOTBS2; shutdown i

  • Multiple JVM instances

    Dear all, I am trying to create multiple JVM instances using createJavaVM(...) but I can't do it. When I try to create the second instance, the function returns an error. Does anybody know about getting multiple JVM instances running?? Thanks in adva

  • Rolling acces logs in WLS 4.5.1

    I was told 4.5.1 sp9 or 4.5.2 will support rolling the web server access logs after they reach a certain size similar to the weblogic.log file does anyone know how this is set up?