Our own Customized Login Portlets

Hi,
can anybody help me how to develop our own login portlet in jsp in portal .please give me an idea to do this.

Hi there,
This topic has been discussed in depth earlier too. I would suggest that you search the forum for it and you will get more than enough threads discussing it. :-)
thanks,
Harsha

Similar Messages

  • Writing and including our own customer data source to Crystal Report Design

    Hi,
    I need to create a Crystal Report based on a locally stored XML and schema. I can do this but the issue Iu2019m facing is that some tags used in the schema and the format is not supported by Crystal. So my plan is to write a database driver which will take our format and then convert it to the format Crystal supports and vise versa. To do this before writing the driver I need to know if itu2019s possible to include my custom database driver source in to the list that is shown in the Crystal Report Designer when selecting a data source to create a report.  Is there such an API available so that I can plugin my data source to Crystal Report Designer? Is this at least possible to do or is there another way?
    Hope you can help me.
    Thanks you in advance.
    Regards,
    Chanaka

    Hi Chanaka,
    Not directly. If you base your driver on OLD DB or ODBC then it will show up in those lists.
    If you are planning on selling a lot of packages then you may want to contact our OEM Sales team and sign up. You'll have more resources to do customized features like this. Not sure if we can but the option is there.
    Thank you
    Don

  • How to Create our own Custom Design for UI Elements in WebDynpro Java

    Hi Experts,
    As of now i am using the Standard design for the  UI Elements in the WebDynpro Java Applications.
    For example:
    header1,header2,monospace etc are available in design for UI Elements.
    Now i want to give my custom design to the UI Elements.
    So how can i create this. and Is it possible to create in NWDS.
    Thank You.
    DS

    Hi DS
    Eclipse Theme Editor for NetWeaver 2004
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a026b4ce-de48-2a10-7285-fb457ee6c7ed
    Eclipse Theme Editor for NetWeaver 7.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/136dd890-0201-0010-1b9d-bd09a0d3b1d8
    Hope this will be use ful for u
    Regards
    sriram

  • Online Help does not have "Customizing the Login Portlet" as claimed by Conf Guide

    Hello
    Portal 309 configuration guide claims that you can include a self-registration link in your customized login portlet. However, this does not exist in online help.
    Does anybody know what is the link which I can use in m customized login portlet?
    Thanks
    Tam.
    null

    Here is the topic:
    Installing and configuring the self-registration feature
    You can enable users to create their own portal user accounts. However, first you must install the self-registration feature.
    To install and configure the self-registration feature:
    1.Start SQL*Plus and login to the database in which the Login Server is installed.
    2.Create a schema. This schema will be used for accessing user administration objects on the Login Server. From now
    on in this task we will refer to this as the user administration access schema.
    3.In the user administration access schema, create a synonym for the Login Server SSO schema package
    wwsso_api_user_admin. This synonym must be called wwsso_api_user_admin.
    4.Grant Execute privileges on the wwsso_api_user_admin package in the Login Server SSO schema to the user
    administration access schema.
    5.If Oracle Portal and the Login Server are installed in different databases:
    a.In the user administration access schema, create a synonym for the Login Server SSO schema package
    wwctx_api_vpd package. This synonym must be called wwctx_api_vpd.
    b.Grant Execute privileges on the wwctx_api_vpd package in the Login Server SSO schema to the user
    administration access schema.
    c.In the schema in which Oracle Portal is installed, create a database link to connect to the user administration
    access schema.
    6.Start a command line prompt.
    7.Change to the portal30/admin/plsql directory of the directory in which Oracle Portal is installed.
    8.Enter the following command:
    UNIX:
    selfreg.csh -s <portal_schema> -p <portal_password> -ua <sso_uadmin_schema> -c
    <portal_connect_string> -dblink <sso_uadmin_dblink>
    NT:
    selfreg.cmd -s <portal_schema> -p <portal_password> -ua <sso_uadmin_schema> -c
    <portal_connect_string> -dblink <sso_uadmin_dblink>
    where:
    portal_schema
    is the database schema in which Oracle Portal is installed.
    Default: PORTAL30
    portal_password
    is the password for the above schema.
    Default: <portal_schema>
    sso_uadmin_schema
    is the user administration access database schema you created in step 1.
    Default: <portal_schema>SSOUA
    Note: You do not need to provide a value for this parameter if you specify a database
    link for the dblink parameter.
    portal_connect_string
    is the connect string for the database in which Oracle Portal is installed.
    Note: You need to provide the connect string only if you are running the script on a
    different database.
    sso_uadmin_dblink
    is the name of the database link created in step 4c.
    Note: You need to provide the database link only if the Login Server is installed in a
    different database instance from the Oracle Portal installation. If you do not provide a
    value for this parameter, it is assumed that the user administration access schema is
    in the same database instance as Oracle Portal.
    For example:
    selfreg.csh -s myportal -p myportal -ua myportal_sso_ua -c orcl -dblink uadmin_link
    9.Press the Enter or Return key.
    10.Start Oracle Portal
    11.In the Services portlet, click Global Settings. By default, the Services portlet is located on the Oracle Portal home
    page's Administer tab.
    12.In the Self-Registration Options section, select Enable Users To Log On Immediately if you want users to be able to
    log on to Oracle Portal immediately after they create their own user account using the self-registration feature.
    Note: If you do not select this check box, you will need to assign the user as an authorized user before he or she is able
    to log on.
    13.To expose the self-registration feature to users, you can customize the Login portlet to include a self-registration link.
    null

  • Custom Login using the Pluggable Identity Management Framework

    Hi all,
    We are trying to establish 2 ways into our application:
    1. via a login form
    2. seamless login from an external application
    To achieve this we are trying to build our own custom authentication using the pluggable IDM framework.
    Basically if a secure page is requested, we want to check the header/cookie/request (don't mind which) for a key which is provided by the external application. If present, the key is validated against a web service provided by the external app, the identity is asserted and the user is entered seamlessly into the application. If the header/cookie/request does not contain a key the user is to be redirected to a login page, where they can input username and password which will be validated against our database.
    We've created a Token Collector and Token Asserter class, we've modified our custom Login Module to retrieve the identity created by the Token Asserter but we haven't worked out how to get the alternate login page working for users which don't come through the external application.
    Has anybody built anything similar? From the documentation it appears we should be able to achieve our goal using the pluggable IDM, but we're going around in circles a bit at the moment.
    Any help/sample code would be greatly appreciated.
    thanks.

    Can you tell why the page is not working? I mean, any errors ? What happens when you try to open the protected resource?
    Here is an example of the code, I removed some part of the code specific to the bussines so if you have doubts just let me know
    token collector
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    import java.net.URLEncoder;
    import java.util.Hashtable;
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    import javax.servlet.http.Cookie;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import oracle.security.jazn.collector.CollectorException;
    import oracle.security.jazn.collector.TokenCollector;
    import oracle.security.jazn.sso.SSOTokenFormatException;
    import oracle.security.jazn.token.IdentityToken;
    import oracle.security.jazn.token.TokenNotFoundException;
    public class MyTokenCollector implements TokenCollector
    private Properties _properties;
    public void fail(HttpServletRequest request,
    HttpServletResponse response, int reason)
    throws CollectorException
    String loginURL = _properties.getProperty("custom.sso.url.login");
    String urlParam = _properties.getProperty("custom.sso.url.param");
    String idParam = _properties.getProperty("custom.sso.id.param");               
    Log.Info("Token collection failed (" + reason + ")");
    StringBuffer requestURL = request.getRequestURL();
    String queryString = request.getQueryString();
    requestURL = requestURL.append("?").append(queryString);
    StringBuffer sb = new StringBuffer();
    try
    sb = sb.append(urlParam).append("=");
    String encodedStr =
    URLEncoder.encode(requestURL.toString(), "UTF-8");
    sb = sb.append(encodedStr);
    sb = sb.append("#").append(request.getServerName()).append("#").append(request.getServerPort());
    String redirectQueryString = sb.toString();
    String rurl = loginURL + "?" + redirectQueryString;
    response.sendRedirect(response.encodeRedirectURL(rurl));
    catch (UnsupportedEncodingException uee)
    SSOTokenFormatException stfe =
    new SSOTokenFormatException(uee, 4);
    Log.Error(stfe.getMessage());
    throw new CollectorException(stfe);
    catch (IOException ioe)
    Log.Error("IOException occured: " + ioe);
    throw new CollectorException(ioe);
    public IdentityToken getToken(String tokenType,
    HttpServletRequest request,
    List tokenNames, Properties properties)
    throws TokenNotFoundException, CollectorException
    _properties = properties;
    String valor = null;
    Log.Info("URL: "+request.getRequestURI());
    if ( tokenType. equalsIgnoreCase("HTTP_COOKIE"))
    valor = procesarCookie(request, tokenNames);
    }else if (tokenType.equalsIgnoreCase("HTTP_HEADER"))
    valor = procesarHeader(request, tokenNames);
    }else
    throw new CollectorException("token type not supported");
    MyIdentityToken token = new MyIdentityToken(valor);
    token.setTokenType(tokenType);
    token.setPropiedades(properties);
    return token;
    private String procesarCookie(HttpServletRequest request, List tokenNames)
    throws TokenNotFoundException
    if (1 != tokenNames.size())
    //Only one cookie can be handled
    String error = "Invalid number of cookies check jazn.xml";
    throw new TokenNotFoundException(error);
    Map cookies = new Hashtable();
    Cookie allCookies[] = request.getCookies();
    if (allCookies != null)
    String cookieName = (String) tokenNames.get(0);
    Log.Info( "Searching for cookie: " + cookieName);
    Cookie cookie;
    for(int i = 0; i < allCookies.length; i++)
    cookie = allCookies;
    if (cookie.getName().equals(cookieName))
    return cookie.getValue();
    String error = "Rquired cookie not found";
    Log.Error(error);
    throw new TokenNotFoundException(error);
    }else
    String error = "No cookie on request";
    throw new TokenNotFoundException(error);
    private String procesarHeader(HttpServletRequest request, List tokenNames)
    throws TokenNotFoundException
    String nombreHeader = (String) tokenNames.get(0);
    String header = request.getHeader(nombreHeader);
    if (header != null)
    return header;
    }else
    String error = "Request doesn't have the requierd header";
    throw new TokenNotFoundException(error);
    Token Asserter Example
    import java.util.Properties;
    import javax.security.auth.Subject;
    import oracle.security.jazn.asserter.AsserterException;
    import oracle.security.jazn.asserter.TokenAsserter;
    import oracle.security.jazn.callback.IdentityCallbackHandler;
    import oracle.security.jazn.callback.IdentityCallbackHandlerImpl;
    import oracle.security.jazn.token.IdentityToken;
    public class MyTokenAsserter
    implements TokenAsserter
    public void finalize()
    throws Throwable
    public IdentityCallbackHandler assertIdentity(String tokenType,
    IdentityToken token,
    Properties properties)
    throws AsserterException
    InversuraIdentityToken idToken = (InversuraIdentityToken) token;
    String valorToken = idToken.getValorToken();
    InversuraToken invToken;
    try {
    invToken = new InversuraToken(valorToken);
    if (verificarVigencia(invToken))
    IdentityCallbackHandlerImpl idcb = new IdentityCallbackHandlerImpl(invToken.getLogin());
    idcb.setAuthenticationType("InversuraSSO");
    idcb.setIdentityAsserted(true);
    MyPrincipal ppal = new MyPrincipal(invToken.getLogin());
    Subject subj = new Subject();
    subj.getPrincipals().add(ppal);
    idcb.setSubject(subj);
    return idcb;
    throw new AsserterException("Token expired");
    }catch (Exception e)
    String error = e.getMessage();
    throw new AsserterException(error, e);
    public boolean verificarVigencia(InversuraToken token)
    return token.estaVigente();

  • Custom Login works in IE Explorer, but not mozilla 1.2. Why?

    Portal Rel. 2, all patches applied. Our custom login portlet works just fine when IE Explorer is the browser. When mozilla 1.2 is the browser, everything processes without errors, but the user is never logged in. The portlet is calling the procedure wwptl_login.login_url, and p_requested_url is set to portal.home. Any idea why it would work using one browser and not the other?

    Firefox does not use the same version of Flash as Internet Explorer, you need to download and install the version of Flash used by Firefox.
    Using Firefox go to http://get.adobe.com/flashplayer/ to download the installer, then run this file to install Flash.
    This support article has further details - [[Install the Flash plugin to view videos, animations and games]]

  • Re-Creating the Help button in a Custom Header portlet

    I've disabled the Top Bar from my portal, and need to create the Help within my custom Header portlet. I can't find any code on how to have it dynamically work? Is it even possible?

    It is possible. Here is a custom function we wrote:
    /***ReturnsanHTMLAnchorthatimplementscontextsensitivehelp.Note,ifeither*imgHelpORstrHelpTextarenotnull,bothdefaultswillbeclearedandoverridden**@paramimgHelp-Includeanoptionaloverrideimage-nullifdefault*@paramstrHelpText-Includeoptionaloverridetext-nullifdefault*@paramasOwner-Theactivityspacecurrentlyinuse**@returnHTMLAnchor*/
    publicstaticHTMLAnchor GetHelpLink(HTMLImg imgHelp, String strHelpText, AActivitySpace asOwner){HTMLAnchor result = [b]null;
    //Get the default help anchor
    result = HTMLConstructHelpers.GetHelpAnchor( asOwner );
    if(null!= imgHelp || null!= strHelpText)
    //Clear the existing default help image and text
    result.ClearInnerHTMLElements();
    if(null!= imgHelp)
    result.AddInnerHTMLElement(imgHelp);
    if(null!= strHelpText)
    //Add in our own custom text
    result.AddInnerHTMLString(strHelpText);
    returnresult;

  • Customizing login screen

    Hi,
    When using Oracle Portal, can the login screen be customized?
    The level of customization I require include:
    - validating username/password against our own database tables
    - adding second factor authentication to the login screen
    How can it be done? Can I customize the default login screen? Or it's possible to create my own custom login screen?
    Thanks,
    Roy

    Yes, at this moment Oracle Portal is only supported with the SSO server in the Application Server.You can however integrate Oracle Access Manager (former Oblix) with the SSO server to get additional features :
    http://download-west.oracle.com/docs/cd/B28196_01/idmanage.1014/b25347/osso.htm#CEGCEAJI

  • My sister and I each have an ipod touch. We use the same computer and itunes but each have our own apple id. Everytime I want to update an app on my ipod it asks for my sisters apple id login!? help!

    My sister and I each have an ipod touch. We use the same computer and itunes but each have our own apple id. Everytime I want to update an app on my ipod it asks for my sisters apple id login!? help!

    When it asks for another ID on an App Update, it means that the application was purchased under your sister's ID but downloaded to your device from the iTunes library that you share. Even though you both have your own Apple IDs, since you are syncing on the same computer, you are using the same iTunes library.
    Whoever purchased the app is forever tied to it, and you can only have one version of a particular app in a single library....
    Does that make sense?
    Cheers,
    GB

  • My wife and I each have our own apple ID's which we use on our own iPhones and iPads. We share an iMac. Is there a way of enabling Facetime on the iMac to accept calls to either of our IDs without the need to login as that particular user?

    My wife and I each have our own apple ID's which we use on our own iPhones and iPads. We share an iMac. Is there a way of enabling Facetime on the iMac to accept calls to either of our IDs without the need to login as that particular user?

    no, when using facetime you log in with the apple id you want people to reach you at, so unless you both agree to share one apple id for all the facetime you do, it will be necessary for you to logout and login each time you use the application.

  • Using a custom login page for the portal

    Hi all,
    I'm currently doing a migration from Plumtree 4.5WS to Plumtree 5.0.4. In the current 4.5WS portal, I'm catering to 3 different login mechanisms due to time-lags in migration of my users' workstations. The 3 mechanisms are:
    1) Smart Card Reader on Windows 95 using TLS (uses a client side ActiveX)
    2) Smart Card Reader on Windows XP using SSL (uses client side ActiveX)
    3) Java PKI Card on Windows XP using SSL (uses server side scripting)
    To cater to the above, we've made customisations to login.asp and dologin.asp and also added a few scripts of our own.
    I now need to migrate these over to Plumtree 5.0 as well. I've thought of 2 ways to do this:
    1) Doing a custom view replacement of the Login View. This however has limitations as I'm not sure how the codes for the above 3 mechanisms will come in, especially 3), which involves server side scripting.
    2) Creating a custom login and exit page. This is probably a much more feasible solution in my case as it allows me to freely create my login pages and exit pages accordingly to cater for the above. However to do this, I need to be able to customize the Log In and Log Off links on the Portal Banner in order to point these to my own login and exit pages.
    Any ideas what is the best (or correct) way to do this?
    Thanks!
    Weng Kong Lee

    AFAIK only one login.jsp is called.
    But you can include logic into that one JSP file.
    If referer = portal.company.com THEN
    else
    This way you can create different look and feel for different virtual hosts.
    Login portlets have the disadvantage that https is not supported
    Ton

  • Custom login screen.. any hints ?

    Hi all,
    We'd like to have a login screen sligthly different from the standard one (some links should be removed, some others created).
    Should we create our own starting from scratch ? (new web dynpro view...). In this case, could someone gives some hints:
    - is there some bapi that can be executed to authenticate user
    - is there some bapi that can be executed to change user password / langage...
    Would it be better to customize standard login screen ? Our application is standalone (not in portal).
    In this case, can someone tell me how to customize it ? I've read some documentation on changing this login screen in portal (by customizing .par file)... Should we do the same ?
    Thanks in advance

    Hello TWM,
    the support and register links can be controlled with the UM settings ume.logon.logon_help and ume.logon.selfreg. For more complex customization you might want to create your own login screen component as a copy of the standard component: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/customizing the logon user interface of sap enterprise portal 6.0
    Kind regards, Martin

  • Location of Login Portlet in Weblogic Portal 9.2

    Hi All,
    Does Weblogic Portal 9.2 provide its own Login Portlet or not?Actually I want to use login portlet that comes with Weblogic Portal 9.2 into my sample application.
    If anyone has got idea about where is the login Portlet and how to use in our application then please let me know.All suggestions are welcome and thanx in advance.
    Regards,
    Chiku...

    Hey Chiku,
    There is a brand new login portal sample in Dev2Dev (thanks to Skip
    Sauls).
    https://codesamples.projects.dev2dev.bea.com/servlets/Scarab/remcurreport/true/template/ViewIssue.vm/id/S275/nbrresults/37
    You can browse to it like this:
    http://dev2dev.bea.com/
    http://dev2dev.bea.com/wlportal/
    Hit the "Code Samples" link and look for the sample on the 2nd page. Its ID
    is S275 and its title is "Login Portlet"
    <John Wright> wrote in message news:[email protected]..
    Hi All,
    Does Weblogic Portal 9.2 provide its own Login Portlet or not?Actually I
    want to use login portlet that comes with Weblogic Portal 9.2 into my
    sample application.
    If anyone has got idea about where is the login Portlet and how to use
    in our application then please let me know.All suggestions are welcome and
    thanx in advance.
    Regards,
    Chiku...

  • 11g Discoverer - Custom Login and private workbooks questions

    I would like to know if anyone has experience with the following issues.
    It appears that you could configure a custom login for Discoverer Plus/Viewer (users are authenticated via a custom application > provide a link within the custom application to launch Discoverer Plus > Discoverer Plus authenticate with the database as a generic single/service oracle username for a given EUL).
    My questions:
    1. Since we authenticate users in our application, could we just pass generic user information to allow a Discoverer Plus login via a URL (without the generic password being exposed to the user)?
    2. If a custom login works using a generic discoverer database username, how could you pass a unique user identifier so that a user could create and save their own workbooks privately?
    Essentially, we would like to authenticate the Discoverer Plus session via our own application (since the user is already authenticated within our application). And, we would like the Discoverer Plus database session to be generic so we do not require unique database accounts for every end-user. However, we also want the generic Discoverer Plus "session user" to be able to save private workbooks (possibly using sys_context('USERENV', 'CLIENT_IDENTIFIER')).
    Thanks for any insight

    Hi,
    1. Since we authenticate users in our application, could we just pass generic user information to allow a Discoverer Plus login via a URL (without the generic password being exposed to the user)?You can use an HTTP post to send a Discoverer URL that contains both the username and password, so this should allow you to connect ot a generic user.
    2. If a custom login works using a generic discoverer database username, how could you pass a unique user identifier so that a user could create and save their own workbooks privately?I don't think you can do this without using Oracle SSO. I workaround you could explore is for your Discoverer URL to run an initialisation workbook, which takes an encrypted username as a parameter and if this is OK the workbook sets the database environment using PL/SQL and DBMS_SESSION package. The user would then always see the results of the initialisation workbook when they connected which could just show a welcome message.
    Rod West

  • Problems with custom login module/authscheme in Portal iViews

    Hi,
    In our portal users must login with their username and password ("ticket" login module stack) to access most of the content. For some of the iViews containing confidential data we would like to ask the users some personal questions before giving them access.
    I followed all the steps described in the [official documentation |http://help.sap.com/saphelp_nw04s/helpdata/en/8c/f03541c6afd92be10000000a1550b0/content.htm]:
    - created a custom login module
    - added it to a custom login module stack
    - added a custom authscheme in the authschemes.xml file
    - assigned the iView to this authscheme
    I also create a PortalComponent that reads the user entries and calls my login module (JSP not shown):
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)     {          
        HttpServletRequest req = request.getServletRequest();
        HttpServletResponse resp = request.getServletResponse(false);
        ILogonAuthentication ila = UMFactory.getLogonAuthenticator();
        Subject subject = ila.logon(req, resp, "myauthscheme");
        // if authenticated what to do next??
    Now when I try to access the protected iView, I see my screen to answer the questions, I press submit and my login module is called. But, I never get redirected to the iView I'm supposed to go. So I still have two questions:
    1) Which login modules should be in the login module stack? Should I include the BasicPasswordLoginModule?
    For the moment I have:
    EvaluateTicketLoginModule (SUFFICIENT)
    MyCustomLoginModule (REQUISITE)
    CreateTicketLoginModule (OPTIONAL)
    2) How can I be redirected to the protected iView after the user is being authenticated? Is it the portal framework who is responsible to navigate there automatically? Or is it in my own code after the logon() call? In that case how can I retrieve the destination URL?
    Thanks,
    Martin

    I'm using the version 10.1.3.0.4 (SU5).
    The error is:
    06/09/28 18:09:05 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException
    28/09/2006 18:09:05 com.evermind.server.Application setConfig
    WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException
    2006-09-28 18:09:05.390 WARNING J2EE 0JR0013 Exception initializing deployed application: current-workspace-app. null
    My JAAS-oc4j-app content is:
    <log>
    <file path="JAAS-oc4j-app.log" xmlns=""/>
    </log>
    <jazn provider="XML" location="JAAS-jazn-data.xml">
    <property name="role.mapping.dynamic" value="true"/>
    <property name="custom.loginmodule.provider" value="true"/>
    <property name="jaas.username.simple" value="true"/>
    </jazn>
    <data-sources path="JAAS-data-sources.xml"/>
    Thanks for reply.

Maybe you are looking for