Problems detecting if the Producer is authenticated without sending a message

Hello friends,
I have a flex-blazeds apllication for which authentication is done based on session level and not at client level (e.g. when user opens another tab is should be allready authenticated). For this I have declared a secured destination in the messaging-config.xml along with custom authentification command and that the authentication should be done at session level and not at a client level (per-client-authentication = false in the xml).
I am using a Producer component on the flex side and I would like to know if there is any kind of event to listen on the Producer component in order to determine if in the browser's session that I am authenticated or not.
What I have tried until now is :
var producer:Producer = new Producer();
producer.destination = "secureBlazeDSDestionation";
producer.addEventListener(MessageFaultEvent.FAULT, messageFaultHandler);
var message:AsyncMessage = new AsyncMessage();
message.body = "msg";
producer.send(message);
and discoverd that in this case I received an event telling me that "Login required before authorization can proceed." which is ok,  but I am interested in a solution that does not involve the sending of the message that triggers first a connection to be made.
Another thing that I have tried is using just the "connect()" method of the producer and adding all kind of listeners to the producer but did not received any notification about the fact that I am logged or not allready in that browser's session.
Does anyone have a solution to my problem please? Does anyone know how to detect from the flex side how to determine if in the same session I have already logged in?
Best regards,
Claudino Bur.

Hi,
AFAIK you can check whether the channel is Started/ Stopped (in RWB), check whether correct parameters are filled in the CC (by visual inspection)....but unless and until you test the scenario you may not know whether the CC is properly working or not....somethimes there is a case that you are asked to pay for each and every message that is sent using XI...is this your case?....if not then you can go ahead and test it end-to-end as Dharamveer said.....
If you get the solution (as you need) then dont forget to share with us
Regards,
Abhishek.

