Automatic Login into Portal 7.0

Hello, ive got a problem using the loginFramework.jar from the code share library.
Ive opnened a support case, but noone seems willing to help me.
In a nutshell, ive got a servlet that is the entry point to a 7.0 portal app.
That servlet checks PKI certs and IDs against an LDAP, then once authorized, sets
a session attribute that is used as the username and pass for the portal realm,
then forwards to /application. what i want to do is have the servlet forward to
<jsp:forward page="/application?namespace=security&event=button.login/> to simply
bypass the login.jsp form and log the user in based in the aforementioned session
param. ive written a custome login helper class that extends the LoginHelper and
ive implemented all the changes prescribed in the loginFramework.jar patch available
on the dev2dev site. what i get is this: the portal, regardless of the event="button.login",
sends me to the form. however, once the form is filled in an submitted, it uses
my custom loginhelper??? how do i get the <jsp:forward/> to sinply execute the
"button.login" event???

Hi JP,
I have few questions for you and a few suggestions.
Why did you decide to use a servlet instead of a CertAuthenticator?
You can find out more about CertAuthenticators at http://e-docs.bea.com/wls/docs61/security/prog.html#1024576.
Information on using them in 7.0 is under the heading "Using CertAuthenticator
in Compatibility Security" at http://e-docs.bea.com/wls/docs70/upgrade/upgrade6xto70.html#1041313.
Why aren't you using an implicit login processor to accomplish your login?
I think you could accomplish your goals by using a CertAuthenticator in conjunction
with an implicit login processor. The heading in the LoginFramework doc called
"Mutual Authentication With The WebLogic Portal Login Framework" covers this approach.
Please explain why this won't work if it won't.
Good luck!
-John
"jp" <[email protected]> wrote:
>
Hello, ive got a problem using the loginFramework.jar from the code share
library.
Ive opnened a support case, but noone seems willing to help me.
In a nutshell, ive got a servlet that is the entry point to a 7.0 portal
app.
That servlet checks PKI certs and IDs against an LDAP, then once authorized,
sets
a session attribute that is used as the username and pass for the portal
realm,
then forwards to /application. what i want to do is have the servlet
forward to
<jsp:forward page="/application?namespace=security&event=button.login/>
to simply
bypass the login.jsp form and log the user in based in the aforementioned
session
param. ive written a custome login helper class that extends the LoginHelper
and
ive implemented all the changes prescribed in the loginFramework.jar
patch available
on the dev2dev site. what i get is this: the portal, regardless of the
event="button.login",
sends me to the form. however, once the form is filled in an submitted,
it uses
my custom loginhelper??? how do i get the <jsp:forward/> to sinply execute
the
"button.login" event???

