Authentication problem Portal to Non-portal

Hi,
The current system is having a portal system. And the login module also using the portal library which is "com.bea.p13n.controls"
My problem exist when the client would like to switch the system to non-portal.
after changing on the jsp files, there is one thing that is stuck, which is the login part. They can't login.
The below code for the portal login has been commented:
//ProfileWrapper pw = null;
//pw = userLoginControl.login(aForm.username, aForm.password, super.getRequest());
Info that the environment using AD for auhentication.
Maybe the correct question is, how to do the login that replaced the code above for non-portal?
Anyone can help?
Thanks in advance

Hi
for non portal applications you can login using j_security_check or you can use a BEA specific class like ServletAuthentication(.weak())
regards
deepak

Similar Messages

  • Calling portal framework page from non portal page

    Hi,
    We are having some difficulty in passing control from the non portal pages to
    the Portal Pages.
    To explain you more elaborately, I am writing down the scenario:
    Both our portal and non portal pages reside under the same web application folder.
    We have a Portal Page containing one portlet.Clicking on one of the hyperlink
    on this portlet page takes us out of the portal environment where we are doing
    some processing.
    (Why we are going out of the portal environment is because we want to call the
    existing pages as it is and our intention is not to make the existing pages portal
    enabled to start with).
    Somewhere down the journey on the non portal page, there is a requirement to call
    the Portal Framework page.
    We can call the portal Framework page from the non portal page by hard coding
    the URL of the Portal page by writing something like this in href:
    http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
    But this is not what we want. We want to call the portal page without hard coding
    the URL.
    If we use portlet tag in non portal page to call the Portal Framework page ( <a
    href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>), it throws
    us error "Could not find current Portlet State" which is quite understandable,
    because portlet state is now lost.
    Is there any way we can achieve this .
    Any suggestions or ideas?
    Thanks
    Ajay

    Hi
    i think you should use portal:createPortalPageChangeURL (you are effectively changing
    your portal page) .
    if you want to invoke a specific event in your portlet webflow you can either
    write a RefreshControllerIP or use WebflowJSPHelper.createWebflowURL.
    bear in mind if you have urls that directly go to an intermediate event in the
    portlets webflow you may need
    http://dev2dev.bea.com/codelibrary/code/portlet_pp.jsp
    regards
    deepak
    "Ajay" <[email protected]> wrote:
    >
    Hi,
    We are having some difficulty in passing control from the non portal
    pages to
    the Portal Pages.
    To explain you more elaborately, I am writing down the scenario:
    Both our portal and non portal pages reside under the same web application
    folder.
    We have a Portal Page containing one portlet.Clicking on one of the
    hyperlink
    on this portlet page takes us out of the portal environment where we
    are doing
    some processing.
    (Why we are going out of the portal environment is because we want to
    call the
    existing pages as it is and our intention is not to make the existing
    pages portal
    enabled to start with).
    Somewhere down the journey on the non portal page, there is a requirement
    to call
    the Portal Framework page.
    We can call the portal Framework page from the non portal page by hard
    coding
    the URL of the Portal page by writing something like this in href:
    http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
    But this is not what we want. We want to call the portal page without
    hard coding
    the URL.
    If we use portlet tag in non portal page to call the Portal Framework
    page ( <a
    href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>),
    it throws
    us error "Could not find current Portlet State" which is quite understandable,
    because portlet state is now lost.
    Is there any way we can achieve this .
    Any suggestions or ideas?
    Thanks
    Ajay

  • Text Mining with Trex 6.1 in non-portal environment

    Hello,
    I am using a 46C system with Kpro connected to a Trex 6.10 for indexing DMS-documents. The fulltext search works fine, however I cannot get the text-mining functions to work.
    In the Trex 6.10 administration looking at the index parameters i see the text-mining-flag is NOT set.
    How can I set the text-mining flag of an index?
    Since i have only a 46c system I create the index-category in transaction SKPR07 - but i cannot enable text-mining there (?).
    To wrap it up: I want to get not only fulltext-search results but also document features and (maybe) similar documents from trex. How can i achieve this in a non-portal environment?
    Any help from you experts would be highly appreciated!
    best regards,
    Johannes
    ps: i posted this here in the EP forum because this seems to be where the trex knowledge is.

    Hi Karsten
    Problem was that when i create the index from SKPR07 it is always without text-mining flag. But a small modification solved the problem, and now I can use textmining also in the 46C system.
    here is how-to:
    added 2 new import parameters in the function (on 46c)
    FUNCTION SRET_INDEX_STORAGE_CREATE.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(SEARCHENG) LIKE  SRETGSTRUC-XSENG
    *"     VALUE(CODEPAGE) LIKE  SRETRCP-CODEPAGE
    *"     VALUE(XUSECLASS) LIKE  SRETGSTRUC-XUSECLASS OPTIONAL
    -->added     VALUE(FILTER_FLAG) LIKE  SRETGSTRUC-X2FLAG OPTIONAL
    -->added     VALUE(TEXTMINING_FLAG) LIKE  SRETGSTRUC-X2FLAG OPTIONAL
    *"  EXPORTING
    *"     VALUE(RCODE) LIKE  SRETGSTRUC-RCODE
    *"  TABLES
    *"      IDXSTORAGETAB STRUCTURE  SRETIDSTID
    *"      TECHNICALATTR STRUCTURE  SRETXTECAT
    *"      DOCATTRTAB STRUCTURE  SRETDOCATR
    *"  EXCEPTIONS
    *"      CREATION_NOT_POS
    set textmining flag to '1' and so now a newly created index has the textmining flag on the trex.
    now i can use function (on any webas>6.10)
    SRET_C_GET_DOCUMENT_FEATURES to get the document keywords. Great! Now I can (finally) implement the "google-like" document search in the old 46c system.
    thank you for your help! your fast replies are very much appreciated!
    Johannes

  • Submit a webdynpro IView from a non-Portal application

    Hi,
    i have create a WebDynpro application. This application shows in a table a list of '. This reports are IView for Bex Web Application in a SAP portal. For navigation to this BW IView the WebDynpro application must be also embedded in a WD iView.
    The problem is:
    This WD IView will be requested by a non-sap/portal application with dynamic parameters and also with the POST method.
    In the WD application i have implemented the parameter request with following code:
    int i = 1;
    String name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var_name_" + i);
    If the non-portal application submit the WD application directly -> the parameters are available.
    But when the non-portal application submit the WD IView, then the Parameters are 'null'.
    Thank you for quick response
    Anne

    Hi,
    yes I'm use the statement to submit the iView:
    <form action="http://server:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.kwl.kwl-01.KWL-01%2Fcom.kwl.kwl-01-iviews.KWL-01-Iviews%2Fcom.kwl.WEB_DP%2Fcom.kwl.IW_GISBW&DynamicParameter="
    method="post">
    var_name_1<input name="var_name_1" type="text" value="ZHAMFSB"><br>
    var_value_ext_1<input name="var_value_ext_1" type="text" value="129191"><br>
    var_name_2<input name="var_name_2" type="text" value="ZHAMFSB"><br>
    var_value_ext_2<input name="var_value_ext_2" type="text" value="129761">
    <input type="submit" value=" Senden ">
    In this case the DynamicParameter will be send by GET.
    But i want use the POST Method.
    I get the parameters in both cases not in my WD application.
    What is the problem?
    Thank you
    Anne

  • Problem with Application Server Portal 9.0.2.0.1.

    I have a problem with Application Server Portal and Wireless 9.0.2.0.1.
    Firstly I've installed the infrastructure on a Pentium 3 866Mhz 512Mb of Ram, with Windows 2000 Server (Italian) service pack 2.
    I've maintained all predefined settings and I've chosen the UTF8 character set.
    After installation, my infrastructure and OID works fine. The OID has port 4032 (as set by Oracle Universal Installer) instead of predefined 389.
    After this I've installed Application Server Portal and Wireless on another host: a Pentium 3 733Mhz 384Mb of Ram, with Windows 2000 Server (Italian) service pack 2.
    I've also maintained all predefined settings and automatic configuration of Portal and Wireless. I've pointed to my Infrastructure.
    Try to test the Portal demonstration but an error occurred:
    "SERVICE TEMPORARILY UNAVAILABLE. The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."
    On my EM Console I see: component instances 'OC4J_Portal' and 'OC4J_Demos' are UP, instead 'Portal:portal:7777' is down.
    On the component lists I've clicked the link of component instance Portal:portal:7777, the 'control services' and 'Accessible Server SSO' are started, while 'Accessible Portal Repository' is down.
    What can I do to get my portal started?

    hi,
    i have exactly the same problem. did you solve yours?
    any suggestions or help how to do it?
    thanks
    erik
    please reply to this post or [email protected]

  • Upgradng the enterprise portal from non HA to HA

    Dear Experts,
    We have Enterprise portal 7.01 on windows 2003 with db2 9.1. and 1 dialog instance. presently it is not in HA. We want to change this to HA using MSCS.
    Can any body share some knowledge on this. How to change the existing system.
    thanks alot

    Hi,
    I must want to correct this question as
    " Migrating the enterprise portal from non HA to HA".
    The only option i can see is reinstallation or i mean to say system copy to new HA system.
    Yoy have to plan your connectivity issues in case you are going to change hostname,IP etc.
    Steps:
    1) Install Fresh HA EP system
    2) Take export from source EP system and DB backup
    3) Perform system copy steps on new system
    4) In case host name is changed , inform the respective interfac eowners.
    Hope this will help you to plan better.
    Regards,
    Gagan Deep Kaushal

  • Having problem to install Oracle Portal Forms Reports and Discoverer 11g on Windows Server 2008 64 bit

    Dear All Precious Friends,
    I am having problem while installing Oracle Portal Forms Reports and Discoverer 11g on Windows Server 2008 64 bit,
    I have already installed Oracle Database 11g Release 2 -------
    ----Then i configured JAVA Access bridge
    --------then installed and configured Required Schema using Repository Creation Utility of same version of Database 11g,
    -----------then installed Oracle Business Intelligence 11g version 11.1.1.6.0 which includes Web logic..............I am feeling that i did right at this point...........
    ..............also feeling comfortable after install Oracle Identity and Access Management 11g ..................
    -----------------but don't know how to configure OID to install Oracle Portal Forms Reports and Discoverer 11g...............
    Please help my Oracle Friends
    Your early help will be highly appreciated.
    thanks and regards
    Hassan

    You said, "...+I would like to install Release 2(11.1.1.2.0)+ ...". Be careful. 11.1.1.2.0 is not Release 2. The version for Rel 2 is 11.1.2.0, notice that there is one less "1". Also, there is no way to patch from Release 1 to Release 2.
    In EDelivery, this is what you should find if you search on "Oracle Fusion Middleware" for "Microsoft Windows x64 (64-bit)":
    First look for this link then drill into it:
    Oracle Fusion Middleware 11g Media Pack for Microsoft Windows x64 (64-bit)
    In this section you will find the following:
    This is the full product installation of FMw 11 Release 2 (Forms & Reports)
    Oracle Forms and Reports 11g R2 (11.1.2.0.0) for Microsoft Windows x64 (64-bit) V28761-01
    This is the full product installation of FMw 11 Release 1 (includes Portal, Forms, Reports, and Disco)
    Oracle Portal, Forms, Reports and Discoverer 11g (11.1.1.2.0) for Microsoft Windows x86 (64-bit) (Part 1 of 4) V18785-01
    Oracle Portal, Forms, Reports and Discoverer 11g (11.1.1.2.0) for Microsoft Windows x86 (64-bit) (Part 2 of 4)
    Oracle Portal, Forms, Reports and Discoverer 11g (11.1.1.2.0) for Microsoft Windows x86 (64-bit) (Part 3 of 4)
    Oracle Portal, Forms, Reports and Discoverer 11g (11.1.1.2.0) for Microsoft Windows x86 (64-bit) (Part 4 of 4)
    This is the FMw 11 Release 1 patch set that will bring the above 11.1.1.2.0 installation to 11.1.1.6.  This is NOT a full product installation - just a patch
    Oracle Portal, Forms, Reports and Discoverer 11g Patch Set 5 (11.1.1.6.0) for Microsoft Windows x86 (64-bit) V29850-01
    There are no patch sets for Release 2 as of yet.

  • Integrating a non-Portal system via a web service SSO

    Hi all,
    Hope you could help with this scenario.  There is a request from a client to integrate a non-Portal website into their Portal system via a single-sign on web service.  In particular,
    1.  Portal user will see an iView in the Portal with the following form elements:
         --username field
         --employee ID field
         --submit button
         *there will be no password field because it is already fixed (can be fixed/hardcoded in the web service call)
    2.  Upon clicking the Submit button, the web service call is executed
         --the web service response contains a URL (which is the non-Portal website)
    3.  The Portal automatically displays the contents of the URL in the iView
    Is this a feasible scenario?  What is the best way to implement this?
    Thanks in advance

    Hi Charisse,
    You are going in the right direction. I can give some technical input like you need to create the wsdl and need to create a stub after that using this wsdl and inside this stub all the informations will need to be mentioned.
    Regards,
    Sen

  • Is enterprise portal development non-j2ee development?

    HI,
    IT is mentioned here at
    http://help.sap.com/saphelp_nw04/helpdata/en/56/c8633e0084e946e10000000a114084/content.htm
    "  Non-J2EE Java applications (J2EE Engine libraries, WebDynpro applications, Enterprise Portal applications, standalone Java applications, and so on) "
    Are the enterprise portal applications non- j2ee? can someone please clarify this to me..
    Thank you

    That's true.
    Enterprise Portal applications are developed from Portal Development Kit (PDK). There are Java and .NET versions of Enterprise Portal applications. Java-based Portal application involves HTMLB, JSP, and DynPage (JspDynPage), which is not purely J2EE.
    A J2EE application involves the Web (JSP, Servlets) and Enterprise JavaBeans (EJB).
    Hope it makes sense,
    - Teecheu

  • Accessing a portlet from Non-portal Application

    Hi,
    Is there a way to access a portlet in a non-portal application using javascript. The non-portal application may be a PHP one.
    Also, is it possible to send some parameters through javascript so that the portlet can use it and render different content.

    If by domain you mean the accessed url (and not the weblogic domain) , then yes any ajax based solution needs the files to be located in the same domain (as the browser sees it).
    If that isnt the case you
    a. Either use some sort of frames
    b. use a server side proxy
    c. Other loading javascipt based techniques
    Of this b. is the most common , because its pretty simple to do as most modern webservers directly allow you to reverse proxy to any site by simple configuration.
    E.g. if you have PHP on apache as www.youweb.com and your weblogic runs on yourapp.com , you can create a rule on the apache which states that /xyz goes to weblogic (by using the weblogic plugin or mod_proxy). Once you do this , you are running on the same domain as the browser ses and ajax will work

  • Webservice authentication problem

    Web Service Authentication problem
    Posted: Jun 17, 2005 3:32 PM        Reply      E-mail this post 
    Hi
    I have created a portal service and exposed this service as a webservice. I am consuming this webservice in webdynpro. Portal service contains 2 simple methods putdata() and getdatat().
    When i access the webservice i am getting the following error.
    "javax.xml.rpc.soap.SOAPFaultException: The User Authentification is not correct to access to the Portal Service com.sap.portal.prt.soap.GlobalData or the service was not found"
    My Enterprise portal server is configured for SSO to back end R/3 system. I have checked for portal service availability and it is fine.
    My Webdynpro and Portal are running on different machines. EP is running on AIX with SP11.
    Any help please.
    Regards
    NagaKishore V

    Hi Shahab,
    Can you reproduce the issue if you create 2 applications. One that exposes a secured web service and the other one the one, consumes the web service? This would help to isolate the issue and move forward in case is a bug.
    Thanks,
    Juan Camilo

  • Portal Applications in Portal Page

    In the newest version of Portal (Oracle9ias Portal Release 2) I'm having the following problem:
    I have a Portal form that I created in Portal. I want to add that Portal form as a portlet in a Portal Page. I can add the Portal Form successfully into the page if I add the form as a 'Item Displayed Directly In Page Area'. However, if I chose the display as a 'Link That Displays Item In New Browser Window ' or 'Link That Displays Item In Full Browser Window', no link appears. In past versions if I selected this option a link would appear in the page that took me to the Portal Form. In this new version, the portlet is added but the link is invisible??? Is this a bug or is there something I'm missing???

    Hi,
    This is a bug. It has already been filed.
    Thanks,
    Sharmila

  • SQLNET authentication problem!

    Hi,
    We have a setup in which the database server is running on a 'XXX' domain and all the clients are running in domain 'YYY'.
    On the client, if following is the setup, then the clients face ORA-03113 after around 45 to 90 minutes of idle time.
    SQLNET.ORA
    NAMES.DEFAULT_DOMAIN=YYY
    TNSNames.ORA
    DBName.YYY = (..........
    Note: This is not happening with all the clients in 'YYY' domain.
    Now, we thought this was a domain authentication problem and removed the DEFAULT_DOMAIN setup from the client. Still the client faces ORA-03113.
    As a part of trial, we moved one of the machines which was facing the problem to the domain of the database server and the error is gone.
    But, due to obvious reasons, it is not possible to move all the clients to the domain of database server.
    Is there any way to get around this problem?
    Why is it that only some of the clients are facing this problem?
    Why is it that the error occurs only after idle time and not during work?
    Do we need to set NAMES.DEFAULT_DOMAIN=XXX at client? (I apologize for this question but I am really confused with the matters now)
    Addition info: The database server is Oracle 10.1.0.2.0 and clients are ranging from Oracle 8.1.6 to Oracle 10.1.0. And the errors occur on clients with any version of Oracle.
    Please help us out in this regard.
    Thanks in advance,
    Satish

    I have gone thorugh the Action suggested for this oracle error.
    If problematic machine is shifted to the domain XXX, error is gone,Do you shift physically to some other network?? if yes then there might be a problem with your network. The machines which are disconnected, might be on the same network channel or switch which is creating some problem in your network. this is only luck that your failure occur when there is no activity from that client which is disconnected.
    Shift the places of problem facing client and non-problem facing client with each other and then check. It will clear the mind about the netrowk problem
    Regards

  • Portal Runtime Error --- Portal content is not opening

    Hello Experts,
    While logging to the system we are getting this message
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/every_user/general/defaultDesktop/frameworkPages/frameworkpage/com.sap.portal.toolAreaiView
    Component Name : com.sap.portal.navigation.toolarea.default
    The exception was logged. Inform your system administrator..
    Exception id: 10:13_02/04/09_0039_12182150
    See the details for the exception ID in the log file
    How to resolve the issue ??
    Moreover we are unable to drill down the portal content in portal content page. It is in "loading " status for long time. Is there any problem.
    Regards,
    Partha

    Hi Sandeep
    " You have to log in as an Administrator when using the NOTE referred in the previous post "
    --> Yes, I am logged as Administrator user
    "I hope you are using your FQDN instead of IP address"
    --> Yes i am using FQDN
    1. When was the last time you portal was working fine?
    --> Till yesterday , today morning while checking the day to day activity I found the issue
    2. What changes have you done?
    --> We didn't change anything in production portal, it is a satnd alone JAVA stack but we have made some some changes in backend R3 system which is a diffrent system on different server
    FYI ---> We are facing the problem with portal content not expanding for quite a long time.
    3. Which portal version and which sp level are you on?
    --> EP 7.0 and SP11
    4. Which browser are you using for your portal?
    --> IE 6.X
    Thanks for your help.
    Thanks and regards,
    Partha

  • Need some help with running portals on BEA Portal Server...

    Hi
    I'm having a trouble with Bea Web Logic 9.2 portal server.
    Every time I start a new domain and deploy EAR with web portal everything works just fine.
    Than after some time (looks like it happens after new roles and users where added via Admin portal) server begins to show only empty pages when accessing my portals. Admin portal continue to work fine.
    The problem can be resolved only by creating new domain.
    Here is error shown in console (not sure if this error is connected to my issue)
    SEVERE: A miss configuration of portal detected.
    Page 'ps_page_main' doesn't exist in book 'ts_main_book', but is configured as default page
    Thanks in advance for any help

    If you guys have not run into such problem before, maybe you can just point me in the right direction have to investigating this issue by myself. I'm quite new with BEA and don't know even where to start looking.

Maybe you are looking for