User Factory Cache - Disable

Hi,
I would like to disable the User Factory Cache as this is causing problems where users attributes are cached and these parameters need to be dynamic as these can change from minute to minute.
If anyone can point to me the location where this setting can be found.  I am aware this is going to cause a protential performance issue.
Any useful answers will be rewarded with points.

Hi,
you can configure the UME Cache using the Config Tool and there in Global Service Configuration ->com.sap.security.core.ume.service.
In the properties list you will find the property:
   ume.cache.user_account.default_caching_time
with the value:
   3600
According to the documentation the value should be seconds. As it says that the user account information will be refreshed every hour by default.
I guess when you change the value to a value suitable for you and restart the cluster you can achieve your requirement.
You will find also some other properties here which can be used to adjust the other factories and values of the cache. These are more or less self explanatory.
However, I have not tested this yet. I only found these parameters lately because of an other issue with the UME cache.
Hope it helps and best regards,
Stefan Brauneis

Similar Messages

  • Disable Account Factory Cache

    Hi everybody,
    I'm facing with a comic situation because I can't disable the Account Factory Cache.
    I've configurated the ume.ldap.negative_user_filter to filter all disabled users with a specific attribute and prohibit the logon. It works fine, but when I change this user's attribute on the LDAP server its doesn't reflect immediately on the Portal because the user is in cache.
    When I go in the system administration > support > ume > statistics and clear the Account Factory Cache the attribute reflect on the logon process.
    How can I disable the Account Factory Cache?
    I've tried change all properties about cache on the ConfigTool.
    Kind Regards,
    Luciano

    Hello Luciano,
    I think you have to modify XML files in the server, root folder.
    You have to set  it to false.
    <init-param>
         <param-name>cacheTags</param-name>
         <param-value>false</param-value>
    </init-param>
    This is not suggested, but just a try.
    Thanks
    Pradeep

  • How can I find out WHY a user keeps becoming disabled in WGM?

    I know users are disabled after a certain number of incorrect login attempts, in my case it is se to 7.
    But one user keeps becoming disabled for no obvious reason. The user in question just logs into FTP.
    Once it has been disabled, I try re-enabling it but if I quit WGM and re-open they will be disabled again straight away. I have to delete the user and re-create them with the same UID for it to stay active.
    Its highly unlikely that the user is entering the password incorrectly this many times!

    It can maybe be an old alias or something like shared fonts from a server share trying to login.
    Maybe not even on the same machine.
    Check logs.

  • Need to avoid exception w.r.t database when caching disabled, skip database

    I have a situation here.
    Want to bypass database connection if caching disabled. If caching found enable, only then try to establish a database connection.
    One part of application should work when database is down as it doesn't require connection to database at all.
    While other parts should throw exception when database connection not available.
    the piece of code looks like this:
    public byte[] getStagedSchedule(long begin, int channelID, String stage, String username, String password, Number releaseID, Number planningTypeId ) throws SchedExExportException, SecurityServiceException
    byte[] ret = null;
    try
    Date myDate = new Date(begin);
    this.stageConfig = new StageConfig(stage, new Integer(channelID), myDate);
    if(!this.stageConfig.isCached())
    IService service = null; //database connection not required here (can handle that part)
    StageAccessService myStage = new StageAccessService(service, myDate, new Integer(channelID), stage,username, releaseID, planningTypeId);
    try{
    ret = myStage.getXML();
    catch(SchedExExportException e){
    LogUtils.getExtLogger().error("PSIStopProcessException: " + e.getMessage(), null, null, e);
    throw new SchedExExportException(e);
    else{
    IService service = ServiceFactory.getInstance("TxSchedEx"); //database connection string
    StageAccessService myStage = new StageAccessService(service, myDate, new Integer(channelID), stage,username, releaseID, planningTypeId);
    ret = myStage.getXML();
    if(service != null)
    service.release();
    catch (ServiceException e)
    LogUtils.getExtLogger().error("ServiceException: " + e.getMessage(), null, null, e);
    throw new SchedExExportException(e);
    return ret;
    Now this code is working as per my requirement. for the time being.
    But have two major problems to be solved here.
    1) this piece of code :
    this.stageConfig = new StageConfig(stage, new Integer(channelID), myDate);
    is getting called in other class as well. i.e. inside this:
    StageAccessService myStage = new StageAccessService(service, myDate, new Integer(channelID), stage,username, releaseID, planningTypeId);
    have initialise method. which internally calls this method:
    private boolean initialize(IService service, Date date, Number channel, String stage, Number releaseId, Number planningTypeId) throws PSIStopProcessException
    boolean ret = false;
    if ( ( null != service ) && ( null != date ) && ( null != channel)&& ( null != stage))
    this.service = service;
    this.scheduleDate = date;
    this.scheduleChannel = channel;
    this.stageConfig = new StageConfig(stage, channel, date);
    this.planningTypeId = planningTypeId;
    this.givenReleaseId = releaseId;
    ret = true;
    initRelease(releaseId);
    else if ( ( null == service ) && ( null != date ) && ( null != channel)&& ( null != stage)) // just to handle if database connection not available.
    this.scheduleDate = date;
    this.scheduleChannel = channel;
    this.stageConfig = new StageConfig(stage, channel, date);
    this.planningTypeId = planningTypeId;
    this.givenReleaseId = releaseId;
    ret = true;
    return ret;
    Because StageAccessService is the real entry point for all other classes to access information about stage (staging). (So making StageConfig singleton, won't help me)
    Now is there any way i can avoid :
    this.stageConfig = new StageConfig(stage, channel, date);
    getting called twice in my code.
    why this is required is this method checks for caching real values.
    public byte[] getXML() throws SchedExExportException
    byte[] ret = null;
    if ( !this.stageConfig.isCached() )
    ret = dynamicLoadXML();
    else
    ret = loadReleaseFromStage();
    if (ret == null && this.stageConfig.isLazyLoading())
    ret = dynamicLoadXML();
    saveScheduleInStage(ret);
    and so on.............
    try{
    if (this.stageConfig.isTransformSchedules() && ret != null)
    etc
    2) Other workaround can be like: check if database connection is there or not. log the exception in catch block. but don't throw back.
    So that the part which doesn't require database connection can work. But if request is not calling that part, then better throw exception also.
    I don't know whihc approcah is good in this case.
    Can anyone suggest anything better then this.
    thanks.

    I'm afraid that you need to provide further info about your two databases like versions, whether they have the replication option installed etc.
    Generally speaking you have two methods available:
    1. Use the replication options (needs setup like repadmins, master sites, snapshots etc)
    2. Script it yourself (ie rewrite the replicator :-) trough DBlinks, stored procedures etc.
    I would reccommend option 1 since you do not need to re-invent the wheel.
    null

  • Photoshop CS6 files saved to User/Library/Caches/Temporary Items

    Many of the users on my school network cannot save their Photoshop files to a specified folder. Instead the files are automatically saved to User/Library/Caches/Temporary Items folder.
    I've changed the File Handling Preferences with no results in changing this issue. Since a couple users did not experience this problem, I'm wondering if it might be a permissions problem.

    With the new versions, you have to be more precise with Folder redirection :
    com.apple.MCXRedirector
    [dict] Always
    [array] LoginRedirection
    [dict] 0
    [string] action deleteAndCreateSymLink
    [string] destPath /tmp/%@/Library/Caches/Adobe
    [string] path ~/Library/Caches/Adbobe
    [dict] 1
    [string] action deleteAndCreateSymLink
    [string] destPath /tmp/%@/Library/Caches/Adobe Camera Raw
    [string] path ~/Library/Caches/Adbobe Camera Raw
    [dict] 2
    [string] action deleteAndCreateSymLink
    [string] destPath /tmp/%@/Library/Application Support/Adobe
    [string] path ~/Library/Application Support/Adobe
    [dict] 3
    [string] action deleteAndCreateSymLink
    [string] destPath /tmp/%@/Library/Caches/Meta
    [string] path ~/Library/Caches/Meta
    [dict] 4
    [string] action deleteAndCreateSymLink
    [string] destPath /tmp/%@/Documents/Données utilisateurs Microsoft/Office 2011 AutoRecovery
    [string] path ~/Documents/Données utilisateurs Microsoft/Office 2011 AutoRecovery

  • User Library "Caches" missing/invisible?

    This is a problem that seems to have happened since I installed SL.
    I am scanning my CD booklets into my Macbook Pro, basically so I can read them more easily using the zoom facility. Using an app called CdPedia, they were stored as follows:
    file:///Users/meng/Library/Caches/Metadata/CDpedia/eli-b-f.jpg
    However, the Caches folder containing all my jpg's has vanished (although the Main Library Caches folder is still there). No problem, I thought, I'll just restore from Time Capsule.
    But no - I go into TC (backups back to March 2009) and there's no User Caches in there either, no matter which backup I look at. (As a separate issue, spotlight doesn't seem to work in TC either so I am unable to search for any jpg's.)
    So can anyone speculate as to whether I've lost all my pics, or are they still there somewhere but hidden from me? And why doesn't Spotlight work in TC?
    I'd appreciate any thoughts or speculation. Thanks.

    Peter Wilson1 wrote:
    This is a problem that seems to have happened since I installed SL.
    I am scanning my CD booklets into my Macbook Pro, basically so I can read them more easily using the zoom facility. Using an app called CdPedia, they were stored as follows:
    file:///Users/meng/Library/Caches/Metadata/CDpedia/eli-b-f.jpg
    However, the Caches folder containing all my jpg's has vanished (although the Main Library Caches folder is still there). No problem, I thought, I'll just restore from Time Capsule.
    But no - I go into TC (backups back to March 2009) and there's no User Caches in there either, no matter which backup I look at. (As a separate issue, spotlight doesn't seem to work in TC either so I am unable to search for any jpg's.)
    So can anyone speculate as to whether I've lost all my pics, or are they still there somewhere but hidden from me? And why doesn't Spotlight work in TC?
    I'd appreciate any thoughts or speculation. Thanks.
    Time Machine excludes most caches. It backs-up the <user>/Library/Caches folder to preserve the structure, but excludes the contents.

  • In Listcube tcode User specific Option disable for Save as Layout

    In Listcube tcode User specific Option disable for Save as Layout

    Yes...
    We want to disable global setting option...
    So we remove the s_alv_layo AUTHORIZATION OBJECT. It removes saving layout option from Listcube
    Do you know how we can disable Default setting option and enable user specific option?

  • Drive Cache Disabled on recently replaced RAID drive

    Hello. We recently had a 250GB drive go down in the Xserve RAID at my work. Unable to get a replacement, we put a 500GB drive in. We realize that we will only get 250GB capacity out of the drive. Everything seems to be working fine, but in the RAID admin utility, the newly replaced drive has "drive cache disabled" showing, as well as "powered on hours: unknown"
    My questions are: What are the consequences of this? Is this something a firmware update would fix? Any other concerns?
    Thanks

    The Apple Drive Modules use an Apple specified firmware from the manufacturer. The RAID chassis itself relies on this. So when you replace it with off-the-shelf drives you may not get all the functionality and control, as you're seeing.
    No way to fix this other than getting a drive from Apple, or in getting one with the same firmware (maybe same exact model #) that Apple uses on the 500 GB drives.

  • Cant open pages that need log in info. I've cleared cache, disabled extensions and deleted all cookies to no avail....help!!!

    Any page that requires a username and password will not open, this started last Thursday and at that time I was able to reinstate by clearing cache, disabling extension and deleting cookies. Subsequently that fix failed and now doing all those things has no effect.

    I found the answer: http://forums.adobe.com/thread/1018071?tstart=0 It was a conflict with RealPlayer. Incidentally, in order to find this thread again, I had to use a google search. Is there really no way to find a person's own questions via our own profile???

  • Create users under Administration Server Create user and Refresh users options are disabled

    We have installed and configured 11.1.2.2 successfully, Essbase in standalone mode.
    When we try to create users under Administration Server Create user and Refresh users options are disabled. Please let me know how to create EAS users?
    Thanks,
    Satheesh.

    Please find below response.
    1.You can create users from EAS console using maxl, if you have not externalized the users .
    When we create using Maxl it will create for 'ESSBASE Servers' users but we want to create additional administrator users under 'Administrator Services' --> 'Users'. At the moment default 'Admin' users is created under 'Administrator Services' --> 'Users'.
    2.  you have installed your essbase in a stand -alone mode  , then the option of creating users will be enabled and you can give appropriate provision to applications.
    Yes. But the create users is disable for Admin.
    3. Through which url are you accessing EAS console is it http://Servername:19000/workspace/index.jsp ?
    http://prod-server:10080/easconsole/console.html
    Please suggest.

  • Log on a different user" it is disabled

    How do i enable " from file -- Log on a different user" it is disabled
    Regards
    sudharshan

    This is an expected behaviour.
    Note: 130075.1 - Log on as a Different User Menu Option is Greyed Out in 11.5
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=130075.1

  • How do I prevent users from caching their sign in credentials on OWA page

    I am using Forms based authentication and want to prevent users from caching their credentials on the OWA page.
    Is there an easy way?

    Hi,
    Forms-based authentication enables a sign-in page for Outlook Web App that uses a cookie to store a user's encrypted sign-in credentials in the Internet browser. So this authentication method will force to cache their credentials in the Internet
    browser for some time. The workaround is what Willard Martin suggested.
    Refer from
    http://technet.microsoft.com/en-us/library/bb430796(v=exchg.141).aspx
    Best Regards.

  • My remote Desktop Users service is disabled

    Dear all,
    i need your help i have a windows server 2008 and when i restart i get my "allow users remote desktop" disabled and when i change it and then restart i get it disabled again i suspected there is a GPO that is doing that but when i run the gpresult i did
    not get any GPO changing the local group policy then i suspected that there is a start up script that is doing changes to the registry but still not
    i really what to know whats making this policy disabled
    thank you  

    Hi,
    Please try to use rsop.msc to see the following policy setting configured correctly:
    For details:
    Allow users to connect remotely using remote desktop Services
    ===========================================
    1.  Computer Configuration ->Policies ->Administrative Templates ->Windows Components ->remote desktop Services ->remote desktop Session Host ->Connections ->Allow users to connect remotely using Remote Desktop Services
    Restrict Group
    ==========
    1. Computer Configuration -> Policies -> Windows Settings -> Security Settings
    2. Right-click Restricted Groups, and then click Add Group.
    3. Click Browse, add Remote Desktop Users, click Ok.
    4. Add the members  what you want.
    Allow log on through Terminal Services(RDS on DC)
    ==========================
    Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment -> Allow log on through Terminal Services
    Hope this helps!
    Best Regards
    Elytis Cheng
    Please remember to click “Mark as Answer” on the post that
    Elytis Cheng
    TechNet Community Support

  • (sqr 2515) input required user interaction but user interaction was disabled by the -XI command line

    hi ,
    i'm getting below while running sqr in 3-tier mode using process scheduler.
    (sqr 2515) input required user interaction but user interaction was disabled by the -XI command line
    can any one suggest me to resolve this problem

    You should be able to get some more precise information from your Xorg logs, but I would bet it is related to the evdev driver. Some of the options in your xorg.conf no longer work with the latest version. For now you should be able to either map your mouse directly to the appropriate /dev/event* entry or change to the standard mouse driver, both of those methods should be in the wiki.
    You are supposed to be able to use the evdev driver without the input section of your xorg.conf by using dbus/hal autodetection, but AFAIK at the moment the xorg-server package still isn't compiled with hal support, so you would have to patch and rebuild the package.

  • Windows 7, removed Administrator rights from my user with Administrator disabled..

    Windows 7, removed Administrator rights from my user with Administrator disabled..how solve without restore everything please??
    Cause drag&drop was disabling each time there was an high privilege process, I tough to fix this annoying trouble removing my user from Administrator group..in fact I fixed that situation.
    But NOW I have another serious problem: my user is not able to do nothing, and my administrator user was disabled and as only belonging to homeuser group I cannot enable it!!! In this moment I am crying because I have fear I will need to restore everything, please do you know a way to enable the administrator user again even if without admin privilege?? Do you know a software that fix it or an also not clean way to avoid a complete restore??
    Thanks in advance and ciaoo
    Fabio

    in control panel > user accounts > change account type select admin.
    Thinkpad R61 7733-1GU
    Thinkpad X61T 7762-54U
    Thinkpad X60T 6363-4GU
    Did a member help you today? Thank them with a Kudo!
    If a post answers your question, please mark it as an "Accepted Solution"!
    Regards,
    GMAC

Maybe you are looking for

  • Not enough values for FORALL

    Hi, I have written this procedure and I am getting LINE/COL ERROR 69/5 PL/SQL: SQL Statement ignored 83/11 PL/SQL: ORA-00947: not enough values CREATE OR REPLACE PROCEDURE f_t_s (P_F IN VARCHAR2) IS TYPE quote_cols_rt IS RECORD twitter_gid twitter.tw

  • Why is the api so ugly?

    The api now for Java 5 is really ugly and confusing For instance, public static <T> void sort(List<T> list, Comparator<? super T> c) What does <T> mean, is it also generics?

  • Apple TV 2 to Non-HDMI TV

    Is there any type of conversion method I can use to connect my Apple TV 2 to a Non-HDMI TV. The Apple TV only had the HDMI port and I am looking to connect my non-HDMI tv to Netflix. I bought a VGA to HDMI cable on ebay, but it doesnt seem to be work

  • J2SE 5.0 Support

    Does anybody has information when we can expect JDeveloper to support new J2SE 5.0 APIs

  • Error in posting Depriciation for current month

    Hi, The users did not run the depreciation for period 08 about 3.000 euros total. Now  the system does not allowed them to post September depreciation because  August is still pending to be done . Can anyone please guide us to resolve the problem? Qu