Similar Messages

  • Able to login into Portal with http but not https

    NT4
    8.1.6.3 DB
    9iAS 1.0.2.2
    Oracle Portal 3.0.9
    I have been following Note 136153.1 to configure Oracle Portal to use HTTPS.
    I am able to login into Portal using http(e.g) http://machinename.net/pls/portal30. I have configured http.conf asdescribed in
    136153 and used the ssodatan script to associate the login server with https.
    I am able to connect to https://machinename.net and can see theSecurity
    Certificate. I am also to login into
    https://machinename.net/pls/portal30/admin_/gateway.htm?schema=portal30 and see
    the Gateway configuration. It is only when I go to
    https://machinename.net/pls/portal30 I receive the error message -
    Error: Timeout
    occurred whilst retrieving page meta data.
    If I revert the settings back toPort 80 in http.conf back to Port 80 and
    re-run ssodatan using http://machinename.net/pls/portal30 etc then I am able to
    succesfully log intoPortal
    Can anyone help with this?
    null

    Hi Arun,
    Most of the times unable to login to portal causes due to network problems
    Please ensure in backend system all application servers are up in SM51
    if it is happening every day same time check java patches

  • Not able to login into portal

    Hi,
    from today morning our user facing problem,
    no one can login into portal, when use enter user id and password in logon page then press to login, the logon page appear agains without any message?
    what could be the reason?
    EP version 7.0
    database  : SQL 2005
    regards,
    kinjal

    HI,
    look like problem with keystorage.
    open J2EE visual Admin tool from following location
    <drive:>\usr\sap\SID\JC<inst_no>\j2ee\admin\go.bat
    connect it.
    expand server -> services -> click on Key Storage -> under view select TicketKeystore
    delete SAPLogonTicketKeypair and SAPLogonTicketKeypair-cert and create it again with CN=SID,OU=SAP Web As,O=SAP Trust Community,C=IN
    C= your country
    restart the portal server.
    regards,
    kaushal

  • Administrator Not able to login Into Portal

    Hi,
    Adminitsrator not able to login into Portal system. I could access succesfully in visual admin .
    Other users can enter in portal screen. I have reset administrator password even then not able to login..
    - Kritene

    Hi Kristene,
       The admin user can get locked due to numerous unsuccessful logon attempts. To correct this situation, you have to use an emergency user SAP*. In the SAP Library, use the following path: "SAP Library -> SAP NetWeaver Library -> SAP NetWeaver by Key Capability -> Security -> Identity Management -> User Management Engine -> Administration of Users, Groups, and Roles -> Activating the Emergency User".
    Log on to the Visual Administrator using the emergency user and unlock the Administrator user. Afterwards, deactivate the emergency user.
    Regards,
    Pooja.

  • Framework page error not able to login into portal

    Hi,
    we are using EP 6.0 and it's working fine today i'm trying to login into portal but it's gives me the following error.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/every_user/general/defaultDesktop/frameworkPages/frameworkpage/com.sap.portal.layoutPortal1_Framework
    Component Name : com.sap.portal.layouts.framework.framework
    i didn't understand what happened, we are not doing any change in portal.
    regards,

    Have you tried looking at the LogViewer service in Visual Admin? defaultTrace.trc may contain more information which can help solve the problem. If you can post the error messages you see for the time you log in, we may be able to help more.
    Regards
    Darren
    <a href="http://www.fortybeans.com/">Read my blog</a>

  • Error when Login into Portal

    Hello,
    I am working on SP6 and I receive an error as I login into the Portal.
    The details are:
    <b>com.sap.portal.pcm.Title  
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/content_admin/content_admin_role/com.sap.portal.content_admin_ws/com.sap.portal.portal_content/com.sap.portal.appDesignerComponent
    Component Name : null
    Page could not create the iView.
    See the details for the exception ID in the log file</b>
    I would appreciate if anyone would please help me resolve this problem?
    Should I restart the server....?
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
    Could you post the exeption ID from the log file here?
    Which Stack level do you run for the portal? SP2?
    cheers,
    Noel

  • Automate Login into Email account

    Hi,
    I need to Login into an email a/c.Eg Gmail thru a java program.The program should populate the username and password in appropriate place and go/submit button should be clicked.Please guide me how to go about coding on this.
    Awaiting solution for this....
    Thanks in Advance
    Pavan

    Analyse the Gmail log-on site for form values and the submit action. Create an UrlConnection and do the GET or POST using that and get the result. What you want to do with that is beyond me, though. It's probably better to use Gmail's POP server in case oyu want more than just look at some HTML Strings.

  • Self registration - automatic login into the product

    Per requirement, after self registration request is complete (last button pushed) the user should be automatically logged in into OIM.
    Out of the box user is redirected to the login screen.
    How this could be implemented?
    Thank you for your help.

    Hi,
    As per my understanding in OIM, as you submit the Self Registration request it goes to Admin as open Prov task as many some mandatory fields are not there like Organizaiton. After putting all required atts values and submit the request then only user gets created in OIM then only you he will be login in OIM.
    So just after self registration user wont able to login in OIM.
    Regards
    Alabhya Goel

  • Automatic Login into HTMLDB App

    hi all,
    I want to allow a user to access to a page in my HTMLDB application. The application sends an email to a user with a link to the page in the application.
    When the user clicks the link in the mail, the browser will automatically display the page. This works if the user already logged into the application.
    My question is, if the user is not login, is there anywhere I can automatically allow the user to the login by putting the user credential in the url ?
    thanx,
    j.

    Jeffrey,
    The answer depends upon how your application authenticates users. If your application has credentials (passwords?) accessible to it, and you can figure out a way to retrieve the users's password and situate it in a "deep link", and if you can then build pages in such a way that they can instantiate a new authenticated session when invoked with a URL containing said credentials but only in cases where no authenticated session already exists, then theoretically you could get such a thing to work.
    I don't recommend that you pursue this, it's outrageously insecure.
    Did you know that if you request an HTML DB page and you aren't logged in, after you login, you will be taken to the page you requested? This is built-in deep linking behavior supported with all common variants of authentication in HTML DB applications.
    Scott

  • Need to display last login details to the user after they login into portal

    Hi All,
    As per our requirement ,we need to display to the user,the following things:
    1.Last login date and time will be maintained and displayed to the user after login.
    2.Last unsuccessful login date and time will be maintained and displayed to the user after login.
    3.No. of unsuccessful retrials before locking the user will be maintained and displayed to the user after   login.
    Therefore we are creating a webdynpro application wherein we are making use of the UME API and trying to retireve these information.
    The methods i am using are:
    IUserAccount.getLastFailedLogonDate() // To fetch the Last unsuccessful login date and time
    IUserAccount.getFailedLogonAttempts() // No. of unsuccessful retrials
    IUserAccount.getLastSuccessfulLogonDate() // Last login date and time
    But the problem is IUserAccount.getLastSuccessfulLogonDate() is deprecated and i unable to use it,and also i  am unable to get the value *IUserAccount.getFailedLogonAttempts() * I am only geting zero.Can anybody let me know alternative method to get this details.
    Request you to guide me and help me to resolve this issue.
    Thanks and Regards,
    Nishita Salver

    Hi,
    I hope you are trying to show your login date from SharePoint List.
    My suggestion is 
    1. by using ECMA Script ,retrieve values from that list and show the same in Master Page.
    2. If you are not comfortable with ECMA, develop Visual Webpart and add the Visual Webpart in master page by using SharePoint Designer.
    Please let me know ,if you need further guidance.
    Don't forget to mark it as an Answer if it resolves your issue and Vote Me as helpful if it useful.
    Mahesh

  • Unable to login After configure BI 7.0 Tech system into portal

    Hi Experts,
    I have gone through pdf file
    Integration of SAP BI 7.0 and SAP EP 7.0 created by Karthik.
    I have folloewd all the steps in his document after that I restarted my server then only problem has come.
    Any user not able to login into portal. it doesnt shown in the portal screen.if we are giving the wrong password it shows Authentication failed and if Iam giving correct password nothing displayed and not able to get the home page what might be the problem.
    In that documnet we have done SSO thru logon tickets portal to BI.
    I am using EP7.0 and BI7.0 from ECC6.0
    Please help me inthis what might be the problem....?
    Thanks inadvance.
    Lohi.

    Dear
    Guide information looks correct to me.
    It's pretty hard to tell you what is wrong with so little information.
    Check the defaulttrace.trc trace file of your portal environment.
    Location depends on stack type (abap + java or java only)
    Located in /usr/sap/<SID>/DVEBMGS<instance nr>/j2ee/cluster/server0/log/system/
    OR
    Located in /usr/sap/<SID>/JC<instance number>/j2ee/cluster/server0/log/
    It is very likely error messages are being written there that can be useful to help solve this issue.
    Please paste its content in here, perhaps even from other log files that might contain valuable info.
    Kind regards
    Tom

  • Problem in displaying navigation into portal

    Hi Guys,
    I have created one ume user test by login into portal as administrator and have given permission to System, Content and User Admin.
    Now, when i'm login into portal with this created test user, I'm getting problem.
    Clicking on Content Admin role -> 2nd lavel navigation is not geting displayed, instead error message comming saying - exceptionjava.lang.NullPointerExceptionerror in closing connection java.lang.NullPointerException
    When, i click on System Admin role -> getting same error message in the same place and nothing else coming in the window.
    And, same for User Admin also.
    Where could the problem might be ?
    Please suggest. Any help would be appreciated.
    Thanks - praddy

    Hi Praddy,
    My advice is to take a look at the default.trc file in the logs folder of the server. Hopefully there will be move information in there that will tell you more about the problem. The error message that is displayed on the screen to the user is not very useful - there should be more info in the trace file.
    Hope this helps,
    Simon

  • Users created in ABAP tool cannot login to Portal

    Hello,
    I have created a user in abap and assigned them the role SAP_J2EE_ADMIN but cannot login into Portal (Message: User authentication failed) with that user. If I login to portal as J2EE_ADMIN and search for that user I get "No element found." Is there something that needs to be done to get users into Portal? Does authentication not occur against the abap system? Also is the J2EE_ADMIN user only valid within portal and not the abap backend?
    I am using EP7.
    Thanks for any help.

    Hi Kelly,
    I changed it under System Administration>>System Configuration>>UME Configuration>>ABAP System tab. If you read ealier in this thread however, I could not restart the j2ee server after that....so change it at your own risk!
    If you do change it and cannot restart,  go into the config tool and navigate to Global server configuration >> services >> com.sap.security.core.ume.service and find the ume.r3.connection.master.client key. Change that back to it's original value. I was able to restart after that.
    Hope that helps.

  • How to disable automatic login and to see other accounts?

    I bought MacBook Pro Retina with Mac OS X 10.8.2 in a shop, where there already was account "kiosk".
    I created new account, gave him Administrator priviliges.
    In the Preferences / Users & Groups I see kiosk account as "Managed", and my new account as "Admin".
    I set:
    System Preferences / Security & Privacy / General / Disable automatic login = Checked.
    System Preferences / Users & Groups / Login Options / Automatic login = Off.
    But still I have two issues:
    1) After start the laptop automatically logins into kiosk account, while I explicitly switched off this option
    2) Apart from kiosk account, the OS doesn't see any other accounts, for example my new account.
    For example, when I changed login shell for kiosk account into /usr/bin/false, I couldn't login at all. The OS said something like, there are no active accounts. So I had to set login shell back to /bin/bash using single-user mode.
    The questions are:
    How to disable automatic login into kiosk account?
    How to see a choice between kiosk account and my new account in the login dialog?
    How to delete kiosk account? Currently the delete option is disabled for kiosk in System Preferences / Users & Groups.
    So far after laptop start I automatically login into kiosk, then switch into my new account with entering a password, which is weird.
    Thanks in advance.

    It is your only option if you want to get rid of that other user account. It seems the system is Hard Set to boot to that account. How and why I have not Idea but the first thing you should of done was Restoring it to the Original OS, if it was not Mt Lion to begin with, in doing so getting rid of all other accounts and files from that other account.
    Time to Bit the Bullet and Erase the drive completely and reinstall the original shipping version of OS X on that system.
    Anton Mironenko wrote:
    Reinstalling the OS would be too extreme. I already have many programs installed, and I tuned a lot of params. Data migration is another pain.
    I hope, it is possible to solve this issue in another way.

  • Wwc-41439 trying to log into Portal

    Hello,
    I'm getting error message wwc-41439 when trying to log into my Portal environment in Application Server 10g. My infrastructure and middle tier are on the same Linux RedHat 3.0 box. I am able to log into oiddas with no problem, it when I try to login into Portal that I get the error message. The following URL is the page with the login button:
    http://servername:7779/portal/page?_pageid=6,1,6_13&_dad=portal&_schema=PORTAL
    the button link is below
    http://servername:7779/pls/portal/PORTAL.wwsec_app_priv.login?p_requested_url=PORTAL.home&p_cancel_url=PORTAL.home
    and the error message page is below
    http://servername:7779/pls/portal/PORTAL.wwsec_app_priv.login?p_requested_url=PORTAL.home&p_cancel_url=PORTAL.home
    Any help appreciated!

    Hi,
    It sounds like the SPNego login Module is failing. You will get a better idea of the issue if you reproduce the logon scenarion while running a webdiagtool trace. You can follow note 1045019 for this.
    Regards,
    DAvid

Maybe you are looking for

  • E63 GOING ON AND OFF

    I flashed my E63 but after flshing it could not work proberly,it keeps going on and off after every 5min.anybody who can help me.

  • Help IMPORTING VIDEOS

    Just purchased an Imac in Sept. 09. I have all the latest versions of iPhoto and iMovie along with Snow Leopard. I have a Kodak easyshare digital camera that takes short video clips. iPhoto imports all of the pictures but is not importing the Videos.

  • TabIndex not working

    I have an application that I am creating in Flex Builder that uses swc components from Flash created using the Flex Component Kit. Those components have text input fields in them from Flash. The trouble I am having is when I try to set the tabIndex o

  • How do I send a photo?

    Could somebody tell me how to send a photo from my Apple iPad "Photo" App to Facebook?

  • 10.4.3 update causing problems

    Has anyone else noticed battery loss while sleeping, slower charging speeds and/or computer shutting off when the battery level is around 30%? It only happened after the update, before it was great. Any ideas?