Similar Messages

  • How can I get the list of drivers without getting popup message?

    Every time the application gets to this line:
    File[] roots = File.listRoots();
    I get message box: "There is no disk in the drive.
    Please insert disk into drive A:"
    How can I get the list of drivers without getting
    this message popup?

    I don't have a solution to this problem. However, it does occur and it is annoying. I am testing our application on 4 client machines. On three of them, it NEVER asks for the floppy disk. On the remaining one, it ALWAYS asks. I have looked on the computers and cannot find any configuration differences (in fact, these machines are kept in a "closed environment", and therefore, they are configured, by default, exactly the same).
    Does anyone have any thoughts?

  • I bought a used PowerMacPC G5. I can burn and read DVDs, but I can't read or burn CDs. The CDs are not even recognized. After the drive searches for a while, the CD is ejected without any error messages. The CDs work okay on my iMac.

    I bought a used PowerMacPC G5. I can burn and read DVDs, but I can't read or burn CDs. The CDs are not even recognized. After the drive searches for a while, the CD is ejected without any error messages. The CDs work okay on my iMac.
    I am running Mac OSX 10.4.11. According to the System profiler the CD/DVD drive is a "PioneerDVD-RWDVR-112D." When I compare the information under this heading, the only unusual difference from my iMac is that the G5 reads "Burn Support: Yes (Unsupported)." My iMac reads "Burn Support: Yes (Apple Shipping Drive)."
    Under the System Preferences the options are set to "Ask what to do" when a blank CD or DVD is inserted. Music CD set to open iTunes, Picture CD set to open iPhoto, Video DVD set to open DVD player.
    Do you have any suggestions?
    Thanks, Jack

    Hi Jack, great help so far!
    Internal...
    http://eshop.macsales.com/static_pages/Framework.cfm?page=superdrive/sdl_powerma c_g5.html
    External be sure it's Firewire & not Bus powered...
    http://eshop.macsales.com/shop/firewire/optical-drives/

  • The problem is with the new operating system  and sending photo via email when used in my iPad.   From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow.

    The problem is with the new operating system  and sending photo via email when used in my iPad.
    From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow. This is solved by saving the email as a draft and opening the email again from mail.
    Can you amend he system to allow emails to be sent from photo as previously.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • When I send an email with Mail, I often confuse the account which I'm using. The result is that I send a message with the wrong account! Is there a way to avoid this (for example a reminder before the email is sent)?

    When I send an email with Mail, I often confuse the account which I'm using. The result is that I send a message with the wrong account! Is there a way to avoid this (for example a reminder before the email is sent)?

    Hi, thanks for the answer, I did that already. Unfortunatly this doesn't help me at all, as I often forget to check the menu. For me composing the message is writing the text, the subject, the person to who is addressed and than press "send".
    I often forget to check the "from", and this is a problem because the software select itself one of the accounts.
    Isn't there a way at least to put as a default a blank field instead of one of the accounts? or an account which doesn't work so if I forget to specify the "from" I will be rnotofied that the message can't be sent.
    I guess this could be a rather common problem for many people!
    Thanks
    Sergio

  • Verification of recvr file channel  configuration without sending a message

    Hi,
    We need to test the configuration((such as directory, filename etc.,) of a receiver file channel. As we all know, in the case of sender channel, since it will keep polling the directory configured, if there is any incorrect directory, it will be indicated in the run time work bench, EVEN IF THE MESSAGE HAS NOt GONE THROUGH THE SENDER FILE CHANNEL. However in the case of receiver file channels, UNLESS THE MESSAGE GOES THROUGH THE RECEIVER FILE CHANNEL, we won't be able to identify the incorrect directory configuration.
    Thus, please let me know as to how to identify the incorrect directory configuration in the case of RECEIVER FILE CHANNELS, without sending any message through the same.
    I appreciate your early response.
    Regards
    Venkat

    Hi,
    AFAIK you can check whether the channel is Started/ Stopped (in RWB), check whether correct parameters are filled in the CC (by visual inspection)....but unless and until you test the scenario you may not know whether the CC is properly working or not....somethimes there is a case that you are asked to pay for each and every message that is sent using XI...is this your case?....if not then you can go ahead and test it end-to-end as Dharamveer said.....
    If you get the solution (as you need) then dont forget to share with us
    Regards,
    Abhishek.

  • Msg. appears: "Problem detected with the font - in the font file $C.  quit all apps. and remove this font file ...

    Recently while browsing with TenFourFox 31.6.0 or reading an email in Thunderbird 3.1.20 with my PPC MacG4 with OSX 10.4.11,the above message pops in "  ... a problem has been detected with the font -, in the font file $C quit all applications and remove this font file or replace it with a new version". I don't know where to start, not ever having seen this message.  :-))  Any suggestions much appreciated. Thanks.
    -- Raymon

    Hi Raymon, it sounds like file corruption, I doubt there is a real font file called that.
    Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive & clear caches.)
    If still no change after a regular boot, then open Font Book in Applications & see if you can find it there, or have Font Book Validate all fonts.

  • Producer leak in MessageProducer.send( Destination, Message ) ?

    We have a client/server message passing system (using 3.6 SP3). The clients create temporary queues and the server replies in these queues. The server uses an unidentified MessageProducer (i.e., from session.createProducer( null ) ) to reply. Clients start up and shutdown frequently, but servers are long-lived.
    The issue is that when the server calls MessageProducer.send( Destination, Message), there is a new producer created that never goes away (until the entire connection is closed). These show up in the output of 'imqcmd list cxn' as belonging to the server's connection, and are visible in the Java heap of the server process.
    The destination is a TemporaryQueue, and it looks like producers might be getting cached based on destination. The client is deleting the TemporaryQueue on exit, and in the JMS server logs we see lots of warnings like " WARNING [B2081]: Destroying destination temporary_destination://queue/10.8.12.75/35033/4699 [Queue] with 1 active producers." (I missed finding that warning number documented anywhere.) But the producers don't go away.
    Does anybody know if these producers that build up ultimately going to cause problems on the JMS server? Do they eat up resources and slow things down? Is there a way to stop this from happening (short of manually creating and destroying MessageProducers for each reply)?
    Thanks for any info.

    The build up is on the client, vs server side (each maintain their own concept on producer). Destination/producer buildup does not directly cause a leak on the server side.
    So, build on the client does not necessarily mean that memory is building up on the server.
    On the server (broker) side, memory associated with the producers should be removed when the connections are closed or the destinations are destroyed. This occurs when:
    * the producer will be cleaned up when the connection using the producer is closed
    (for autocreated, temporary and admin created destinations)
    * the producer (and destination) will be cleaned up with the destination is destroyed. this occurs when:
    Temporary destinations:
    * the receiving consumer connection is closed
    * (temp destination).delete is called by the receiving consumer
    Autocreated (non-temp) destinations:
    * all producers/consumers are gone and the destination is empty. This means:
    - the connection for any un-identified producers/consumers have been
    closed
    - other producers/consumers have been closed because either:
    - the connections are closed
    - (consumer).close() or (producer).close() was called for other destinations
    All destinations:
    * imqcmd or imqadmin was used to destroy the destination.

  • How do i clear the past numbers when i send a message?

    When i try to send a message to someone, it still show the past numbers. How can i clear that on my iphone 4s?

    The only way to clear the Messages cache is to restore the phone as new (not from back up). Or, wait until they're overwritten in time.

  • I saved images from an imessage.  now when I open Imessage, the pictures will not go away. When I press "done" the pictures remain. Cannot send a message

    I saved images from an imessage.  Now when I open Imessage, the pictures are displayed on the screen.  When I click on "done" the images do not go away.
    Therefore, I cannot send a message.

    Quit the app completely and try again. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Or try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Gmail startpage only sshows mesages. the page is incomplete. cant send new messages in firefox4

    after installing firefox 4 the startpage of gmail only shows the recieved messages.
    so no possibility of sending new mesages and all other possebilities

    Hi,
    The iMessages account can do SMS (Text Messages) in Yosemite if you have an iOS 8 iPhone that have been linked.
    To do this you need to Enable text Forwarding on the iPhone - which in turn triggers the Code Number to appear on the Mac version which you copy back to the iPhone dialogue box.
    If it is On on the settings on the iPhone then you should be able to select the Mac that is linked.
    You may find it has become Unlicked and you need to Reset.  (turn the Function On again and then ask it to connect to the Mac in question and wait fro the number).
    I just checked mine and it had become Unlinked again (I am not sure of the trigger for this)
    8:33 pm      Thursday; December 25, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Time Machine fails repeatedly with no problem detected on the external disk

    Since a couple of days, Time Machine fails repeatedly, several times a day. I repair the disk with the Disk utility, that finds no error, then I reset Time Machine as indicated, and after one or two successful backups, it fails again, with the following report given by the Time Machine Buddy widget:
    Starting standard backup
    Backing up to: /Volumes/Copies de sauvegarde Time machine/Backups.backupdb
    Error: (22) setxattr for key:com.apple.backupd.ModelID path:/Volumes/Copies de sauvegarde Time machine/Backups.backupdb/iMac de MM size:8
    Error: (-50) Creating directory 2010-09-22-231449.inProgress
    Failed to make snapshot container.
    Error: (22) setxattr for key:com.apple.backupd.ModelID path:/Volumes/Copies de sauvegarde Time machine/Backups.backupdb/iMac de MM size:8
    Backup failed with error: 2
    I insist, the disk utility doesn't find any problem in the external USB disk. Should I reinstall the OS?
    Thanks a lot for any help!
    Best regards
    Mauricio

    This is the message after the ejection failure:
    Starting standard backup
    Backing up to: /Volumes/Copies de sauvegarde Time machine/Backups.backupdb
    No pre-backup thinning needed: 5.63 GB requested (including padding), 541.66 GB available
    Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: Device not configured
    Error: (-36) SrcErr:NO Copying /Users/mauriciomilchberg/Movies/Evenements iMovie/Nouvel événement/Edgar 4.mov to /Volumes/Copies de sauvegarde Time machine/Backups.backupdb/iMac de Mauricio Milchberg/2010-09-24-025248.inProgress/5034B0A3-F84E-4992-A7B8-8B9166E9AD42/Mac intosh HD/Users/mauriciomilchberg/Movies/Evenements iMovie/Nouvel événement
    Stopping backupd because the backup volume was ejected!
    Stopping backup.
    Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: Input/output error
    Error: (-8062) SrcErr:NO Copying /Users/mauriciomilchberg/Movies/Evenements iMovie/Nouvel événement/Edgar 4.mov to /Volumes/Copies de sauvegarde Time machine/Backups.backupdb/iMac de Mauricio Milchberg/2010-09-24-025248.inProgress/5034B0A3-F84E-4992-A7B8-8B9166E9AD42/Mac intosh HD/Users/mauriciomilchberg/Movies/Evenements iMovie/Nouvel événement
    Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: Input/output error
    Copied 4768 files (2.8 GB) from volume Macintosh HD.
    Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: Input/output error
    Copy stage failed with error:11
    The word "événement" has been written not by me, but by the translation.
    Anyway, I'll follow your advice and start with the combo.
    Thans a lot again.
    Best regards
    Mauricio

  • Problem to install Design-Premium CS6, Installation without CD-drive, Message: put in CD 2 -installation from USB-Stick, Windows 8

    I want to install my Adobe CS6 on my new Computer without a CD drive.
    Is it possible?
    I tried different kinds of installation.
    1.     From Harddisk
    2.     From USB (ISO burned to USB_Stick)
    I always have the same problem:
    Message: insert CD 2 (it's not possibel without a CD drive)
    It would be great if someone can help me!
    Thanks

    Download CS6 products
    Mylenium

  • How to upgrade the xoom to 4G without sending it in to Motorola

    The upgrade to 4G is an easy process that takes less than 10 minutes, but if your like me, you may be leery to send your Xoom into Motorola and be without it for a week.
    There is no way to truly remove the data on the sdcard without overwriting it multiple times, restoring to default config still leaves all your credit card info/bank account info on the Xoom, and for those who know how (and it is actually very easy), that data can easily be recovered, and your credit card numbers/bank account passwords sold on the black market for pennies on the dollar.
    Chances are also good, that with the sheer number of devices sent into Motorola when they start the upgrade around the first week of Sept, 2011 that some tablets will be lost, damaged (scratches, etc). The likelyhood is also great that if your device is lost you will recieve a refurbished Xoom instead, and someone else may get your Xoom with all your recoverable data on it. It has happened before with other manufacturers.
    So, here is the process to upgrade your Xoom yourself (it does require a 4G board, and I will explain how to aquire that in a moment)
    OPTION 1: hope that Verizon stores (for those with a verizon plan)can do it in house while you wait.
                       This would be ideal considering the circumstances, but not likely at this time or in the near future.
    OPTION 2: The whole process consists of three steps:
    step 1:  Remove the two torx screws on the bottom of the case (where your power changer plugs in)
    step 2: disconnect the antenna
    step 3: remove the two torx screws, remove the dummy 4G  miniPCIe card, and replace with the real 4G card
    note: Motorola did provide two MIMO antennas and a SIM card slot in preparation for  the LTE upgrade
     4G card pic:
        http://i53.tinypic.com/2ci79xu.jpg
    To get the 4G card (the SIM will still need to be aquired via Verizon), simply wait a week or two untill Bestbuy/other store puts it on shelves, buy it, switch out the board, and then return it to the place of purchase for a full refund (ideally you want to take it back the same day).
    Motorola refuses to send the 4G board even after verifying the MEID, so this is the only recourse to getting your upgrade short of sending your device in to Motorola, and getting a refurb/damaged one back. Not saying this will happen, but the likelihood of this occuring is pretty high.

    i think option 1 sounds good if it ever goes down that way. i agree with you about not wanting to send my unit in to verizon. chances are they farm it out to some shady 3rd party company who's employees will most likely be shady as well.
    i think i will just wait to see how things pan out after the initial rush to get 4G.
    buying something and returning it after hijacking a card from it is not right in my book.

  • Only a few of rows in the table are indexed without an error message

    When I executed the sql command:"create index ... indextype is ctxsys.context...",
    only a few of rows were indexed.
    The number of rows returned from query clause "select * from table where contains(field,'keyword') " is much less than that returned from "select * from table where field like '%keyword%'",though its speed is very fast.
    I checked the I table,the indexed words was few.The create index command ends in 3 mins on a table with more than 2 millions rows.
    The language setting is Chinese.
    The documentations about the intermedia text services on chinese languages is difficult to find.Can someone give me some or help me to solve this problem?
    Thanks in advance!

    I get the same thing in Mac OSX 10.7.3.  When I control-click on a preview and select 'open in camera raw' I get a dialog that says it's not enabled and requires a qualifying app to have been launched first:
    I've launched bridge and photoshop and if I open an app from the mini-bridge within photoshop, camera raw is launched.

Maybe you are looking for

  • How do I label a photo in iPhoto?

    how can I add a name to my photo in iPhoto? (need to do this for sending photos. In this latest version I can't seem to figure it out!!

  • What causes my screen on ipad to turn red?

    What would cause my ipad screen to turn red?

  • New Mac Pro overkill for Logic Pro X?

    Hi all, Is the new Mac Pro overkill for audio work? I use Logic Pro X and mainly use huge sample libraries with Kontakt, so I would get 64gb memory, a Lacie 10tb Thunderbolt drive to store the samples and 2 Apple Thunderbolt displays. Or would an iMa

  • Dynamically loaded content?

    Can Catalyst (current beta) dynamically load text and images?  If not, will the release version have this capability?

  • InDi CS6 not saving prefs

    Hi All of a sudden my InDesign is not saving my prefs I set/change prefs with all documents closed but still when reopen Indesign, all prefs are reset. I did have to reset my prefs about a week ago, but I am not sure if thats when it started... I use