Urgent: How to create a new variable in the context of session

Hi all


I use JDeveloper 11.1.1.2.0 and mets implement security using WLS adf
I am loging in using the login name. and I am able to collect the new_login_name vo by using adf.context.securityContext.userName

My requirement is that I want to set id (number datatype) in sessioncontext as username.
This id must be retrieved from the database table according to the new_login_name and appearing sessioncontext.

I want to fill the VO in my different pages by using this user ID in the session, because our tables are based on the Id not new_login_name

Please help its urgent need
Susan

Dear Susan,

You cannot create security variable context pro-grammatically.

Tags: Java

Similar Questions

  • How to create a new folder in the voice tab 7 hp slate

    How to create a new folder in the voice tab 7 hp slate?

    I wish to cretae a folder in my home page.

    Please help me...

    Hello and welcome to the HP support community!

    You want to organize your icons in folders, or put a shortcut of data on your home page folder?

    The first is easy, this last not so much.

    Just hold your finger on an icon, and then drag it on another similar icon.  A "folder" will be done with the name "unnamed file".  Press and hold the words to change the name of the folder.

    I'm not aware of a way to file a record of data on the homepage...

    WyreNut

  • Smartphones blackBerry how to create a new folder in the video folder in the media

    Hi, I'm trying to figure out how to create a new folder in the video folder in the media. I can easily create new folders in the pictures folder, but not in the videos... Why? Thanks in advance for your help.

    well I'm sorry, I think that I have not read your emails correctly.

    The media application doesn't care about records at all. It will read the files, the tags when they are available, playlists, but it will not show the files. with the exception of the pictures.

  • I need to update the screenshots for a new version of an app existing Itune application to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    I need to update the screenshots for a new version of an existing iTunes Connect App asks me to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    You must call the assistance of the company and ask them to help you with this. You can find contact information by logging on http://digitalpublishing.acrobat.com/ and looking at the Middle at the bottom of the page.

    Neil

  • How to create a Global Variable through the Project Explorer

    Hello world!

    I know how to create a global variable (in a vi through the range of functions...).

    but I'm missing a way to create one via the Project Explorer.

    It's a missing feature or just this documentation (and the intuition of myself) are missing?

    It would be very convenient.

    THX for your time and hope that answers.

    jwscs

    Right click on my computer > new > new... > select Global Variable.

    EDIT: although I agree with Gerd (he probably wondering why you need so we can recommend a better way ), I rarely use them in easy to write once - read many applications such as security levels overall program at initialization (VER) to read later, but NOT modified.  I know it would be better to make a good class, functional Global Variable (FGV) or a motor Action (AE) but globals ARE practical and safe IF used wisely.

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • How to create a new record with the old values

    Hi all

    I have the creation with 45 page are there fields
    the user will enter all areas and save, it will call the uneditable mode

    If the change button is clicked it will call for the editable mode

    My requirement is user will not change among these ites (45 items) clcik on save again it will call to view mode

    in this user will change one value among 45 Articles and click on the button Save I need to create more than one record in the database

    If the user will not modify one of the field elements of the 45 I will not create a new record in the database

    How can we achieve this feature


    Concerning
    Anthony

    Hi Mary,

    Please try this method to copy a line in the new line...

    public void copy()
    {
    Pervert SuppliersVOImpl = getSuppliersVO1();
    Rank rank [] = pervo.getFilteredRows ("SelectFlag", "Y");
    for (int i = 0; i)<>
    {
    Rowi rank (SuppliersVORowImpl)= SuppliersVORowImpl;
    OADBTransaction trx (OADBTransaction) = getTransaction ();
    Number b = trx.getSequenceValue ("FWK_TBX_SUPPLIERS_S");
    AttributeList a rowi = (AttributeList);
    R = (SuppliersVORowImpl) pervo.createAndInitRow SuppliersVORowImpl (a);
    Define your unique attribute values here, I'll put here Ref supplier as with each new line, it must be different.
    r.setSupplierId (b);
    pervo.insertRow (r);
    }
    }

    Kind regards
    Out Sharma

  • How to create a new message in the wsdl

    Hi all, how to create a new message apart from the request message and the response message that are created when the BPEL process is created? For example, in response, the request and the draft LoanValidator (this is the sample project that came with the installation of 10 g), the messages are LoanValidatorRequestMessage, LoanValidatorResultMessage and another message is there which is InvalidApplicationExceptionLoanValidatorMessage it. How to create this message? and its corresponding operation also. Thank you.

    Kind regards
    user11275112

    messages are defined in the wsdl file and have parts that refer to the actual type / element. Just so go to the WSDL file, which is that of the partnerlink customer - and add your. the operation (defined in the portType class) contains entries / exits / breakdowns of children. each referring to a defined message.

    was soon clemens

  • How to create a new page when the user activates a box?

    I guess this would be a checkbox.  I am looking for a way to create a user, select Create a new page when the user runs out of space in the text box that is given.  So if possible is a way to create a new page with a text box continuous when the user selects create it a new page check box.  Thank you.

    Yes, if you create a new page in the designer of the LC (page 2) and deselect the number of minutes, so that when the form is displayed at the start, it is not an instance of the page. While the click event of the button would be:

    _page2.addInstance(true);
    

    You can design page 2 with which opposes always desired.

    Hope that helps,

    Niall

  • How to create a new user at the presentation level

    Hello

    I would like to create a user account at the level of the presentation of a user to connect and view go them. I am connecting to the level of the presentation as an administrator and choosing configuration-> administration-> manage the presentation catalog groups and users. There is an option to create a group of catalog, how to create a user?

    Thank you

    Hi friend

    You can create the user on the Administration tool, on Manage-> Security-> users-> right click and then new user.

    Now, connect to the service of the presentation as an administrator. Then, on settings-> Administration-> catalog manage... here you can create new folder and grant access to the users of the folder you want.

    Kind regards.

    Published by: Hammett81 on August 2, 2010 17:54

  • How to "create a new folder on the hard drive?

    I have a printer Hp 648 with a W98 CD, that will not work for XP.  To download the XP driver on the HP site, the first step is to create as above.  Do not have any idea how I can do this and can't find anything in help.  Must be a folder that begins with c:\.

    On C:?  In run, type in "c:".  Explorer will open and you will be in the root directory, alias 'hard drive' c:.  You can then make a record here.  You know how to do this, right?  Thus, the file will be located at c:\hithereiamafolder.  Very easy.  Type c:.  Make the folder.

  • How to create a new password to the e-mail sri_94@live.co.UK account?

    A friend M had an e-mail [email protected] for a long time account.

    It has been implemented by her husband who is now serving in the forces abroad.

    Suddenly she couldn't access e-mails using his password.

    Ehe somehow she ended up by creating a new password - but it does not work.

    Neither the old or new passwords work.

    If she can still access the e-mails.

    It cannot create a new password - like this can not be sent to her as an SMS on his phone.

    Unfortunately, his phone number has changed since the account was created and is not registered on the account.

    Because the account was originally set up by her husband - she is not sure what the correct answers are safety issues.

    She cannot ask her husband being the only communication with him by e-mail - to which she cannot access!

    Tried calling Microsoft technical support, but he could not help with questions of [email protected].

    Anyone got any suggestions?

    Account questions contain private information that can be shared in a public forum please use the online form below. They are the only ones who have access to your account information, we simply don't have.


    Account of all the partners must now wonder online by using the Microsoft online form


    Select the error you must help with and fill in the information requested on the next page.  You must be connected to a Microsoft account to access the form.
    If you are unable to access your main account, you can use another account (if you have one) or create a new one https://signup.live.com/
  • How to create a new object on the other list list

    Hello

    I'm trying to insert the result of a query in a list in order to put the new values based on the results of the first query: for example, I have this table which contains records:



    adfcal1.PNG


    My question is:OE to create a new list object on the other hand, if you see the picture shows my list, I want to create another list where I stock ordred values if we in line December we will put 1 in column 12 and if we April we put 1 in the 4th column and if we find in my current line November we put 1 in column 11 :

    I'm stuck in this function

    public List<VisiteCons> MyListResult() {

      
    Query query = em.createQuery("SELECT o FROM Visite o ");
      
    List<Visite> visites = query.getResultList();
      
    List<VisiteCons> result = new ArrayList<VisiteCons>();
      
    for(int row = 0 ; row < visites.size() ; row++) {

      
    int m1 = 0, m2 = 0, m3 = 0, m4 = 0, m5 = 0, m6 = 0, m7 = 0, m8 = 0, m9 = 0, m10 = 0, m11 = 0, m12 = 0;
      
    //Pour m1 january
      
    if(visites.get(row).getM1().equals("janvier")){
      m1
    = 1;
      
    }
      
    VisiteCons vc =  new VisiteCons( m1, m2, m3, m4, m5
      
    , m6, m7, m8, m9
      
    , m10, m11,m12);
      result
    .add(vc);
      
    }
      
    return  result;

    }

    VisiteCons is a constructor that I created.



    and this my entity:

    package model;

    import java.io.Serializable;

    Import javax.persistence.Column;

    Import javax.persistence.Entity;

    Import javax.persistence.Id;

    Import javax.persistence.NamedQueries;

    Import javax.persistence.NamedQuery;

    @Entity

    @NamedQueries ({@NamedQuery (name = "Visite.findAll", query = "select visit o o")})

    Visit/public class implements Serializable {}

    private public static final long serialVersionUID =-6069673717468618734 L;

    @Column (length = 4000)

    private String year;

    @Column (nullable = false, length = 100)

    customer private string;

    @Column (length = 4000)

    private String dep.

    @Column (length = 4000)

    private String State;

    @Id

    @Column (nullable = false, length = 100)

    private String idvisite;

    @Column (length = 4000)

    private String ingaff;

    @Column (length = 20)

    private String m1;

    @Column (length = 20)

    private String m10;

    @Column (length = 20)

    private String m11;

    @Column (length = 20)

    private String m12;

    @Column (length = 20)

    private String m2;

    @Column (length = 20)

    private String m3;

    @Column (length = 20)

    private String m4;

    @Column (length = 20)

    private String m5;

    @Column (length = 20)

    private String m6;

    @Column (length = 20)

    private String m7;

    @Column (length = 20)

    private String m8;

    @Column (length = 20)

    private String m9;

    @Column (length = 4000)

    private String moisvisite;

    @Column (length = 4000)

    private String nbvisites;

    @Column (length = 4000)

    private String prbvisite;

    public Visite() {}

    }

    Visit public (String year, String customer, String dep, State of, string idvisite, String ingaff, String m1,

    M10, m11 String, String m12, m2, m3, m4, m5 String String String String String, string m6, m7 of the chain,

    String m8, m9 String, String moisvisite, String nbvisites, String prbvisite) {}

    This.Annee = year;

    This.client = client;

    This.DEP = dep;

    This.Etat = State;

    This.idvisite = idvisite;

    This.ingaff = ingaff;

    This.M1 = m1;

    This.M10 = m10;

    This.M11 = m11;

    This.M12 = m12;

    This.M2 = m2;

    This.M3 = m3;

    This.M4 = m4;

    This.M5 = m5;

    This.M6 = m6;

    This.M7 = m7;

    This.M8 = m8;

    This.M9 = m9;

    This.moisvisite = moisvisite;

    This.nbvisites = nbvisites;

    This.prbvisite = prbvisite;

    }

    public String {} year

    return year;

    }

    {} public void Name\backup (String year)

    This.Annee = year;

    }

    public String getClient() {}

    customer feedback;

    }

    {} public void setClient (string customer)

    This.client = client;

    }

    public String getDep() {}

    return the dep;

    }

    {} public void setDep (String dep)

    This.DEP = dep;

    }

    public String getEtat() {}

    return status;

    }

    {} public void setEtat (String State)

    This.Etat = State;

    }

    public String getIdvisite() {}

    Return idvisite;

    }

    {} public void setIdvisite (String idvisite)

    This.idvisite = idvisite;

    }

    public String getIngaff() {}

    Return ingaff;

    }

    {} public void setIngaff (String ingaff)

    This.ingaff = ingaff;

    }

    public String getM1() {}

    return m1;

    }

    public void setM1 (String m1) {}

    This.M1 = m1;

    }

    public String getM10() {}

    return m10;

    }

    public void setM10 (String m10) {}

    This.M10 = m10;

    }

    public String getM11() {}

    return the m11;

    }

    public void setM11 (String m11) {}

    This.M11 = m11;

    }

    public String getM12() {}

    return m12;

    }

    public void setM12 (String m12) {}

    This.M12 = m12;

    }

    public String getM2() {}

    return m2;

    }

    public void setM2 (String m2) {}

    This.M2 = m2;

    }

    public String getM3() {}

    return m3;

    }

    public void setM3 (String m3) {}

    This.M3 = m3;

    }

    public String getM4() {}

    Return to m4;

    }

    public void setM4 (String m4) {}

    This.M4 = m4;

    }

    public String getM5() {}

    return m5;

    }

    public void setM5 (String m5) {}

    This.M5 = m5;

    }

    public String getM6() {}

    return of m6;

    }

    public void setM6 (String m6) {}

    This.M6 = m6;

    }

    public String getM7() {}

    return m7;

    }

    public void setM7 (String m7) {}

    This.M7 = m7;

    }

    public String getM8() {}

    back m8;

    }

    public void setM8 (String m8) {}

    This.M8 = m8;

    }

    public String getM9() {}

    return m9;

    }

    public void setM9 (String m9) {}

    This.M9 = m9;

    }

    public String getMoisvisite() {}

    Return moisvisite;

    }

    {} public void setMoisvisite (String moisvisite)

    This.moisvisite = moisvisite;

    }

    public String getNbvisites() {}

    Return nbvisites;

    }

    {} public void setNbvisites (String nbvisites)

    This.nbvisites = nbvisites;

    }

    public String getPrbvisite() {}

    Return prbvisite;

    }

    {} public void setPrbvisite (String prbvisite)

    This.prbvisite = prbvisite;

    }

    }

    You can create a view in the db which reads the data from the table and display it in a different way. Then you use the view to get the data in the format and display it in the user interface

    Sample:

    -create a test line

    Select 1 id, m1 'sep', 'mar' m2, m3 'Feb' from dual;

    -output:

    ID: M1 M2 M3

    ---------- --- --- ---

    1 sep mar Feb

    -which means that your table has a row with Id = 1 nd three visits (MS, mar and Feb).  Now give us a different look from these data using the select statement

    SELECT id,

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "jan") > 0 then 'X' other ' ' end) jan.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| ((m3), "February") > 0 then 'X' other ' ' end) Feb.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "mar") > 0 then 'X' other ' ' end) mar.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), ("apr") > 0 then 'X' other ' ' end) Apr.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| ((m3), 'can') > 0 then 'X' other ' ' end) may,

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "jun") > 0 then 'X' other ' ' end) June,.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "Jun") > 0 then 'X' other ' ' end) Jul.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| ((m3), "August") > 0 then 'X' other ' ' end) aug.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "MS") > 0 then 'X' else ' ' end) Ms.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), 'OCTS') > 0 then 'X' other ' ' end) oct.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "nov") > 0 then 'X' other ' ' end) nov.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "dec") > 0 then 'X' other ' ' end) dec

    from (select 1 id, m1 'sep', 'mar' m2, m3 "feb" double);

    -output

    ID J F M A M J J A S O N D

    ---------- - - - - - - - - - - - -

    1 X X X

    or tabular

    You can create a similar sql statement (and there are better ways to do this, but I'm not the whiz sql) and use it to create a database from this view.

    I don't understand what you mean by

    .. and is there a solution of programmatly

    Timo

  • How to create a new EO in the OPS?

    Hi all

    Please tell me the steps to create a new EO on custom table.

    Help, please.

    Hello

    FSL wrote:
    Please tell me the steps to create a new EO on custom table.

    Follow steos:

    -In the project to create a bc4j bussinescomponent
    xxx. Oracle.apps.po.msg.Schema.Server

    -Right-click to creae new eo... Next
    Name: customEO
    Package:xxx. Oracle.apps.po.msg.Schema.Server
    object: tablename of schema

    next > select primary key

    check methods
    -createMethod
    -dataManipulation
    -VAllidation
    -Remove

    -check generate default viewobject
    -Apply

    Concerning
    Meher Irk

    Published by: Meher Irk November 30, 2010 15:57

  • How to open a new tab after the current browsing session.

    I used to use the new King of the tab, and when I opened a new tab, it would still open the new tab the very right of my session, the gap and not somewhere randomly in the middle. However, I wanted my restored windows to open where I had closed my session. I've since changed to use the new tab more instead and it worked the same way before, but since I've updated for firefox 26, he seems to have reset this option (and others), it opens in the middle of the session now instead of the end.

    I don't know what you mean by the middle of the session.

    Do you mean in the middle of the bar tabs in the current window? There is a setting to make it open a link in a new tab adjacent to the page where you clicked on the link, or always at the end of the tab bar. If this is what you mean, here's how you can activate:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste the tabs and make a pause so that the list is filtered

    (3) double-click the preference browser.tabs.insertRelatedAfterCurrent from true to false.

    But I'm not sure that's what you hear... also, extensions can replace Firefox built-in behaviors with their own settings tab.

Maybe you are looking for

  • Is it possible to run flash applications in different containers-plugin?

    I usually 3-4 open windows of firefox with several tabs in each window. There are at least 3 or 4 applications running at the same time flash. Thus, when an application crashes and plugin-container fails, I lose progress for each application. Now, I

  • Soft recovery error

    I'm upgrading from my hard drive to a larger. I created my discs of recovery without any problem. When I try to use them, the recovery gets through formatting the drive and starts to install the operating system, it gives me the error message "Recove

  • HP ProBook 655 G1: upgrade to Windows 8.1 to downgrade from Windows 7

    Hello I just bought a refurbished HP ProBook 655 G1 with Windows 7 Pro (64 bit) for my wife to use for the job.  I just found out that so that with my wife to support, they now require Windows Pro 8.1 (by the way, does not support Windows 10, so the

  • Windows 8 blocking at startup

    I've upgraded to Windows 7 Windows 8 Pro about 2 weeks ago and everything went well until 2 days ago. Now, whenever I turn on the PC it starts normally but then hangs at the splash screen (right before entering the Windows Live password). No error me

  • Acrobat DC and remove objects

    I have the full version of creative cloud.In the previous version of Acrobat, I was able to delete/move pictures and text, in the new ms, Im just be sent in circles and circles to upgrade. Even though I am connected everywhere, Adobe.com, CC, PDF, th