Customization of the user do not get persisted through session

Hi all
The connection of secrurity set ADF application has implemented. I need to create a customization when running user persisted in the MDS repository in user sessions.

So far I have made the following
(1) click on the ViewController project properties and set 'Enable user customization' and choose 'through Sessions use doctors ".
(2) I have observed changes in the web.xml file
(3) prior to the deployment of applications, create a repository of adf using the EM.


BEGIN test, it seems that the customization of the user are visible only for a particular session, and not when the user disconnects and the connections again.


I followed the Oracle documentation for the MDS configuration and the configuration of the application of personalization of the user.

Please suggest, what don't get me. I use JDeveloper 11.1.1.4

Thank you

I wrote a few articles on this topic on otn. Google for "essential development adf" to find them. It seems that if you have got everything but the items can help you find if you missed a step somewhere.

John

Tags: Java

Similar Questions

  • Customization of the user does not not as expected

    JDeveloper version - 11.1.1.7.0


    My requirement is when a user customizes a page and re - called leave the same browser or browser; the custom page must be provided to them. Also when the URL is called from a different machine, design time page should appear (not the one to measure) and a separate customization should be allowed on this machine. that is, each machine to their respective customization.


    I created an application that has the class UserCC customization in MDS. I run my application of Jdev and customize it. Then when I call the URL from another browser, it shows the page design time and not the custom. If I invoke it on a different machine , it displays the page of time to design as expected.


    I've tried including the customization of SiteCC class in MDS as well as the UserCC. This time on the execution of the page, it displays the previously custom page by default and no time to design page. It also shows the custom page on the appeal of an another machine or other browser URL.


    Steps to create the application-

    1. MDS allowing between sessions

    2 configured adf - config.xml

    ADF - open config.xml -> Configuration MDS -> added UserCC & SiteCC.

    3 defined the elements and attributes that are get persistent store of MDS.

    I'll go with you step by step (it's what I've done in a ADF applications I have):

    1 - my ADF Application use custom security (not use the ADF security). After the user successfully connecting I will store user id in the variable in the scope of session (the name of the variable is "userId").

    2. to activate SDM, you must configure 3 things:

    -Database

    -Weblogic Standalone

    -ADF Application

    3. for the database, you must configure the remote on the database and create user db DEV_MDS (refer to Sameh Nassar: MDS apply to Oracle ADF Application)

    4. for stand-alone weblogic, you must open em and configure MDS in the weblogic (refer to Sameh Nassar: MDS apply to Oracle ADF Application)

    5. for the Application-level configuration follow these print screens:

    The ViewController project properties:

    Create a new class MyUserCC extends SiteCC as:

    --> Descriptors application resources--> ADF META_INF--> adf-config. XML

    5. deploy the application. But you have only 2 ways to deploy the application:

    -From direct JDeveloper:

    Create war and ear files

    * Set connection of Server Application for weblogic (main Menu-->--> Application Server Browser view)

    * Menu select application--> deployment--> yourEar file--> deploy to the application server--> select the server

    * MDS window enter any name as the name of the partition (but if you redeploy the application again, you must enter the same partition name that you added the first time to keep the user's changes)

    -Second way you can use to deploy the application comes from em

    * Em open (http://serverIp:7001 / em)

    * Expand Weblogic domain--> right click--> application deployment

    A step is to select the MDS repository and enter the name of the partition

    6-test you request. Sign in with the user "user1" hide certain columns, collapse to any component reducible logout then login again with the id "User1", you should see the Exchange user. Disconnect and connect with the user "user2", you should not see the changes of the id "User1".

  • AP (1140) is configured as a DHCP server, but the user does not get an IP address

    Hello

    I just a PA 1140 as standalone AP for the purpose of the investigation on site wireless AP is not attached to any network equipment.

    I can't get an IP address after I have configured the AP as a DHCP server.

    SW AP version is: c1140-k9w7 - mx.124 - 25d.JA1

    Below the output of the show conf:

    AP #sho conf

    With the help of 1455 on 32768 bytes

    !

    version 12.4

    no service button

    horodateurs service debug datetime msec

    Log service timestamps datetime msec

    no password encryption service

    !

    host ap name

    !

    Pulse 9 logging console

    !

    No aaa new-model

    No dhcp use connected vrf ip

    DHCP excluded-address IP 172.16.1.1

    !

    IP dhcp DHCP pool

    network 172.16.1.0 255.255.255.0

    default router 172.16.1.1

    !

    !

    dot11 syslog

    !

    dot11 ssid BTC WiFi SS Kit

    open authentication

    Comments-mode

    !

    !

    !

    !

    !

    Bridge IRB

    !

    !

    interface Dot11Radio0

    no ip address

    no ip route cache

    !

    SSID WiFi SS Kit BTC

    !

    antenna gain 128

    root of station-role

    Bridge-Group 1

    Bridge-group subscriber-loop-control 1

    Bridge-Group 1 block-unknown-source

    No source of bridge-Group 1-learning

    unicast bridge-Group 1-floods

    Bridge-Group 1 covering-disabled people

    !

    interface Dot11Radio1

    no ip address

    no ip route cache

    Shutdown

    gain of antenna 0

    no block of dfs

    channel SFR

    root of station-role

    Bridge-Group 1

    Bridge-group subscriber-loop-control 1

    Bridge-Group 1 block-unknown-source

    No source of bridge-Group 1-learning

    unicast bridge-Group 1-floods

    Bridge-Group 1 covering-disabled people

    !

    interface GigabitEthernet0

    no ip address

    no ip route cache

    automatic duplex

    automatic speed

    No keepalive

    !

    interface BVI1

    IP 172.16.1.1 255.255.255.0

    no ip route cache

    !

    IP http server

    no ip http secure server

    IP http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag

    !

    !

    !

    Line con 0

    line vty 0 4

    opening of session

    !

    end

    AP #.

    Hello

    are you have shown a complete result of the 'see the conf?

    I don't see a single relevant command which is to enable a BVI to accept and route routable packets received from its corresponding bridge group:

    1 channel ip bridge

    I hope this will solve your problem:

    conf t

    1 channel ip bridge

    output

    WRI

  • E-mail is not get triggered through workflow

    Hi all

    E-mail is not triggered through workflow mailer. We have configured the notification workflow. All 3 components of the Workflow Manager are running

    The problem is with and send us mail using telnet and mail triggered successfully. The same is not get triggered through workflow.

    We did the telnet to the smtp server of the concurrent server.

    Telnet 172.15.7.20 25

    We are able to send mail successfully using [email protected] . We received the letter. I have a screenshot which I can not attached it.

    SMTP server is windows server and is configured for simultaneous server and am able to Telnet to competitor and no application server.

    Here is the configuration made envelope of workflow.

    outgoing e-mail account

    Outgoing Protocol - SMTP server - which I am above for telnet

    the name of the outgoing server - smtp server - which I am above for telnet

    Incoming email account

    Incoming - IMAP protocol

    incoming server name - name of the concurrent server - where I'm able to telnet to the smtp server.

    Sender of the notification is also come without any question though mail is not have triggered.

    Please suggest if I'm missing something or that I have to configure something else.

    Detail ENV-

    Version of DB - 11.2.0.4

    Apps vesrsion - 11.5.10.2

    Both are on linux. SMTP server is a windows server.

    Apps and simultaneous are separate server.

    Thank you

    Hello

    The issue was due to incorrect smtp server. We put simultaneous server node information in the smtp part.

    After the smtp server ip address, mail to fires.

  • I have a HTML5 form that sends a null (%) if the user does not have a choice. It works fine, but I get an error of W3c on the value of '% '. Is there another way to send a NULL value?

    I have an HTML5 form that allows the user to select 1 of 6 provinces of Costa Rica. If they do not select a Province, I use php code to send a NULL value and the other selections research of the form looking for all Provinces. If they choose a province, we are looking for database records that are found in this province.  Currently I use the value = '%' as the selected value if the user does not have a choice. It works and looks in all provinces, but I get an error of W3c checking on the value = '% '. Y at - it another way to send a NULL value. PS: I have the same problem on the following form which allows you to select the Business category. The page is http://www.yellowpagescr.com

    Here is a copy of the code. The RED line works but gets a W3c issue error of the test page. :

    < form = class "navbar-form Center navigation bar" role = "Search" action = "#searchresults" method = "get" name = "selectterms" id = "selectterms" title = "" >

    < select name = "province" autofocus class = 'copyright' title = "Click to select a Province (optional)" >

    < option value = '%' selected = "selected" > all Provinces < / option >

    < option value = "alajuela" > Alajuela < / option >

    < option value = "cartago" > Cartago < / option >

    < option value = "Guanacaste" selected > Guanacaste < / option >

    < option value = "heredia" > Heredia < / option >

    < option value = "Limon" > Limon < / option >

    < option value = "Puntarenas" > Puntarenas < / option >

    < option value = "San Jose" > San Jose < / option >

    < option value = "Other" > other < / option >

    < / select >

    The correct way.

    Nancy O.

  • I get the error message "logon failure: the user has not been granted the type of logon required on this computer." on the workgroup computer.

    Original title: home network problems

    Here's what I have-

    1 PC connected via LAN - named PC - running Windows 7 pro 32 bit

    1 computer connected via WiFi - named TECRA running Windows 7 pro 64-bit

    1 computer connected via WiFi - named TOSH running Windows 7 Starter Edition

    Network LAN named changed to have the same name as the network WiFi (SSID)

    All computers have the same workgroup name

    Initially, I had a home group for them, created by TECRA but trying to solve the problem I deleted it.

    PROBLEM:

    PC and TOSH communicate perfectly both ways

    TOSH and TECRA so

    HOWEVER, the PC can access TECRA via the NETWORK, but sees TECRA PC and can not access

    Error message:

    \\Parents-PC is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if access you permissions. Logon failure: the user does not have the type of logon required on this computer.

    Attached the screenshot:

    Please Please HELP...

    Thank you

    Hello

    I suggest you to run the next fixit mentioned in the following link and check:

    How can I reset the default Hosts file?

    http://support.Microsoft.com/kb/972034/en-us

    Please answer us on the State of the question to help you further.

  • Customization of the user for users of the data base and without security ADF

    JDeveloper version - 11.1.1.7.0

    I want to implement personalization by the user on the database of users and without ADF security. I followed the link in storing the repository in a file system but its same showing below the user interface for all users.

    http://Sameh-Nassar.blogspot.IE/2012/03/apply-MDS-to-Oracle-ADF-application.html

    Please guide me on how to do this for users of the database. Please share any other useful links, as appropriate.

    Customization of the user (SDM) does not care the security of applications. You can also apply to the MDS in your ADF application if you use the ADF security or custom security. The main idea is the class of customization (like MyUserCC) has the method call getValue this method should return the user name. When the user login stores the user id in the session and the method getValue returns the user session ID as:

      public String[] getValue(RestrictedSession restrictedSession, MetadataObject metadataObject)
      {
        try
        {
          String user = (String)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("userId"); // userId is the session variable that store the login user id
          if(user == null)
          {
            return new String[]{""};
          }
    
          return new String[]{user};
        }
        catch (Exception e)
        {
          e.printStackTrace();
        }
        return new String[]{""};
      }
    
  • jdev11 selection tab and allow the customization of the user on the bug of the Session.

    If you enabled customization by the user for the duration of the session, then what ever user edits a page remains the same through the session.
    That is to say. Boxes of Panel, advanced the query criteria, the visible columns in tables in the collections Panel etc. revealed.

    The problem is that you can't customize the properties to be kept or not:
    ++ Developer fusion for Oracle ADF & 34.3 user customizations Configuration guide: ++
    ++ Note +: If you have activated just the session persistence, then all attributes of the values given in table 34-1 will be persisted in the session. +
    It there is no way to substitute it either globally, or on an instance.
    The biggest problem is that if you have a business logic on these components appearance or behavior you cannot override user settings.

    Is this a bug?
    Shouldn't logical business methods replace the user personalization settings?

    Customization of the user for the duration of the session will be configurable?

    Details: [http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html]

    Hello

    Is this a bug?

    Don't think. I guess your business logic depends on the disclosure statement, which is usually reset after each navigation works to a page. Using persistence of change you explicitly allow the user to keep the changes. If your business logic cannot rely on a State has changed.

    The enhancement request proposed to prevent changes of the perisisting its just components. I'll drop a.

    But it is not that you cannot override the persistent information for a component. You can use the ChangeManager API that is exposed on the ADFFacesContext to substitute information persistence

    http://download.Oracle.com/docs/CD/E15051_01/apirefs.1111/e10684/Oracle/ADF/view/rich/change/changemanager.html

    For example, with a change of disclosure event:

      boolean isDisclosed = < whatever you like to set >;
      //Record a Change for 'disclosed' attribute
      AttributeComponentChange aa =
      new AttributeComponentChange('disclosed', isDisclosed ? Boolean.TRUE : Boolean.FALSE);
      AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
      //set disclosed state to component. Here you override the user choice
      adfContext.getChangeManager().addComponentChange(getFacesContext(), event.getSource(), aa);
    

    Frank

    Published by: Frank Nimphius, on September 30, 2009 15:20

  • How do to set the policy, the user should not change/reset password twice within 24 hours

    Hello

    I have a requirement in which, the user should not change/reset password twice within 24 hours. Is there a way to achieve the IOM.

    Is there a property in IOM whereby we can set this property?

    I checked the password and all the properties of the system strategy, but he could find a?

    Could you please suggest, how to get there. all references are greatly appreciated.

    Thanks in advance

    If you set password history on don't allow orevious you can reference the table pwh.

    You can also create a UDF who inquire about the handler reset passwoed and check against it. IOM has many points of validation of your code to.

    -Kevin

  • First time user does not get created in ODSEE while commissioning, OIM11gr2

    Hi Experts,

    I use OIM 11 g 2 and available to the user in ODSEE. Even if the values are getting updated in the form of process (ContainerDN is also correct) the user is not created themselves in ODSEE. What may be the error. I followed following steps:

    Update map Factory(Compiled the code that is creating baseDN)

    Update the form of courses (added UDF, set the properties for the UDF, pre fill)

    Definition of process of update (update UDF_Name)

    Update lookup (Lookup.LDAP.UM.ProvAttrMap) with the UDF.

    Did I miss something?

    Help, please.

    Thank you.

    Yes your create user task is rejected. check again the mappings of attributes and configurations. like you said control of violation earlier object class configuration research.

  • Customization of the user interface in 11 GR 2

    Hello Experts,

    I need help in the customization of the user interface of the IOM.

    I need to change the

    Logo

    Text

    IOM background colors

    I'm following the document customization of the Interface - 11 g Release 2 (11.1.2) but it is not clear. Can someone provide me with materials or measures for the customization of the user interface?

    Concerning

    A presilia

    Hi Pascal,.

    Follow the following URL which can help you to complete the customization of the user interface of the IOM

    http://docs.Oracle.com/CD/E27559_01/dev.1112/e27150/uicust.htm

    http://docs.Oracle.com/CD/E27559_01/dev.1112/e27150/uicust.htm#BABJIJIA

    Thank you

  • AMT-01190: the user is not authorized to perform the requested listener com

    Hi all
    I just reinstalled forms10g oracle and oracle 10 g rel 2 on windows vista. The first time I installed both software, I swithched d pc switched off without turning off the earpiece on my laptop. When I rebooted, I found that I could not start the two forms 10 g and oracle 10g database, not to mention loggin. I have therefore re-installed two prodcts. Whenever I try to turn off the listener I get error TNS-01190: the user is not authorized to perform the requested listener com. I tried several ways to turn this off, but every effort has failed. After reading several books on this subject, I learned that if you change the password for any user who knows the password should be able to turn off the listener. But I still get the same error when trying to add a password. Please can someone help me by telling me how I can deduct the oracle user who has administrative rights to perform this task.
    Pls forgive me for the long text. Thanks again. PLS, note I'm not an expert so pls be explicit in your explanations.

    see you soon
    AJ

    You are welcome.

    Another method could be this:
    -try to identify the Oracle home for the listener. This should be the same house where the DB.
    -Open a prompt on your vista, the ORACLE_HOME value this folder location, and then cd to this location of ORACLE_HOME.
    Now, enter the following text:
    lsnrctl start

    You should do as a user with administrator privileges.

    AMN

  • Bug report: application process runs even if the user is not authenticated.

    Hi all

    I just stumbled on something that looks like a bug or a security problem for me:
    When you have an application at a point 'Load - before the header (header of page template)' this process is executed no matter if a user is logged on or past validates a session ID in the URL.


    Example:
    In my Application, I have an application process to download a file when a certain application is defined. I chose the application process to hide the url/location of the user files and make sure that this file can only be downloaded in an application context (thank you Dene for inspiration: [http://apex.oracle.com/pls/otn/f?p=31517:15]). This works really well and did all the things I want to do.
    But then I tried to call my download URL (for example http://myhost:myport / mytest/pls/f? p = 1234:0:123123123123:DOWNLOAD_FILE:NO ::) from another computer without logging in.) I expected to get the login screen of my application and all my pages require authentication, but I got the file.

    To work around this problem, I put in condition of the pl/sql process ": APP_USER IS NOT NULL AND: ASK 'DOWNLOAD_FILE' = ', now it works as expected and shows the login page if the user is not authenticated or given to the session id is null/not valid."


    I am mistaken and that the process should not run? I put same authorization "must not be public user" who has been ignored as well.

    Peter

    Peter and Dene,

    Thank you for this comment. I agree that this is a bug and we'll fix it. A solution you can set the attribute Public user of your application to PUBLIC_USER. As long as your FATHER connects as apex_public_user it shouldn't break anything.

    Scott

  • Win7 with FF 31, smart phone 4.2 with FF letest ver. using the same account with 1 email. But the phone is not getting any collar, Bokmr, etc.

    Brother.
    We use win7 with Mozila 31, 4.2 with Mozila Android smart phone latest google app store on 04/10/0214. Using the same account with the same email. But the phone does not get any new information of win7 with Mozila 31. PL z give useful information.

    Hi w3ur_team,
    Thank you for your question. I understand that there are two features that are documented in the sync account. However the Android is not synchronized.

    There are two places we can check:

    1. In the Android settings, under accounts is the Firefox Sync or Firefox Sync (discouraged) joint account?
    2. Credentials work on accounts.firefox.com on the mobile device and are there any error messages in the synchronization of the settings menu > sync?

    See also Firefox Sync troubleshooting and tips for more troubleshooting steps.

  • Satellite Pro M30 - error message: the user is not authorized to update BIOS

    Hello

    I bought a Satellite Pro M30 of second hand. This one has the Bios 1.30... I would like to install the bios v1.70.

    I am running Windows XP Pro SP3 and tried first update in Windows.
    I however got the message "the user is not allowed to update BIOS.

    This message is quite surprising given that I have administrator privileges.

    I read that you can use a floppy disk to update, but I did not...

    So, is it possible to update the Bios with the CD?

    See you soon,.
    R.S.

    Hello

    I checked the page European driver of Toshiba and found the version of BIOS 1.7 WIN in the field of ARCHIVES.

    As you can see, it's a version of BIOS Windows and not a traditional version of the BIOS (trad BIOS can be updated using the diskette).
    This BIOS win can be improved only from a running OS Win.

    In any case, I see that you have installed SP3. It could have a bad influence on the update of the BIOS.
    Then maybe you should try to update the BIOS without SP3 installed?

    Remove SP3, download the good BIOS, unzip correctly and then try to run the BIOS update file.

    _Ps: If you laptop then runs without problem a BIOS update is not necessary! _

    Concerning

Maybe you are looking for

  • Help! MY Y500

    After that I put in my external graphics card GT650, my windows media player shows no more mandarin! Any Chinese word become boxes. Please help me!And is 170 w AC adapter / DC load my battery faster?And how I can't remove my external graphics card, b

  • Adding a 2nd, 3rd etc. to formula entry

    In the examples section, there "Lissajous with VIs.vi Express. in the examples section under / Principles/fundamental graphics and diagrams. I can remove two entries of the formula and add them again, but I can't add a 3rd entry and more 'Trim' and '

  • When DC power is off

    Hello world Check here if Defense Center is turned off, but Managed devices are running then Sensor blocks traffic that is bad? You must also confirm that DC is powered so no event will not be sent to DC right? When DC is in reverse it will get the e

  • is that I can spend 5.1.3 to 5.3.3 XR?

    Hello! is that I can spend 5.1.3 to 5.3.3 XR? I can't find the guide here http://www.Cisco.com/Web/Cisco_IOS_XR_Software/index.html RP/RSP0/0/CPU0xxx: #sh short version03:58:50.624 Thu Feb 18 UTC Software IOS Cisco XR, Version 5.1.3 [Default]Copyrigh

  • BlackBerry Smartphones outlook express email to work

    I can't see the images that come to my blackberry to my express email account of prospects for work, any suggestions?