Prblem with testing container-based security apps with JSC/AppServer 8...

not sure whether this is a JSC or an AppServer issue, correct me if neccessary...
I'm using container based security to dicate logic based upon user names & roles for my test JSC app. The problem is that when I run the app by autodeploying it to my Sun AppServer 8 instance (same machine, WinXP Pro) the security settings eems to be cached. That is, if I change the security roles or permissions in the container by editing the web.xml file the changes aren't reflected in the app upon redeployment. I have to copy it to a new directory and deploy as a new app to see any security change. It seems that the old usernames and roles are cached -even if I manually restart the app server. Is this a JSC or an ApPServer issue? Am I missing something? Is there an easier way for me reset security data when testing an application? Thanx in advance...
-J

while your solution may technically work, it is unusable to me because I can't successfully deploy a war file using JSC after I've manually added container-based descriptors to the web.xml file. In order for me even to be able to deploy the app I need to modify web.xml and sun-web.xml by hand in the build directory

Similar Messages

  • HTML-based AIR app with transparent UI, shadows, etc.?

    I'm debating on whether to use Flex or HTML/Ajax for a widget
    in a project. If I make an HTML-based widget, is it possible to
    have UI tricks like shadows and transparency, basically, NOT being
    confined to a standard OS "box" window? Is this possible?
    Thanks.

    Yes it is possible to do this with an HTML-based AIR app.
    However, since the visual elements will be HTML-elements, not
    display objects, you can't use the Flash APIs for shadows and
    transparency. Also, in a transparent window, SWF and PDF content in
    HTML cannot be displayed.

  • HTML based AIR app with transparent background (PNG)

    Hi guys,
    I have been developing a VERY simple HTML / JavaScript AIR app with Dreamweaver CS3 and Photoshop CS3.
    I have skinned the app with a simple transparent PNG file (Photoshop > Save for Web and Devices). I have set the PNG as the <body> background-image via CSS and the body background-color is undefined. I have also set the app to:
        <systemChrome>none</systemChrome>
        <transparent>true</transparent>
    My problem is that I get a white opaque background showing through behind / around the PNG.
    Q: Is it possible for HTML / JavaScript AIR apps to have transparent backgrounds (I have seen lots of info about how to do this in Flash / Flex but not HTML)?
    Q: What do I need to change or do to make it work?
    Many, many thanks,
    B

    Oops, sorry.
    I was using the BluePrint CSS Framework and it turns out that that was setting a background color.
    Please ignore this thread!

  • My iPhone4 with iOS5 no longer synchronizes apps with iTunes 10.5.0.142

    Hi,
    Yesterday I succesfully updated:
    - my iPhone4 to iOS5.0
    - my iTunes soft to 10.5.0.142 (PC, windows XP)
    I was able to get back all my music, apps, contacts... back to the iPhone after have launched a restore from my iPhone connected to my PC and iTunes.
    At that time I was able to sync the iPhone and my PC.
    But then I updated an app directly on my iPhone (using the App Store app), and from that time I am no longer able to synchronize my apps with iTunes.
    Indeed, each time I launch a full synchronization from iTunes, even if it seems that I am able to synchronize everything else, when iTunes starts to synchronize the apps I get a message saying that the synchronization is not possible because it is not possible to know which apps are installed on the iPhone (the exact message in french is: "iTunes ne peut pas synchroniser d'apps avec l'iPhone ... car il est impossible de determiner les apps installees sur l'iPhone".
    Would someone already faced this issue/have any idea on what the issue is please?
    Thanks,
    Michael.

    Seems to be fixed updating iTunes to the 10.5.1.42 version...

  • Integrating with SAP CRM / SAP ECC apps with SMP 3.0

    Hi All,
    I have some questions for integrating SAP ERP / SAP CRM applications with SMP 3.0, what my questions is
    1) I want integrate SAP ERP / SAP CRM apps with SMP 3.0 from scratch. (which are available in the SAP Portal)
    2) For that what are all the per-requisites, after integration is done if application want required any changes then how to update that app.
    3) Provided SAP ERP / SAP CRM applications are all available executable only, is there any source are available for all theat apps.
    Some of SAP ERP applications SAP ERP Customer Order Entry, SAP ERP Order Status, SAP ERP Quality Issue, SAP Employee Lookup and etc.. and
    Some of SAP CRM applications SAP CRM SALES, SAP CRM SERVICE MANAGER, SAP Customer and Contacts, SAP Customer Briefing, SAP Customer Financial Fact Sheet, SAP Customer Loyalty, SAP Direct Store Delivery and etc...   which are all available in the SAP Portal.
    Please help me on the same.
    Thank & Regards,
    Ranjith Lingala
    +91-9985241328

    Hi All,
    I have some questions for integrating SAP ERP / SAP CRM applications with SMP 3.0, what my questions is
    1) I want integrate SAP ERP / SAP CRM apps with SMP 3.0 from scratch. (which are available in the SAP Portal)
    2) For that what are all the per-requisites, after integration is done if application want required any changes then how to update that app.
    3) Provided SAP ERP / SAP CRM applications are all available executable only, is there any source are available for all theat apps.
    Some of SAP ERP applications SAP ERP Customer Order Entry, SAP ERP Order Status, SAP ERP Quality Issue, SAP Employee Lookup and etc.. and
    Some of SAP CRM applications SAP CRM SALES, SAP CRM SERVICE MANAGER, SAP Customer and Contacts, SAP Customer Briefing, SAP Customer Financial Fact Sheet, SAP Customer Loyalty, SAP Direct Store Delivery and etc...   which are all available in the SAP Portal.
    Please help me on the same.
    Thank & Regards,
    Ranjith Lingala
    +91-9985241328

  • I need help with my event-based cue points with audio

    Im having trouble with my video game project for my action script 3 class at school. Here is what i did, i made a game called Tailgate toss up. I filmed my character and rendered it in Adobe Premiere. I than brought my .mov file into After Effects and I put event-based cue points-
    my first cue point at 0:00:03:13 called "loop"
    my second cue point at 00:00:03:27 called "draw"
    my third cue point at 00:00:05:24 called "bang"
    my fourth cue point at 00:00:13:29 called "dead"
    my fifth cue point at 00:00:14:29 called "You Lose"
    my last cue point at 00:00:19:14 called "End"
    Here is my action script 3 code
    ///first frame:
    start_btn.addEventListener(MouseEvent.CLICK, startGame);
    function startGame(event:MouseEvent){
    gotoAndStop(2);
    SoundMixer.stopAll()
    stop();
    ///second frame:
    stop();
    var loopTime
    var hitHim:Boolean = false;
    var vConnection:NetConnection = new NetConnection();
    vConnection.connect(null);
    var vStream:NetStream = new NetStream(vConnection);
    var client:Object = new Object();
    client.onCuePoint = onCuePoint;
    vStream.client = client;
    var myVideo:Video = new Video(418, 480);
    myVideo.y = 0;  ///this adjusts where the video is, right now it is the size of the canvas which is 418,480
    addChild(myVideo);
    myVideo.attachNetStream(vStream);
    vStream.play("michelle.flv");
    var throw_bottle:Sound
    throw_bottle = new Sound(new URLRequest("audio/throw_bottle.mp3")); //change to button noise, will add sound into ae file
    target_mc.addEventListener(MouseEvent.CLICK, shoot);
    target_mc.buttonMode = true;
    target_mc.visible = false;
    draw_mc.visible = false;
    function onCuePoint(cuePoint:Object):void {
       if(cuePoint.name == "loop"){
    loopTime = cuePoint.time;
        if(cuePoint.name == "draw"){
    var randomLoop:Number = Math.random()*10;
    if(randomLoop > 2){
    vStream.seek(loopTime);
    }else{
    setChildIndex(target_mc, numChildren - 1);  
    setChildIndex(draw_mc, numChildren - 1);    
    target_mc.visible = true;
    draw_mc.visible = true;
    if(cuePoint.time == "5:24"){
    draw_mc.visible = false;
    target_mc.visible = false;
    if(!hitHim){
    vStream.seek(15);    
    if(cuePoint.name == "dead"){
    vStream.close();
    myVideo.clear();
    gotoAndStop(3);
    if(cuePoint.name == "end"){
    gotoAndStop(3);
    function shoot(event:MouseEvent){
    throw_bottle.play();
    hitHim = true;
    ///my third and last frame
    playAgain_btn.addEventListener(MouseEvent.CLICK, playAgain);
    function playAgain(event:MouseEvent){
    gotoAndStop(2);
    SoundMixer.stopAll()
    stop();
    When I have no audio it works perfectly, no problems. When I bring audio in i re-render it as a .mov file and bring it back into After Effects and add the cue points to it. Than i re-render it out again as a flv file. When i bring it into my flash project it will work when the looping variable does just one loop and my target will appear so you can click on it or not. But when the looping variable makes it loop 2 to 10 times it skips over the catching (the part of the clip if you clip the button) and goes directly to the dropping of the can, not giving you the option of clicking the button. So basically it skips the "draw" or second cue point of my game and goes to "You Lose" cue point.
    Any suggestions?

    Hi,
    The latest audio driver for your machine is on the following link.
    http://ftp.hp.com/pub/softpaq/sp59501-60000/sp59649.exe
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Using Mac apps with I pad, Using Mac apps with I pad

    I want to use word and excel on my iPad via Bluetooth from my iMac is this possible?

    You are most welcome

  • TS3274 My headphones don't have any sound when I plug them in with iTunes or any other app with sound. The speakers continue to play. How can I switch over to headphones?

    I can't get my headphones to work.  When I plug them in, the speakers continue to play. 

    There is a mechanical switch that when pressed in switches over to headphone jack.
    It is inside the jack.
    Try pushing the headphones all the way in.

  • Reseeding cache for users with role based security

    I have role based security and trying to set up cache by purging all cache and later seeding cache by query. The query would be different for different users. What is the best way to purge all cache and reseed cache for administrator as well as all users. The EPT would purge cache based on updated tables. But how do I next go about reseeding cache for better performance to all the users. Thanks.

    I have created an ibot with the following:
    General - Normal Priority, Personalized (recipient's data visibility)
    Conditional Request - example_report
    Schedule - some schedule
    Recipients - Me(administrator) and User1
    Destinations - Oracle BI Server cache
    when the ibot runs 2 cache entries are created (for the 2 recipients).
    I have the report (example_report) on the dashboard (1 dashboard, 1 page, 1 report).
    After the ibot runs:
    When the administrator logs in first, there is a cache hit on the report. Followed by when the User1 logs in there is NO cache hit.
    On the other hand when the User1 logs in first, there is a cache hit on the report. Followed by when the administrator logs in there is no cache hit. The query log creates a Query issued to the database instead of cache hit on query.
    The User1 has a data level security.
    Please let me know where was I making an error in setting the ibot and how to get the cache seeding work for the different users with different role based security.
    Thanks for your inputs.

  • Test runner freezing when used with Dynamics CRM (and other apps) - Both applications freeze and never come back...

    We are trying to use test runner with dynamics CRM.
    MS Dynamics CRM will freeze and will not respond (even after 10 - 15 minutes). When this happens, the test manager will either freeze or a message will apear saying "waiting for application under test".
    We are not recording action recordings...This makes using test manager impossible. It happens consistently, starting with slowing the PC down (mouse moving slowly, slow to load in new screens, drop downs etc) eventually leading to the app freezing.
    Tried on windows xp, windows 7 etc on various specs of pcs.

    I am experiencing this same issue with
    Test runner freezing when used with Dynamics CRM. I notice this was first posted in June of 2010 and so far no
    resolution? I was wondering if it could be related to memory issues? Do you have any troubleshooting ideas? The
    issue for me seems to be sporadic and I can't
    reproduce it every time.
    The message I get is "waiting on application under test".
    DLM

  • I have been trying to get a advent w10 wireless printer to print from the iPad ,have tried various apps with no success,

    I Am trying to connect a advent w10 wireless printer to work with the iPad ,tried various apps with no luck,,

    You can check for problems with preferences and try to rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default values.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • Form-Based Security

    I cannot seem to get container-managed security to work with Java Studio Creator.
    I have a standard jsp page as the logon form, submitting to j_security_check. Authentication works correctly, but then, when the protected page is rendered, I keep getting the "Faces Context cannot be found" exception. Is this because I have a non-faces page between two faces pages?
    Here are the steps:
    1). Access the main page
    2). Main faces page gets rendered correctly.
    3). Access a link which sends the user to a protected page
    4). Logon page gets rendered. (plain JSP or HTML file)
    All is well so far
    5). User credentials are submitted
    6). Authentication works correctly
    7). Forward user to the protected faces page
    8). "Cannot find Faces Context" exception.
    Obviously, I cannot create a "standard" jsp page in Creator, as Creator creates the faces context and the java backend automatically. I had to create the JSP page through a text editor, and save it to the Creator project directory.
    The same thing happens if I create a regular HTML file in Creator with the same form submitting to j_security_check.
    Anyone run into this? Has anyone gotten container-managed, forms-based security working with Creator?
    Thanks.

    Ummmm.... okay, I feel really foolish and stupid. I guess I was getting tunnel vision, staring at this project so much.
    Sheesh! Thanks for the reply, j.f.brown! Had you not made the reply, who knows how long I would have stared at this problem.
    I'm never going to live this down. heh heh.

  • Change to active directory based security

    Hi,
    I have installed and configured Essbase with shared services based security and not in standalone mode.
    The client is now wanting to use active directory based security.
    I have seen John Goodwin's (I'm not worthy!) excellent blog on active directory with standalone ( More to life than this...: Standalone Essbase using external authentication ), but as stated I am not on standalone.
    Can anyone advise me how the config differs from what you need to do in standalone mode and also how to reinvoke the configuration tool post install / configuration?
    Many thanks,
    Robert.

    You can add the external directory in Shared Services at any point.
    Just follow the documentation - Oracle Enterprise Performance Management System Security Configuration Guide
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Location Based Security application?

    Hello everyone,
    I've been searching the App World for a 'Location Based' Security app, but can't seem to find what Im looking for.
    I like the security that is native to the Blackberry, but when I am at work or at home, I like to not to have to use the password to access my device.
    I am looking for something that would look at the location of the device and know whether or not the security should automatically be turned on.
    Does anyone know if this has been developed?
    Regards,
    Dave
    Current Device: Z10 via ActiveSync
    Formerly - 9650/ HTC Thunderbolt / 9550 / 9630 / 8830 / 8100 / 8700 / 7290 / 7100g / 7510 / 7230 / 6710 /. .

    If you can change the settings via a script (or maybe a 3rd party product), you could update your AC profile to launch the script/program to either set or unset the configuration.
    For example, I use a script (well, plain old batch file actually) to map network drives when a certain work profile is launched. There must be a way to set screen saver policy via a windows shell script (WSH)...

  • How to integrate a SSO based in cookie with ADF Security

    At work they asked me to integrate a existing SSO based in cookie with the new ADF + Jdeveloper 11g + WLS. After google for days and read a lot of blogs and official documentation I've made a custom LoginModule. I made it very simple, it's just an "if" inside the login() function with the username, if the username is "john" I put to the Subject some Principals. My steps are:
    1- Create a new app based on "Fusion application" template.
    2- Make a new ADF Taskflow with only one view inside (the entry point of the taskflow). The jspx only contains a welcome message.
    3- Run the ADF Security wizard, all the steps with the default option, I don't change anything.
    4- Put some users and some roles in jazn-data.xml, and maping them to an application role. Then I grant permissions to the application role to view the previous task flow.
    At this point everything is ok. I run the taskflow and a basic login popup prompts me to write my username and password. Now I try to remove everything useless for me, like idstore, credentials, anonymous, etc. I only want a LoginModule that get the HttpRequest and passes it to an already done class that returns a true/false depending if the cookie is correct or not but, as I said before, my LoginModule is so simple now and even didn't try to do something more complicated than an if. The steps I try are:
    in jps-config.xml
    5- Remove idstore.xml and credentials.
    6- (loginmodule tab) Make a new login module, and put here my class. The class is in the ViewController project and JDeveloper find it navigating through the heriarchy, so I have visibility. I put REQUIRE flag, add all roles and debug mode.
    7- In the security context unmark the idstore.loginmodule and mark myLoginModule. Also delete the anonymous security context.
    All that I got until now is a 500 error (Internal server error - Authorization Exception). Sometimes (the close i've ever been to do something correct) the browser ask me for user/password but then only recognizes the users that already are in WLS (idstore from previous tests), but NOT the "john" user that is inside my custom LoginModule. Even more, if I run the WLS from JDeveloper 11g in debug mode, the runtime never stops at breakpoints inside my custom login module. It seems that my LoginModule isn't deployed or I made some error maping the roles.
    So, my questions are:
    - I'm in the good way? If I want an authentication based in cookie/httprequest I have to do a custom LoginModule? My goal is to do a re-usable code, and re-use the code that my co-workers have done. They have a class that with only the HttpRequest determines if a user is logged or not.
    - If I'm in the good way... how can I put my custom LoginModule in the WLS? I tried to search something in the Administration Panel (localhost:7101/console) but I did'nt find nothing.
    - In case I'd got the custom LoginModule working fine in WLS... how can I get a HttpRequest from a LoginModule and avoid the username/password dialog? I've to make a filter and pass it to the my LoginModule? If it's correct... how?
    I don't post my code because is so simple, it's based on DBTableLoginModule but without all the database access code.
    Thanks to all!
    P.D.: If this message isn't in the correct forum, I'm sorry. Feel free to move it.
    P.D.2: Sorry about my english, I'm spanish. I know i've to practise a lot :)

    Hi Frank,
    Thanks a lot for your answer. Just one more easy question: what I need to do is a custom Authentication Module (which will read the cookie)? If only you can point me to the correct chapter of the WLS documentation I'll be very pleased.
    In future releases of JDeveloper will be easier to do this kind of things related to security?
    Riveck

Maybe you are looking for

  • Lookup Table and Target Table are the same

    Hi All, I have a requirement in which I have to lookup the target table and based on the records in it, I need to load a new record into the target table. Being very specific, Suppose I have a key column which when changes I want to generate a new id

  • Lost my remote, now how do I use a new one?

    I lost my Apple TV remote. I have another remote from my Mac Mini. How can I use the Mac Mini remote on ATV? What is the procedure? 1. Do I need to unpair it from the Mac Mini first? The ATV and the Mac mini are in different rooms at opposite ends of

  • Small doubt in select query

    i want to count the no. of employees whose endda = '31/12/9999' and stat2 = '3'. tables are pa0000. can anyone tell me the select query?

  • F4 Help icon is being displayed left hand side

    Hi Everyone,          I'm using explicit search help for the field WBS Element in one of the Ztable. In maintenance screen of this table the F4 help icon is being displayed on left hand side instead of right side of the field. Please help me with you

  • Sendto mail recepient doesn't launch default mailto program (outlook2013)

    Hi,I have a new laptop with a fresh windows 8.1 on it. I have installed office 2013 with outlook 2013. In explorer right clicking file and clicking send to 'mail recipient' doesn't launch anything. The default program for mailto is set to "outlook(de