JAAS: Keeping authenticated data in sync

Hi,
After using JAAS to perform authentication, what is the standard way to keep/ensure the authenticated information is current?
For example, if a user account is disabled (in the security store) after beeing successfully logged in, is there any pattern to notify the application code via the JAAS framework, of the user-status change?
I am thinking of using one of the following
1) Custom Callbacks
2) Credentials that implement the javax.security.auth.Refreshable and javax.security.auth.Destroyable interfaces.
Is there any other way to achieve the above?
Thanks

Thanks Seema,
But as I understand, the LoginContext.logout() is to be used by the application to notify the security provider (via the LoginModule interface) to logout the subject.
The question is how does the security provider (to be specific, the LoginModule) notify the application of any status changes/udates to the subject.
To me this seems like a common requirement, which is not specifically addressed by any JAAS documentation.
Thanks
karthik

Similar Messages

  • All of my playlists made on my Ipod touch 3rd gen keep disappearing when I sync it to itunes. Drivng me crazy. All software up to date on both itunes and Ipod. Help please.

    All of my playlists made on my Ipod touch 3rd gen keep disappearing when I sync it to itunes. Drivng me crazy. All software up to date on both itunes and Ipod. Help please.
    I tend to make my playlists right on my ipod. This did not happen for the last 2 years. Just started recently. Did get a new computer recently.

    That is because you got a new computer. You can only sync all media from one syncing computer. You can sync from any computer to iPod using the manual method but that does not sync from iPod to computer.
    To make this your syncing computer:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • Ipod synced with old pc now dead, can I keep data while syncing it with new Mac?

    I have an old iPod with 8 gb music on it. It was previously synced with a PC whose HD is now dead, so the iPod is the only place where the data is still available. The iPod was not attached to an Apple ID back then. Can I attach it now to my Apple ID, synch it with my new Mac Book and still keep the data on it?
    Thank you in advance

    Yes you can

  • Sync with a new computer - any way to keep app data?

    I recently purchased a new computer and imported my itunes library from the old one, but when I attach the iphone (3GS), it doesn't recognise it as the same library and appears to be warning me that all the data in my apps will be deleted. While quite of few of the data ones have backup options, I don't particularly want to lose the data from games where I have unlocked levels... Is there any way to sync the iphone to the "new" library and keep the data within the apps?

    By design, the iphone will sync itunes content with one computer at a time. Any attempt to sync such content with a second computer will result in ALL itunes content being first erased from your phone & then replaced with the content from the second computer. This is a design feature and cannot be overridden. Because you replaced your computer, your phone will be wiped of itunes content, but since you restored your library to your new computer, this will not be a problem. App data is stored in two places, on your phone & in your phone's backup. If you restore your phone from backup on your new computer, you will preserve your app data. Follow these instructions in the order specified:
    1. Disable auto sync when an ipod/iphone is connected under preferences, in itunes.
    2. Make sure you have one contact & one event in whatever programs you use for that purpose on your computer(address Book & ical). The entries can be fake, doesn't matter, the important point is that these programs not be empty.
    3. Connect your phone, itunes running, do not sync at this point.
    4. Store>Authorize this computer.
    5. File>Transfer Purchases(To make sure all purchased content on your phone will be in your itunes library).
    6. Right click in the device pane & select reset warnings.
    7. Right click again and select backup.
    8. Right click again & select restore from backup, select the backup you just made. When prompted to create another backup, decline.
    9. This MUST be followed by a sync to restore your itunes content, which you select from the various tabs, You'll get a popup regarding your contacts & calendars asking to merge or replace, select merge.
    You should be good to go with all of your app data restored to your phone & you're now syncing to your new computer.

  • After I sync with iTunes my iPad Calendar is not updated from my computer where I keep my dates on Abacus. It used to do this. What's wrong?

    After I snync with iTunes my iPad Calendar is not updated from my computer where I keep my dates in Abacus. It used to do this.

    Follow the instructions of tt2 in: https://discussions.apple.com/thread/5822086

  • ITunes 10.5.3, Unable to Load Class Data from Sync Services, Crashes Repeatedly

    Ever since iTunes 10.5.3 on my Windows 7 x64 box, I've been having serious problems keeping iTunes running:
    1)  Any time I connect my iPhone or iPad, or any time they attempt to sync over WiFi, I get the 'Unable to load class data from sync services' error.  It's worth mention that the iPhone or iPad do actually then proceed to sync correctly, and all media / data is synchronized successfully, as far as I've been able to tell.  I've reset sync history, restored the iPhone and iPad, manually moved the SyncServices directory, set both the iPhone and iPad up as new, completely uninstalled iTunes and the mobile device software, re-installed, and *nothing* I do fixes this issue or even seems to impact it.  Uninstalling iTunes 10.5.3 and reinstalling iTunes 10.5.2 resolves this error.
    2)  iTunes 10.5.3 has serious crashing problems on my machine, though I've searched through forums and found a lot of other people with the problem.  In my case, sporadically as iTunes access the iTunes store (for example, I can always make it happen by subscribing to the Diggnation podcast and telling it to refresh the podcast), I get a full application crash which generates the following event in the event log:
    Faulting application name: iTunes.exe, version: 10.5.3.3, time stamp: 0x4f14cc3d
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
    Exception code: 0x80000003
    Fault offset: 0x0001280c
    Faulting process id: 0x564
    Faulting application start time: 0x01cce78789dc009a
    Faulting application path: D:\Program Files (x86)\iTunes\iTunes.exe
    Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
    Report Id: ecc77400-537a-11e1-b809-00248c196007
    Again, uninstalling iTunes 10.5.3 and re-installing iTunes 10.5.2 fixes this issue as well, but I really shouldn't have to do that.  Is there any actual solution to these problems other than dowgrading to an older version?
    Yes, I'm running current malware protection (and my system is clean) and yes, I've already checked any other obvious culprits to make sure I don't just have a corrupt library or file somewhere that's causing it.  My Windows 7 install is completely up to date from a Windows Update perspective and also from a driver perspective (even including the motherboard and chipset drivers).  I made sure to do a system file integrity check (sfc /scannow) and it confirmed my install of Windows isn't suspect, but beyond all that I was able to reproduce these failures on a completely separate machine running Windows 7 x64, without any of my media library or data on it -- iTunes 10.5.3 just seems to be bad news on Windows 7 x64 for me, even though I know there are definitely people are using it successfully.  I don't get any other application crashes for any other applications, and I've never had an issue like this with any previous version of iTunes...
    Last but not least, in case it matters, I'm running iOS 5.0.1 on both the iPhone4 and the iPad2.  The iPhone4 is the GSM AT&T model and the iPad2 is the CDMA Verizon model.

    OK, I've given up.  Uninstalled iTunes 10.5.3 permanently.  It's a shame, 10.5.2 works perfectly but 10.5.3 is a complete and total cluster for me.
    Anyone with the same problems who hasn't done this already, just uninstall iTunes and the Apple Mobile Device Service in your Add/Remove Programs, then re-install iTunes 10.5.2.  You won't lose your library or any settings or apps, it will just go back to working again.
    I wish Apple would acknowledge this so that I'd at least know it would be fixed in the future.

  • Itunes was unable to load provider data from sync services. Reconnect or try later

    Hi everyone
    This issue has got me stumped.
    I have a Dell Vostro desktop computer with Windows 7 SP1 64 bit edition.
    I used to be able to sync now I cannot bakup or sync.
    The device is an iphone 4s with the latest software IOS 5.1.
    Itunes is version 10.6.0.40, the latest.
    To try to fix this problem I removed itunes/quick time completely. Removed Bonjour, Apple Application Support, Apple Mobile Device Support, Apple Software Update,
    Deleted the itunes and quick time folders, the common file folders and files, deleted anything related to able under appdata local and roaming, removed apple folder under program data, scanned through registry and removed all apple entries.
    Then I rebooted the computer, re-installed itunes/quicktime and have the same error appear again.
    I have gone through this process at least 5 times , but still keep getting the same error, cannot go past it.
    I found a solution on this forum but it only applies to MACOS, could not find anything suitable for windows 7 environment.
    Also searche the web high and low and tried several different advice from people.
    This has to be a bug with Itunes! I would like to hear from Apple developers and programmers why I have to suffer so much to sync my device.
    As a last resort I am planning to rebuild windows 7 from scratch but is is a big job.
    Tried also to disable firewall, antivirus, check the apple windows services are running, nothing works to get me past this error.
    Please help someone!
    Thanks and regards
    Alfred

    Did you have a look ath this (rather) long thread about it?
    https://discussions.apple.com/message/17214161#17214161 , for example:
    danielfromkongsvinger
    Re: Unable to load provider data from Sync Services 
    16.12.2011 20:21 (in response to wisniak)
    "I then followed a tip found in PCWorld  and performed the following:
    1. Make sure iTunes isn't running.
    2. Click Start, type regedit, then press Enter.
    3. Navigate to this Registry location: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    4. Look in the main pane for a key that refers to iTunes. If you find one, delete it, then exit the Registry.
    5. Start iTunes. The offending message should be gone!"
    This actually worked for me! I have struggeled with this error for years, and now it's gone. Thanks!

  • Keep your Firefox in Sync

    The page on this:
    https://support.mozilla.org/en-US/kb/how-do-i-set-up-firefox-sync?esab=a&s=Keep+your+Firefox+in+Sync&r=7&as=s
    is lame.
    It does not state, let alone clarify, whether the sync is one way or two way.
    In other words. Does this sync my primary firefox use, on my primary computer, with other devices, so that they see what I have done on my primary computer (what I want)
    OR
    Does it sync what I do on either device with the other?
    OR
    Can you choose which of these happens?
    NOTHING of this is mentioned on the page.
    AND there is no link to further information or settings.
    I guess I will stick with XMarks (in which all this is clearly stated)
    (To add to my disapointment here, there is no option to select to ensure being notified of responses!?)

    Sorry, the Firefox Sync service isn't available for new signups for the Sync service on versions of Firefox prior to Firefox 29, the latest release. Sync is available to current users of Sync, who have older versions of Firefox for a few more months - but my guess is that by the time Firefox 33 is out and the new ESR version is completely released, that compatibility period will end. Also, all device have be using the "old" or new version of Sync; once a Firefox Account is updated to the new Sync version it won;t connect to devices still using the old Sync version.
    As far as what Sync actually "synchronizes", the various types of data are user selectable per device - but overall the goal is to have all Firefox installations be a mirror of the other installations. Certain types of data sync ''(like tab and browsing history)'' is truncated on mobile devices, though.

  • Will I lose my iPhone data when syncing to new computer?

    Hello --
    I've dug through the archives here a little, and saw many issues with syncing an iPhone to a new computer. However, I was never able to find the answer I was looking for to my particular question.
    I've had my iPhone for a good number of months now. I had to reformat my computer, and re-install iTunes last week (so it's not really a new computer, but for all intents and purposes, it might as well be.) I have yet to try to sync my iPhone to the computer out of fear I will lose all my data.
    I'm not worried about the mp3s or ringtones, those are backed up in my library. However, my contacts, calendar data, photos I've taken -- I've got the sinking feeling that as soon as I hook up this phone to that computer, they will all get removed.
    What can I do to ensure that my data won't be lost? Can I backup my phone somehow before syncing it to the computer?
    Any advice is greatly appreciated.
    Thanks, all.

    You're welcome.
    So I am safe to continue to transfer music and movies to my phone, without harming my contacts so long as I keep those check boxes in the info tab unchecked? Correct?
    Correct. Whatever you select to be synced or transferred from your computer to the iPhone via your iPhone sync preferences is synced or transferred and whatever is not selected is not synced or transferred. Some data is synced and some if just a transfer process from your computer to the iPhone.
    Also, what do I do if I want to start syncing contacts now (to prevent this worry of mine in the future)? If I want to create a backup of my contacts right now, is that something I'd need to do manually? I can't just "download" my list of contacts from my phone to my computer, right?
    Select the supported application on your computer for syncing contact information and calendar events with your iPhone. If this application or applications are void of any data, enter at least one contact in the supported address book application and one calendar event in the supported calendar application before syncing.
    There is no way to backup this data on the iPhone.

  • When syncing my iphone i get a msg, "itunes could not sync calendars to the iphone because an error occurred while merging data"   I sync my calendar to outlook.  My iphone calendar has all and the most updated information.  Outlook shows only recurringMY

    I'm at a loss as to what to do. Any help is appreciated.  When syncing my iphone I get an message, "itunes could not sync calendars to the iphone because an error ocurred while merging data" I sync my calendar to outlook.  My iphone calendar has all and the most updated information.  Outlook calendar only shows my recurring events. 

    hi there,
    i've found a great & simple solution for this problem
    just open your iCloud acc on iPhone
    turn off calendars (it wil ask you to keep info or not - KEEP IT!)
    and turn back on (MERGE!)
    now SYNC it..
    and that's it
    PS in my case it was contacts so the procedure is the same..

  • I just got my iPhone today and connected it to iTunes but it's saying iTunes was unable to load provider data from sync services?

    I just got my iPhone today from Sprint and connected it to iTunes but it's telling me iTunes was unable to load provider data from sync services. My Safari works somewhat fine but my apps won't load... what's wrong? They're able to start up and then they tell me they're unable to connect. My e-mail that was supposed to be set up earlier disconnected and wouldn't work until I reconnected my wifi and worked for a moment I believe. Now on the bottom of my inbox it keeps saying "checking for mail..." On top of that I think my safari randomly slows down at times because when I started typing this I could move around websites fine and now it's barely loading.

    Time for a restore. Once you do make sure you set the phone up as a new iPhone.

  • Hello, is there any calender application which keeps historical data for iPad 2?

    hello, is there any calender application which keeps historical data for iPad 2?

    The one built-in keeps whatever historical data you sync to it.

  • I have two homes and I would like to keep my iPad2 in sync with my desktops in each home. How do I do that?

    I have two homes in two different staes and I spend time between the two. I would like to keep my iPad2 in sync with my desktops (PCs) in each of the homes as I travel between the two. When I try to sync with the second PC ( with my iTunes ID) it threatens to wipe out my iPad2. I just want to keep the two desktops and my iPad in sync. Please help.

    Put a copy of the most current iTunes Media library onto a USB hard drive. Replace the older library with the newer one. Repeat the process when you return to the other home.
    Or you can sync everything to iCloud where it is accessible anywhere you can connect via your Apple ID.
    iCloud Related:
    MobileMe: About moving to iCloud
    iCloud: Features that work with one account at a time on iOS 5 and OS X
    iCloud: How to back up iCloud data
    iCloud: Backup and restore overview
    iCloud: About storage buffering
    Using and troubleshooting Back to My Mac with your iCloud account on OS X Lion
    iCloud: Troubleshooting Find My Friends
    iCloud: Calendar Events, Reminders, To Dos, and Tasks behavior differs by application
    iCloud: Distinguishing between Calendars and Reminders
    iCloud: Troubleshooting iCloud Reminders and Tasks
    iCloud: Manually importing data from iCal to iCloud Calendar
    iCloud: Understanding where iCloud Calendars are displayed in iCal
    iCloud: Reminders are called Tasks in Microsoft Outlook on Windows
    iCloud: About the iCloud Web App Plugin for Internet Explorer
    iCloud: Troubleshooting web browser issues with icloud.com
    iCloud: Troubleshooting iCloud Bookmarks
    iCloud: How spam is filtered
    iCloud: Why was I spammed?
    iCloud: Keeping the Junk folder consistent between webmail and OS X Mail
    iCloud: How to get long email headers for iCloud accounts
    iCloud: About email aliases

  • I have a macbook pro, and am trying to update my software. I recently bought an iphone 5, and my software is to out of date to sync my phone with itunes. I currently am running 10.5.8 and I need to update to atleast 10.6.8. Just wondering if I need to pur

    I have a macbook pro, and am trying to update my software. I recently bought an iphone 5, and my software is to out of date to sync my phone with itunes. I currently am running 10.5.8 and I need to update to atleast 10.6.8. Just wondering if I need to purchase it from apple or if there is an easy/free way to update it.

    you need to purchase it: http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard.  It is only on a disk, not in download form.

  • Help me keep unlimited data. reps being extremely rude and not helping...

    So I don't want to make this long and boring so I'm going straight to the point. I am grandfathered in and I know there are many discussions on here about this but I need serious help. I don't know what to do. Long story short, I went to my local normal Verizon store and asked politely to be on the 12 month payment plan for a new phone. And I stressed I wanted to keep my unlimited data. No problem they said....45 limited later they come back and say sorry, we cannot do that. Doing the payment plan makes you sign a new 2yr contract. I was mad obviously but left politely not knowing any better. But it didn't seem right. So I called the 800 support number and they said there is no reason why they shouldn't have done that for me. The guy said he shouldn't of told me this BuT he told me that reps don't like doing that because they don't get as much If any commission for doing so. So he said they usually come up with a lame excuse like the one they told me. He told me to go right back in there and tell them that yes they are able to do that. So I did. I got a different rep and he was acting weird about it. Get this... I told him my situation and gave him a puzzled look when he explained he doesn't know what he can do, HE said "what's that condescending look for?" I justccan't believe he said that how unprofessional of him to call me, a customer or ten years condescending. I was astonished. But that's not even my point. He didn't know what todo so called the manager over and she claims to have spoke with the "president" and "CEO" of their Verizon in north east ohio, this was a wooster Ohio Verizon. And claims that they don't allow that and what I was originally told by the rep is true. That is changes the contract going on a payment plan the 12 month one not the edge. I told her what the 800 number has told me and she said they are wrong. PLEASE HELP ME :(  AGAIN, I was not rude or anything at all with them. They treated me like garbage because I want to keep my unlimited data. How can I do this? Can I go to another Verizon perhaps In Ashland Ohio and do the payment plan and keep my data? Sorry for the long question but any help would be TREMENDOUSLY appreciated. I am in wooster Ohio btw

        brant13,
    I want to start off by saying, I am truly sorry for the way that you have been treated at that the store location. This is by no means how we run a business. I can assure you that if you do the Device Payment Plan http://vz.to/ZILXBT  that is for 12 months that you are able to keep the unlimited data plan. You can always go to the store location on Commerce Pky in Ashland, OH. That is a direct store location and they should be able to get you set up with out any kind of issues. Please keep us posted if you have any further troubles. Again, I apologize for any inconvenience this may have caused.
    KevinR_VZW
    Please follow us on Twitter @VZWSupport

Maybe you are looking for

  • Sidebar height help needed

    Hi, I am using Dreamweaver CS5 for the first time and hope I'm on the right track with rebuilding my site.  This page is a work in progress (but getting close).  I used a built in template (2 column, header, footer) and changed it a bit. I am wanting

  • Error while uploading data through CSV File

    Dear All, While Performing following steps I have encounted error in BW 3.5. Step 1. Right-click Source System u2013 demo: flat file, and then select Create InfoPackageu2026. Step 2. Select the DataSource Material number (Master data), enter a descri

  • Autonomy is Inter organisational BPM

    Which approach is suitable for maintaining high degree of autonomy in inter organisational BPM? How it affects the ownership of processes? These approaches are Centralise, Decentralise, and Peer-to-Peer. Explanation of these approaches: Centralise CB

  • Report to delete OM objects

    hello seniors can anyone help me with report to delete OM objects?

  • How to display context-sensitive help in  frameset?

    When the help is generated by Robohelp, there is a primary file named by default as 'Web_Interface_On_Line_Help.htm" that opens the entire help window, with a left pane and a right pane. The left pane has the TOC and Index, and the right pane has the