retrieve additional information on the safety of the ADF current user ising

Apparently, the securitycontext bean has lots of information about the current user. I tried to find a way easy to get (for example) the departmentnumber of my user on the Weblogic Server, but all I could come up with is the following:
            JpsContextFactory jctx = JpsContextFactory.getContextFactory();
            JpsContext ctx = jctx.getContext();
            IdentityStoreService storeService =
                ctx.getServiceInstance(IdentityStoreService.class);
            IdentityStore idStore = storeService.getIdmStore();
            String departmentNumber =
                idStore.searchUser(FacesContext.getCurrentInstance().getExternalContext().getRemoteUser()).getUserProfile().getDepartmentNumber();
What is the only way to get a filled userprofile? I expect to be able to use ADFContext.getCurrent () .getSecurityContext () .getUserProfile (); but here, the values are empty. Why this profile is not populated with the current user information?

It is one of the cases, you must save them as a bug with oracle support. I told you that value will be there :-).

Tags: Java

Similar Questions

  • Windows Media Center error: signature of the problem of additional information about the problem

    Description

    Signature of the problem

    Additional information about the problem

    original title: Windows Media Center in Windows 7 Home Premium

    then, it looks like some Windows Update is causing a problem.
    Two options-
     
    1 do a restore and immediately go into Windows Update and change the setting for
    Download, but let me choose what to install. Then install the updates one
    until you find the one that breaks the system. Do another restore, turn off
    updates and when one appears that is the problem, right-click and then
    Select HIDE this update. Let us know what is the update.
     
    2. you can go in Panel, programs and features, see the installed updates
    Sort by date and uninstall the updates one at a time until you find bad.
    Then set Windows Update to download and install not and notified on the
    updates, right-click to hide. Let us know...
     
     
    Barb
     
    MVP - Windows/entertainment and connected home
     
     
    Please mark as answer if that answers your question
     
     
     
     
  • I deleted the account current user which I use through, Mycomputer manage option, know that I am in this user only, please help me restore this user...

    I deleted the account current user which I use through, Mycomputer manage option, know that I am in this user only, please help me restore this user...

    Hello

    Who is the user account you have currently connected?

    Research of user in the sub folder location:

    Folder C:\Documents and settings\Users

    If you find in the folder the administrator account user, then you may need to create a new user account and transfer of records and documents to the new location

    See the link for the procedure below: how to copy data from a corrupted to a new profile in Windows XP user profile:http://support.microsoft.com/kb/811151

  • Additional information about the calendar CSS does not appear

    We are on Apex 5.0 and I'm running it on Chrome.

    I created a CSS calendar using the universal theme, the model Standard region.

    I activated the option of tool tip and put in #UNIQUE_ID # in the additional information box. Is the name of one of the elements of the query Source region.

    The ToolTip resulting adds the literal "#UNIQUE_ID #" to the content of the display column. Whatever name so that I put in the additional information box.

    I saw another thread that describes it, but the answer was that it could not be reproduced.

    Anyone else seeing this?

    BHenderson104 wrote:

    We are on Apex 5.0 and I'm running it on Chrome.

    I created a CSS calendar using the universal theme, the model Standard region.

    I activated the option of tool tip and put in #UNIQUE_ID # in the additional information box. Is the name of one of the elements of the query Source region.

    The ToolTip resulting adds the literal "#UNIQUE_ID #" to the content of the display column. Whatever name so that I put in the additional information box.

    Use the syntax of substitution of standard static text for reference calendar query column values:&UNIQUE_ID.

    Oracle are standardizing on this syntax, in order to have a coherent approach to the reference to the values of new components.

  • Need to display additional information to the hideshow in advanced table

    Dear all,

    I have a requiremnt as below.

    I have an advanced table and displaying data between a VO below and which, I need to display additional information after clicking on one of the field on the line.

    Basically, I need hideshow kind of features when you click a field in the row.

    Please help me on this

    Hello

    Fallow under steps it will work for you.

    Step 1: Select advanced table right click and create detail area for table advanced. (detail)

    Step 2: Create Message component provision under the detail Section. (DetailRN)

    Step 3: Add (point information) under DetailRN and correct view Instance and view attribute.

    Here's how structure component look.

    TableRN (advanced table)

    col1

    col2

    Components AdvancedTable

    in detail

    DetailRN

    COL3 (additional information)

    COL4 (additional information)

    Let me know any questions.

    Thank you

    Dilip

  • HRMS Oracle install types of additional information for the classification

    Hello

    We ran out of segments of de FACTO screen Orgn. To capture additional information on organizations.

    As a work-around, we plan to capture additional information by adding the NEW type of rating information 'HR'.

    Appreciate if one can provide some advice on that.

    Thank you

    Rambeau

    1. define the EIT in Org Developer DF

    2. run this registry information Types (EITs) program

    Thank you

  • How to add additional information to the files of the House

    Is it possible to add additional information to home video and TV shows/movies that I imported my self not that store from iTunes.

    I did some research and it seems that you can use a third-party software to do.

  • [ADF, JDev12.1.3] That is the approach recommended to store the information of the logged-on user?

    Hallo,

    I would like to know which are:

    • approaches possible and advised to store the main information (which will be used throughout the application) of the user that is logged;
    • for each of the approaches that are the main advantages and disadvantages.

    For example

    I have my doubts if store info in variables private module request or if I'd better use the HttpSession.

    The use of HttpsSession back to store the information in a range session bean?

    A scope session bean should be used only to store information?

    Sorry if these question may be stupid but I'm starting to take care of the security of my application and I am a bit confused about the available possibilities.

    I use ADF Essentials, so I can't use ADFSecurity.

    Thank you

    Federico

    I have my doubts if store info in variables private module request or if I'd better use the HttpSession.

    Never use app module variables to store data. If you need to store data in the model project, you can use the UserData card, but you must implement the serialization/deserialization.

    Read this blog post for more information: http://andrejusb.blogspot.com/2012/05/solution-for-sharing-global-user-data.html

    The use of HttpsSession back to store the information in a range session bean?

    They are similar.

    Difference is that you can put data directly to the session http (as an attribute) and if you use managed bean then keep you data in the attributes of bean and framework will put bean in scope of the session.

    A scope session bean should be used only to store information?

    Well, do not store the amount of data in session bean because it will influence the performance of the server (if the number of users increases you need more RAM, if you assign more RAM to the server it will be time for garbage collection, will also increase if you have clustering then great session bean (s) will increase the time of synchronization of the session) ", etc...)

    Dario

  • Problem with the safety of the ADF - anonymous user

    Hi all

    The scenario is as follows:

    I have a Web application that consists of an unlimited taskflow and a page of home.jspx (more login and error pages).

    I activated the ADF (form based login, no automatic grant) security.

    I assigned the application role 'authenticated-role' on the home.jspx page, courtesy of "view". The file "Data.xml"-Jazn is apparently correct.

    I have deployed on the server without any problem, but when you access the application it does not prompt the user/pass, it shows me the page home.jspx directly, and if I want to get the name of the user, it returns me anonymous.

    If I restart the server, when I access the jspx, then it asks me for the user/pass.

    According to the Oracle documentation, policies created in the jazn-"Data.xml" file are copied during deployment in the folder system-jazn - data .xml

    My question is if the server only reads the file system-jazn-"Data.xml" during startup or periodically.

    What could be missing in the configuration?

    Any ideas?

    Thanks in advance

    JDev Version: 11.1.1.7.0

    WebLogic version: 10.3.6

    I think u missing to search for basic login form to generate the html default login and error pages.

    try to remove the security and reimplement things to deploy things in the server.

  • Windows Mail responses contain unwanted additional information at the top but regularly sends don't - want to elimate answers

    I have vista home premium 32 bit on my laptop and I use Windows Mail and I'm having a problem. If a person of my company sends me it comes in fine. When I answer, however, they receive a mess of data at the top of the answer of the message that seems to give them all sorts of information on my laptop and computer-info. If I generate a new email to anyone in my company, they receive those fine. THUS, it seems that you answer is the question.

    Any help out there?  How can I remove these unwanted responses data (and transfers as well by the way)?

    Thank you in advance for your help!

    The problem has been resolved by validating my account in Windows Mail.  I have no idea why it was right and necessary, as I had used it for 2 years, it started to arrive there shortly, but since there were no problems reported so that seems to have solved the problem.  I'm sorry that I can not credit anyone with the answer because no one has suggested this solution and I found on yahoo and tried and it seems to have done the trick.

    Thanks for trying to help.  Still, I'll post here if I have any other questions or problems.

  • Information of the logged-on user does not appear after the user updates their information

    I created 2 pages. Page 1 has a recordset that only displays the users username and password, I made a filter on the recordset as username = var = MM_Username session. When he clicks on update, which is just a link to page 2, they go to page 2 which has a Recordset which filters their modules in the same way and allows them to update their username and password. I used a behavior to update this page as well. Thus, when the user updates their information it modifies the database information and works very well.

    The problem: when the user returns to the page 1 to see their update of username and the password that they have just updated, it is EMPTY. No info displays on the screen, even when I refresh the page. There if MM_Username var isn't refreshing while connected. Because when the user disconnects and connects, it displays new user name and password on page 1.

    It DOES not work when I take the filter out of the 1 Recordset page, but that doesn't make me all good b/c the user must of course only to see their information.

    I'm under DW CS3, php and mysql.

    Help, please! Thank you.

    I know a little php and takes care of everything.

    Great, because this will save my gibberish long habit ;-)

    I m attaching a screenshot of the login page updated the PHP code, which has only three new lines to take custody of.

    Line 1: Add the primary key to the 'users' table to the query

    Line 2: Add function mysql_fetch_row whose resource is the existing variable in $LoginRS

    Line 3: Add the Session Variable MM_user_id and assign the $row variable [0] (see line 2).

    Well, that s, and on other pages, you can define a query such as...

    "SELECT username, password FROM users WHERE id" is equal to the Session Variable MM_user_id

  • How to view the "timer" current user time

    Hello

    How to display the "timer" right now?

    Currently I have in my program using timer, how to display the current time left on the timer to warn the user the time left on the timer?

    The number of timer upward or the countdown?

    using TimerCB

    a Council does

    Thank you

    Ben

    I'm not aware of the possibility of obtaining the hour up to what a timer callback will be called, then I would say a different approach:

    If, say, you want some action to happen every 10 minutes, but I would like to update the user interface of every second indicating the remaining time I would set the timer to 1 s interval. In the reminder of the timer, I would use a setting that is incremented each time the callback is called; If this value reaches 60 x 10 I reset the parameter and call the function to get the job done. In all other cases, you can simply view 600 - setting (in seconds) than the rest of the time.

    An alternative may be to use two counters, one for the action, called every 10 minutes, and one for the update of the UI, called say every second...

  • Non-compliant WMI when retrieving information about the same exact machine

    For some time, WMI has reported the following information some machine:
    Win32_ComputerSystem\Model = "HP EliteBook 8560p.
    Win32_ComputerSystem\Manufacturer = "Hewlett-Packard".

    One day, WMI has reported the following:
    Win32_ComputerSystem\Model = "161A___".
    Win32_ComputerSystem\Manufacturer = "HPQOEM".

    A few days later, WMI is returned for having reported the usual:
    Win32_ComputerSystem\Model = "HP EliteBook 8560p.
    Win32_ComputerSystem\Manufacturer = "Hewlett-Packard".

    I don't have the machine and the user can not explain what might cause WMI retrieve various information.

    How to get Windows in a State where it is retrieved different information about the same PC?
    Is there a way to 'reset' WMI so it retrieves information constantly?

    What similar (and different) for prior experience (different machines).

    The usual case is:
    Win32_ComputerSystem\UserName = DOM-user
    where:
    DOM is the domain of the user (in uppercase)
    the user is the user name (all lowercase)

    But sometimes WMI recovered:
    Win32_ComputerSystem\UserName = DOM- USER
    where:
    the username was all uppercase.   Apparently caused when the machine into hibernation

    or

    Win32_ComputerSystem\UserName = DOM- dom -user
    where:
    the field of user uppercase followed by domain user in all lowercase letters.  Never explained.

    I use WMI to develop an ID for purposes of the license, so it is extremely important that WMi systematically extract information.

    The problem with username is solvable.

    However, the model with randomness and Manfacturer seem more problematic.

    Thank you!!!

    Hello

    The Microsoft Answers community focuses on the context of use. Please reach out to the business community of COMPUTING in the TechNet forum below:

    http://social.technet.Microsoft.com/forums/en/category/w7itpro/

  • Adding an additional text on the toggle box

    I got a request to add text boxes to a framework for action. I showed them the two custom text in the action area and part of the explanation, but power really want a free text on the toggle box. I can't find any way to do it. Also, I do not think it is recommended for a training module, but alas, that is not serious. If there is a way to do it, let me know.

    Here are a few ideas:

    1. attach a web page to the bubble (like a picture link or hyperlink) that provides additional information.
    2. Insert a frame of explanation before the rocker with the additional information. The bubble can be moved freely by the author.
    3. edit the screenshot in MSPaint to include additional information.

    I highly recommend #1 or #2, which are much easier to maintain.

    Best regards
    Marc

  • information on the environment

    Basically, it is the question that I have:

    What is the best way to transmit information on the e-business users end now (11i and 12.1)?

    I mean, they must pass the General login at one point page, what are the options to display personalized information. Any option which involves bouncing the application itself to have reached, is not what I'm looking for.

    In general, the type of information would be interruptions in service to come, or changes recently. Possibly in different languages (sense: several lines of text).

    Thank you

    If you want to customize the login page, please see (tips to customize the E-Business Suite R12 Login Page (MainLoginPG) (Doc ID 741459.1)).

    Thank you

    Hussein

Maybe you are looking for