Help with OAG authorization

Hi,
I'm looking for authorization of users in the policy after user ([email protected]) is authenticated using WS-Security Username Token based on the below condition.
${authentication.subject.id}=[email protected]
Could please help how the above condition be placed in "attribute requirements" of authorization "attribute" filter .
Thanks in advance,
Vani

Hi,
The way to authorize like your are doing is not a way I would recommend as its not very dynamic. You don't say whatever you are using a repository like an Active Domain but in general you would always check whatever the user that is authenticated is member in a specific group rather than keeping a list of users in an compare filter. You want to avoid having very specific logic in the gateway configurations as much as possible, otherwise you will have to redeploy every time you want to add or remove users etc.
If you are using an active directory you can use the filter "Retrieve from Directory Server" after a successful authentication to retrieve attributes of that user and then normally memberOf which will give you all the groups the specific user is a member of and on that data you would do an authorization check.
If you are using the built in User repository there is a "Check Group Membership" filter that can be used instead.
Cheers,
Stefan

Similar Messages

  • Need help with Itunes Authorization issue

    I've been a Itunes/Ipod user for a couple years. During that time, I've sure spent over $500.00 on Itunes music from the Itunes store for my Ipod. My daugter and I both have Ipods.. There have only been 2 machines with Itunes installed here but I occasionally rebuild my computers to have the latest and greatest hardware for my business.. The other day I backed up all my music and data before rebuilding my machine due to hardware upgrades. Everything went smoothly including importing my purchased music back into Itunes.. The problem is I can't listen to it now. When I try to double click a song I get an error that says "You have already authorized 5 computers with this account. To authorize this computer you must first deauthorize one of the other computers" This isn't possible because the computers aren't around anymore to deauthorize. They were all housed (except 1, my daughters pc) in the same case as I have now.. Please respond...

    The other day I backed up all my music and data before rebuilding my machine due to hardware upgrades.
    okay. you may have ended up with multiple authorisations on that PC due to the system changes. if so the following documents should be of some help with techniques for freeing up authorisations:
    One computer using multiple iTunes Music Store authorizations
    About iTunes Store authorization and deauthorization

  • Help with BW authorizations - Alternate solution

    My Client doesnt want to deal with roles/authorization methods..they want alternate way of preventing  data sharing in following scenrio :
    Current BW - 3.1c
    Company A is selling its 4 plants from Jan 1st to Company B. But BW system will be shared among Company A and Company B.
    From Jan 1st., Company A and Company B's BW users should not be able to see or access each other company's BW reports.
    Company B will have ownership of 4 plants (including 2 sales org and 2 company codes).
    How do I set reports seperately..
    1. Is it possible to work with customer exit variable on plant/sales org/comp code..Could any one help me on user exit code.
    2. Is it possible to restricting characterisitcs in the queries for 2 different roles of comp A and Comp B.
    3. How can an authorization variable help in this scenrio.
    This is very urgent.
    Thanks

    Shail,
    You should be able to use a customer exit variable with some ABAP behind it to default the user to a specific company. This will have to be maintained in a table for each user, however. I'm not sure how the specific code would look because I'm not an ABAP expert, but I do know we use similar variables that pre-fill for the user based on location and it works fine. You would need to make the variable NOT ready for input and NON-navigational. This would prevent the user from changing their location or viewing data from the other company. It would be, in essence, just a filter that you apply based on which company they represent. Hope this helps you get started.
    Cheers,
    Rusty

  • Help with ADE authorization?

    Hello,
    I've downloaded DE on my PC and I need to autorize it. Now my computer asks if I want to replace the AdobeID with the new one. I get confused, because DE was not on my computer yet, but I did autorize my ereader with my AdobeID.
    The question is, if the email adress stays the same, but the password changes, will I still be able to read the books that I already have on the ereader? I bought them via the ereader, so they were not on my computer before.
    When DE asks 'replace' does it mean to replace the anonymous account that is currently my pc or do I replace what I had before on the ereader as well? Because if I have to replace the AdobeID on my ereader as well, then I won't be able to read the ebooks that I put on the ereader.
    Thanks in advance!
    Kind regards,
    Denise

    Lots of folks seem to think that using Digital Editions with an ereader is
    'plug and play'.  It's not, because there's a fair amount of technology
    that lurks in the background.  No offense, Denise, but I should put a
    perspective around answers to your questions.
    Epublications conform to the Digital Millenium Copyright Act of 2000 (DMCA
    for short), which sets out the way that they are managed.  There are
    restrictions on copying and printing ebooks, and those restrictions can be
    set by authors, distributors and publishers using Digital Rights Managemen
    (DRM).  At the same time, library management systems like Digital Editions
    have to build these restrictions into their programs.  In addition, ereader
    manufacturers can choose certain options to build into their equipment.
    Some ereaders can be used without registering them with the manufacturer.
    But their capabilities are limited.  Some, like Kindles and
    iPads/iPods/iPhones, are bound to a certain ebookseller (Amazon or Apple).
    All PC library management systems can access ebook sources without being
    registered.  However, as you're finding out, some will impose limitations
    on you if you don't register.
    ADE - registered or not - creates a small ID file for each ebook, and that
    contains information about the user.  So, you're correct in saying that, if
    you use a different ID, you won't be able to read the ebooks that you
    downloaded with (or without) a different ID.
    Your ereader also contains registration information - if you registered it,
    then the ID you used is embedded in its ID file, and will be associated
    with all ebooks that are downloaded/copied onto it.
    All that said:
    ADE is somewhat flexible, as you found out.  You can authorize it with an
    ID and then change it when you want to.  However, due to the DMCA, it won't
    let you read any ebooks other than those with that ID.  One solution that's
    worked for others is to set up an Adobe ID that's independent of your email
    address (which you can do even though the suggested format is for an email
    address) and use that.  If you change email, then you don't affect your
    ebooks.  However, for the moment, whatever ID you use should correspond to
    the one you used to download the ebooks.
    I can't tell you exactly what to do with your ereader., but the same idea
    applies.  You need to register it, and using the same ID as you did for ADE
    simplifies things greatly.
    Hope this helps!
    =================

  • HT1420 help with computer authorization

    How do i authorize a my apple laptop to my sons i tunes account?

    Authorization and Deauthorization
    Macs:  iTunes Store- About authorization and deauthorization.
    Windows: How to Authorize or Deauthorize iTunes | PCWorld.
    In iTunes you use the Authorize This Computer or De-authorize This Computer option under the Store menu in iTunes' menubar. For Windows use the ALT-S keys to access it. Or turn on Windows 7 and 8 iTunes menus: iTunes- Turning on iTunes menus in Windows 8 and 7.
    More On De-authorizing Computers (contributed by user John Galt)
    You can de-authorize individual computers, but only by using those computers. The only other option is to "de-authorize all" from your iTunes account.
      1. Open iTunes on a computer
      2. From the Store menu, select "View my Account..."
      3. Sign in with your Apple ID and password.
      4. Under "Computer Authorizations" select "De-authorize All".
      5. Authorize each computer you still have, as you may require.
    You may only do this once per year.
    After you "de-authorize all" your authorized computers, re-authorize each one as required.
    If you have de-authorized all computers and need to do it again, but your year has not elapsed, then contact: Apple - Support - iTunes - Contact Us.

  • Help with OAG

    Hi,
    We are exploring API Gateway for our web services to be managed here.
    We have a requirement so that these WS can be made accessible to both internal (inside oracle's firewall) and external users (in the dmz).
    Could please suggest the architecture that we need to follow for installation of the same.
    Thanks,
    Vani

    Hi Vani,
    The normal set up would be:
    Consumer (On Internet) -> (FW / Load Balancer) -> OEG / API Gateway -> Firewall (with specific opening to the web service) -> Internal Network with the Web Service.
    Where I work we did from the beginning allowed any consumer to connect from within the Internal Network to the API Gateway but due to specific needs (Different AD Domains depending on where the consumer are located) we actually have double of everything, 2 Production API Gateways(Load balanced) on the internal and two in DMZ.
    Cheers,
    Stefan

  • Help with iTunes authorization

    I have five computers (apparently) that have been authorized for ITunes. I would have deauthorized the last one, except that it doesn't work anymore. Hence, the new mac that I cannot get authorized. What can I do?

    Use the Deauthorize All command documented in this article.
    (91628)

  • Issues with Analysis Authorization checks in APO

    Hi Friends,
    I am facing an issue with Analysis authorization checks in APO.
    We have setup user access based on Management Entity (Analysis authorization - AGMMGTENT and 0TCAACTVT) and core APO authorizations (based on the work profile - e.g: Demand Planner).
    Scenario: Consider User A has access to India and Australia Management Entities with 0TCAACTVT - *
    This user also has display access to all management Entities (AGMMGTENT - * and 0TCAACTVT - 03). This scenario works very well in Quality where the RSECADMIN trace shows check on both Characteristics. However in Production the RSECADMIN trace shows up only against AGMMGTENT (*) and by default takes 0TCAACTVT as (*).
    In Quality the Characteristics that get checked are as below : and it works as expected. Display access for Management Entities that are supposed to be displayed only and change access to only the Management Entities that it should.
    However the Trace for Production shows the following : As a result it is allowing the user to change access to all management Entities. Which is not desirable..
    Resultant trace results are as below: This should not happen..
    I have compared all Analysis Authorizations and it is same across both Instances. The Demand planner access is consistent too..
    Will it be possible for you to advise on what could I be missing.

    Hi All,
    If it helps, in Quality: the Authorization checks are listed as: Subselection (Technical SUBNR) 1
    while in Production it checks Subselection (Technical SUBNR) 1 in one place, however where it fails - the check happens as Subselection (Technical SUBNR) 0.
    Is there a way we can change this to SUBNR 1. Is there any table entry that I can look at to check if the Authorization check is functioning incorrectly..
    Please advise.. Thanks..
    Regards,
    Prakash

  • New iMac extremely slow following migration (Help  with Etre Check diagnosis)

    Hi gurus,
    New iMac - scheduled for genius bar on Friday but trying to avoid the trip.  Migrated everything over from 2009 macbook pro to 2011 macbook and now 2013 iMac.  I imagine there is a lot of cruft from the repeated migrations and am close to just wiping and migrating from scratch.  I don't know, however, how to get my old mail and other critical settings over.
    Problem is clearly in the user account.  I created a separate admin account and that runs relatively fine.  Is the below user account salvageable? Should I delete all my old permissions?  Any tips would be appreciated.  Thanks for the Etrecheck program,
    Problem description:
    Application hangs and system unresponsive in migrated user account
    EtreCheck version: 2.1.8 (121)
    Report generated February 16, 2015 at 4:48:06 PM PST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (21.5-inch, Late 2013) (Technical Specifications)
        iMac - model: iMac14,1
        1 2.7 GHz Intel Core i5 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n/ac
    Video Information: ℹ️
        Intel Iris Pro
            iMac 1920 x 1080
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 4:51:57
    Disk Information: ℹ️
        APPLE HDD HTS541010A9E662 disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 999.35 GB (585.74 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        TOSHIBA External USB 3.0 2 TB
            EFI (disk3s1) <not mounted> : 210 MB
            Time Capsule (disk3s2) <not mounted> : 2.00 TB
        Western Digital My Book 1130 2 TB
            EFI (disk1s1) <not mounted> : 210 MB
            ACbook (disk1s2) <not mounted> : 2.00 TB
        Centon DataStick 30.93 GB
            EFI (disk2s1) <not mounted> : 210 MB
            Install OS X Yosemite (disk2s2) /Volumes/Install OS X Yosemite : 30.59 GB (25.27 GB free)
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.Cycling74.driver.Soundflower (1.4.2) [Click for support]
        [not loaded]    com.eltima.ElmediaPlayer.kext (1.58 - SDK 10.4) [Click for support]
        [not loaded]    com.logmein.hamachi (1.0) [Click for support]
        [not loaded]    com.seagate.driver.PowSecDriverCore (5.1.1) [Click for support]
        [not loaded]    com.wdc.driver.1394HP (1.0.7) [Click for support]
        [not loaded]    com.wdc.driver.USBHP (1.0.7) [Click for support]
        [loaded]    net.telestream.driver.TelestreamAudio (1.1.0 - SDK 10.8) [Click for support]
            /System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
        [not loaded]    com.seagate.driver.PowSecLeafDriver_10_4 (5.1.1) [Click for support]
        [not loaded]    com.seagate.driver.PowSecLeafDriver_10_5 (5.1.1) [Click for support]
        [not loaded]    com.seagate.driver.SeagateDriveIcons (5.1.1) [Click for support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.accountsd.plist
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.bird.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cloudd.plist
        [killed]    com.apple.cmfsyncagent.plist
        [killed]    com.apple.coreservices.appleid.authentication.plist
        [killed]    com.apple.coreservices.uiagent.plist
        [killed]    com.apple.iconservices.iconservicesagent.plist
        [killed]    com.apple.Maps.pushdaemon.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.pluginkit.pkd.plist
        [killed]    com.apple.recentsd.plist
        [killed]    com.apple.SafariNotificationAgent.plist
        [killed]    com.apple.sbd.plist
        [killed]    com.apple.scopedbookmarkagent.xpc.plist
        [killed]    com.apple.secd.plist
        [killed]    com.apple.secinitd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.tccd.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        23 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.AssetCacheLocatorService.plist
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.coresymbolicationd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.diagnosticd.plist
        [killed]    com.apple.GSSCred.plist
        [killed]    com.apple.iconservices.iconservicesagent.plist
        [killed]    com.apple.iconservices.iconservicesd.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.MobileFileIntegrity.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.periodic-daily.plist
        [killed]    com.apple.sandboxd.plist
        [killed]    com.apple.secinitd.plist
        [killed]    com.apple.softwareupdate_download_service.plist
        [killed]    com.apple.spindump.plist
        [killed]    com.apple.sysmond.plist
        [killed]    com.apple.systemstatsd.plist
        [killed]    com.apple.tccd.system.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    org.cups.cupsd.plist
        22 processes killed due to memory pressure
    Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [not loaded]    com.maintain.LogOut.plist [Click for support]
        [not loaded]    com.maintain.Restart.plist [Click for support]
        [not loaded]    com.maintain.ShutDown.plist [Click for support]
        [not loaded]    com.maintain.Sleep.plist [Click for support]
        [running]    com.maintain.SystemEvents.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [running]    com.seagate.SeagateStorageGauge.plist [Click for support]
        [loaded]    org.macosforge.xquartz.startx.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.bombich.ccchelper.plist [Click for support]
        [running]    com.crashplan.engine.plist [Click for support]
        [running]    com.eltima.ElmediaPlayer.daemon.plist [Click for support]
        [failed]    com.google.GoogleML.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.rogueamoeba.hermes.plist [Click for support]
        [failed]    com.vmware.launchd.vmware.plist [Click for support]
        [running]    com.zqueue.servetome-server.plist [Click for support]
        [loaded]    jp.co.canon.MasterInstaller.plist [Click for support]
        [loaded]    net.sourceforge.MonolingualHelper.plist [Click for support]
        [loaded]    org.macosforge.xquartz.privileged_startx.plist [Click for support]
    User Launch Agents: ℹ️
        [running]    .dat0598.40e (hidden) [Click for support]
            /usr/bin/osascript /usr/bin/osascript osascript -e tell application "Folder Actions Dispatcher" to tick
        [unknown]    .datdf56.40b (hidden) [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.amazon.cloud-player.plist [Click for support]
        [running]    com.amazon.music.plist [Click for support]
        [running]    com.microsoft.LaunchAgent.SyncServicesAgent.plist [Click for support]
        [running]    com.mlbam.nexdef.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        Canon IJ Network Scanner Selector2    UNKNOWN  (missing value)
        Dropbox    Application  (/Applications/Dropbox.app)
        ACbook    UNKNOWN  (missing value)
        CrashPlan menu bar    UNKNOWN  (missing value)
        CrashPlan menu bar    Application  (/Applications/CrashPlan.app/Contents/Helpers/CrashPlan menu bar.app)
        Canon IJ Network Scanner Selector EX    Application  (/Applications/Canon Utilities/IJ Network Scanner Selector EX/Canon IJ Network Scanner Selector EX.app)
        Caffeine    UNKNOWN  (missing value)
    Internet Plug-ins: ℹ️
        EPPEX Plugin: Version: 10.0 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        SlingPlayer: Version: Unknown - SDK 10.8 [Click for support]
        AdobePDFViewer: Version: 9.5.5 [Click for support]
        Leap Web Player: Version: LeapPlayer version 2.0.2f2 [Click for support]
        Unity Web Player: Version: UnityPlayer version 3.5.5f4 - SDK 10.6 [Click for support]
        nppanda3d: Version: Unknown [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        iPhotoPhotocast: Version: 7.0 - SDK 10.8
        RealPlayer Plugin: Version: Unknown [Click for support]
        QuickTime Plugin: Version: 7.7.3
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        DivXBrowserPlugin: Version: 1.4 [Click for support]
        Silverlight: Version: 4.0.60129.0 [Click for support]
        CoolirisWebKitPlugin: Version: Unknown [Click for support]
        Google Earth Web Plug-in: Version: 6.0 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Easy-WebPrint EX: Version: 1.0.0 [Click for support]
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Flip4Mac WMV Plugin: Version: 2.3.8.1 [Click for support]
        SharePointBrowserPlugin: Version: 14.4.3 - SDK 10.6 [Click for support]
        ContentUploaderPlugin: Version: 1.2 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
    User internet Plug-ins: ℹ️
        Picasa: Version: 1.0 [Click for support]
    3rd Party Preference Panes: ℹ️
        RCDefaultApp
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Java  [Click for support]
        Perian  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: NO - Auto backup turned off
        Volumes being backed up:
            Macintosh HD: Disk size: 999.35 GB Disk used: 413.60 GB
        Destinations:
            Untitled [Local]
            Total size: 0 B
            Total number of backups: 0
            Oldest backup: -
            Last backup: -
            Size of backup disk: Too small
                Backup size 0 B < (Disk used 413.60 GB X 3)
    Top Processes by CPU: ℹ️
            11%    BitdefenderVirusScanner
             7%    WindowServer
             1%    loginwindow
             0%    SystemUIServer
             0%    dpd
    Top Processes by Memory: ℹ️
        94 MB    BitdefenderVirusScanner
        60 MB    Finder
        34 MB    mds_stores
        26 MB    CrashPlanService
        26 MB    WindowServer
    Virtual Memory Information: ℹ️
        34 MB    Free RAM
        1.24 GB    Active RAM
        1.23 GB    Inactive RAM
        1.81 GB    Wired RAM
        37.21 GB    Page-ins
        1.05 GB    Page-outs
    Diagnostics Information: ℹ️
        Feb 16, 2015, 04:30:47 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/BitdefenderVirusScanner_2015-0 2-16-163047_[redacted].crash
        Feb 16, 2015, 02:41:32 PM    /Library/Logs/DiagnosticReports/firefox_2015-02-16-144132_[redacted].hang
        Feb 16, 2015, 02:40:05 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/garcon_2015-02-16-144005_[reda cted].crash
        Feb 16, 2015, 01:21:20 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/BitdefenderVirusScanner_2015-0 2-16-132120_[redacted].crash
        Feb 16, 2015, 11:56:57 AM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-16-115657_[redacted].cpu_resource.diag [Click for details]
        Feb 16, 2015, 11:50:54 AM    /Library/Logs/DiagnosticReports/com.zqueue.servetome-server_2015-02-16-115054_[ redacted].crash
        Feb 16, 2015, 11:49:07 AM    Self test - passed
        Feb 16, 2015, 09:55:04 AM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-16-095504_[redacted].cpu_resource.diag [Click for details]
        Feb 16, 2015, 09:44:52 AM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-16-094452_[redacted].cpu_resource.diag [Click for details]
        Feb 15, 2015, 03:02:01 PM    /Library/Logs/DiagnosticReports/ClamXav_2015-02-15-150201_[redacted].hang
        Feb 15, 2015, 02:58:45 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/garcon_2015-02-15-145845_[reda cted].crash
        Feb 15, 2015, 12:35:39 AM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-15-003539_[redacted].cpu_resource.diag [Click for details]
        Feb 15, 2015, 12:19:21 AM    /Library/Logs/DiagnosticReports/CrashPlanService_2015-02-15-001921_[redacted].c pu_resource.diag [Click for details]
        Feb 14, 2015, 11:45:36 PM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-14-234536_[redacted].cpu_resource.diag [Click for details]
        Feb 14, 2015, 07:00:58 PM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-14-190058_[redacted].cpu_resource.diag [Click for details]
        Feb 14, 2015, 03:54:47 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/ClamXav_2015-02-14-155447_[red acted].crash
        Feb 14, 2015, 03:18:24 PM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-14-151824_[redacted].cpu_resource.diag [Click for details]

    Everything is included below.  Shortly before I ran the script I disabled folder actions which appeared to have a bunch of redundant and scripts that were taking close to 6-7 gigs of ram,   It'll be interesting to review the below.  Thanks Mr. Davis, you are a major resource, 
    Start time: 09:12:51 02/17/15
    Revision: 1241
    Model Identifier: iMac14,1
    System Version: OS X 10.10.2 (14C109)
    Kernel Version: Darwin 14.1.0
    Time since boot: 7:55
    UID: 501
    USB
        My Book 1130 (Western Digital Technologies, Inc.)
        External USB 3.0 (Toshiba America Info. Systems, Inc.)
        DataStick (Alcor Micro, Corp.)
    Bluetooth
        Apple Magic Mouse
        Apple Wireless Keyboard
    Activity
        CPU: user 18%, system 19%
    CPU usage (%)
        mds (UID 0): 19.5
    I/O wait time (ms/s)
        mds (UID 0): 1156
        mdworker (UID 89): 186
    I/O requests (KiB/s)
        mds (UID 0): 4892
    System errors (per sec)
        mdworker (UID 89, error 2): 158
        mds (UID 0, error 2): 149
        mds (UID 0, error 20): 116
    Trusted certs (user)
        63.197.157.203
    Firewall: On
    Listeners
        kdc: kerberos
        launchd: afpovertcp
        launchd: microsoft-ds
        launchd: printer
        launchd: ssh
    System caches/logs
        1166 MB: /Library/Caches/CrashPlan/42/cpfmf
    Diagnostic reports
        2015-02-14 ClamXav crash
        2015-02-15 ClamXav hang
        2015-02-15 garcon crash
        2015-02-16 BitdefenderVirusScanner crash x2
        2015-02-16 Kernel gpuRestart
        2015-02-16 com.zqueue.servetome-server crash
        2015-02-16 firefox hang
        2015-02-16 garcon crash
    I/O errors
        disk3s2: data underrun 1
        disk1s2: do_jnl_io: strategy err 0x6 2
    Volumes
        disk0s2: /
        disk1s2: /Volumes/Install
        disk3s2: /Volumes/ACbook
        disk2s2: /Volumes/Time
    Kernel log
        Feb 15 09:48:38 warning: loginwindow(73) performed out-of-band resume on ClamXav(2059)
        Feb 15 09:48:38 warning: loginwindow(73) performed out-of-band resume on Console(2347)
        Feb 15 09:48:38 warning: loginwindow(73) performed out-of-band resume on iTunes(2727)
        Feb 15 09:48:43 IOAudioStream[0xffffff802f3abc00]::clipIfNecessary() - Error: counted 1 clip more than one buffer ahead errors.
        Feb 15 14:53:10 warning: loginwindow(73) performed out-of-band resume on ClamXav(2059)
        Feb 15 14:56:36 warning: loginwindow(73) performed out-of-band resume on ClamXav(2059)
        Feb 16 09:39:13 utun_start: ifnet_disable_output returned error 12
        Feb 16 10:07:25 Trying restart GPU ...
        Feb 16 11:43:50 jnl: disk1s2: write_journal_header: error writing the journal header!
        Feb 16 11:43:51 jnl: disk1s2: close: journal 0xffffff802b4daa80, is invalid.  aborting outstanding transactions
        Feb 16 11:51:14 utun_start: ifnet_disable_output returned error 12
        Feb 16 11:57:11 jnl: disk1s2: write_journal_header: error writing the journal header!
        Feb 16 11:57:11 jnl: disk1s2: close: journal 0xffffff8025c1cc20, is invalid.  aborting outstanding transactions
        Feb 16 14:22:43 Limiting closed port RST response from 423 to 250 packets per second
        Feb 16 14:24:06 Limiting closed port RST response from 264 to 250 packets per second
        Feb 16 14:24:28 Limiting closed port RST response from 324 to 250 packets per second
        Feb 16 14:24:42 Limiting closed port RST response from 251 to 250 packets per second
        Feb 17 01:18:41 Sleep failure code 0x00000088 0x14006700
        Feb 17 01:18:41 System was rebooted due to Sleep/Wake failure
        Feb 17 01:18:41 Failed to open swap file 30
        Feb 17 01:18:41 vm_swap_create_file failed @ 19 secs
        Feb 17 01:18:41 USBF:    20.861    AppleUSBHubPort::FatalError - Port 1 of Hub at 0x14800000 reported error 0xe00002ed while doing getting port status (4)
        Feb 17 01:18:41 USBF:    20.861    AppleUSBHubPort::FatalError - Port 1 of Hub at 0x14800000 reported error 0xe00002c0 while doing clearing port feature (2)
        Feb 17 01:19:29 utun_start: ifnet_disable_output returned error 12
        Feb 17 08:10:16 [IOBluetoothHCIController][handleACLPacketTimeout] -- Disconnecting due to device not responding (ACL Packet timed out) for connection handle 0x40
    System log
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:09:31 WindowServer disable_update_timeout: UI updates were forcibly disabled by application "Safari" for over 1.00 seconds. Server has re-enabled them.
        Feb 17 09:09:31 WindowServer WSGetSurfaceInWindow : Invalid surface 687364876 for window 227
        Feb 17 09:09:37 WindowServer disable_update_timeout: UI updates were forcibly disabled by application "Safari" for over 1.00 seconds. Server has re-enabled them.
        Feb 17 09:09:38 WindowServer WSGetSurfaceInWindow : Invalid surface 1046946449 for window 227
    Console log
        Feb 17 07:47:09 nsurlstoraged The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 17 07:47:09 nsurlstoraged realpath() returned NULL for /Users/USER/Library/Caches/com.apple.icloud.fmfd
        Feb 17 07:47:09 nsurlstoraged realpath() returned NULL for /Users/USER/Library/Caches/com.apple.icloud.fmfd
        Feb 17 07:47:53 nsurlstoraged realpath() returned NULL for /Users/USER/Library/Caches/com.apple.icloud.fmfd
        Feb 17 07:47:53 nsurlstoraged The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 17 07:47:53 nsurlstoraged realpath() returned NULL for /Users/USER/Library/Caches/com.apple.icloud.fmfd
        Feb 17 07:47:53 nsurlstoraged realpath() returned NULL for /Users/USER/Library/Caches/com.apple.icloud.fmfd
        Feb 17 07:54:18 ReportCrash Invoking spindump for pid=9255 wakeups_rate=757 duration=60 because of excessive wakeups
        Feb 17 07:54:59 ReportCrash Invoking spindump for pid=9269 wakeups_rate=1144 duration=40 because of excessive wakeups
        Feb 17 08:09:53 ReportCrash Invoking spindump for pid=417 wakeups_rate=252 duration=179 because of excessive wakeups
        Feb 17 08:15:34 ReportCrash Invoking spindump for pid=9290 wakeups_rate=203 duration=222 because of excessive wakeups
        Feb 17 08:18:12 ReportCrash Invoking spindump for pid=6328 wakeups_rate=185 duration=244 because of excessive wakeups
        Feb 17 08:28:18 ReportCrash Invoking spindump for pid=9314 wakeups_rate=3955 duration=12 because of excessive wakeups
        Feb 17 08:32:28 ReportCrash Invoking spindump for pid=9321 wakeups_rate=609 duration=74 because of excessive wakeups
        Feb 17 08:36:08 ReportCrash Invoking spindump for pid=9331 wakeups_rate=573 duration=79 because of excessive wakeups
        Feb 17 08:38:36 ReportCrash Invoking spindump for pid=9348 wakeups_rate=1503 duration=30 because of excessive wakeups
        Feb 17 08:41:49 ReportCrash Invoking spindump for pid=9378 wakeups_rate=725 duration=63 because of excessive wakeups
        Feb 17 08:45:39 ReportCrash Invoking spindump for pid=9390 wakeups_rate=398 duration=114 because of excessive wakeups
        Feb 17 08:49:04 ReportCrash Invoking spindump for pid=9420 thread=174222 percent_cpu=63 duration=143 because of excessive cpu utilization
        Feb 17 08:50:57 nsurlstoraged Error: execSQLStatement:onConnection:toCompletionWithRetry - SQL=COMMIT;, error-code=1, error-message=cannot commit - no transaction is active
        Feb 17 08:51:18 mdworker Error loading /Applications/GarageBand.app/Contents/Library/Spotlight/GarageBandSpotlightImpo rter.mdimporter/Contents/MacOS/GarageBandSpotlightImporter:  dlopen(/Applications/GarageBand.app/Contents/Library/Spotlight/GarageBandSpotli ghtImporter.mdimporter/Contents/MacOS/GarageBandSpotlightImporter, 262): Library not loaded: @rpath/MAFiles.framework/Versions/A/MAFiles
         Referenced from: /Applications/GarageBand.app/Contents/Library/Spotlight/GarageBandSpotlightImpo rter.mdimporter/Contents/MacOS/GarageBandSpotlightImporter
         Reason: image not found
        Feb 17 08:51:18 mdworker Cannot find function pointer MetadataImporterPluginFactory for factory UUID in CFBundle/CFPlugIn 0x7f8b9870c650 </Applications/GarageBand.app/Contents/Library/Spotlight/GarageBandSpotlightImp orter.mdimporter> (bundle, not loaded)
        Feb 17 09:10:19 nsurlstoraged ERROR: unable to get the receiver data from the DB!
    Loaded kernel extensions
        net.telestream.driver.TelestreamAudio (1.1.0)
    Daemons
        com.adobe.fpsaud
        com.apple.AccountPolicyHelper
        com.apple.CodeSigningHelper
        com.apple.Kerberos.kdc
        - status: 1
        com.apple.MobileFileIntegrity
        com.apple.aelwriter
        com.apple.awdd
        com.apple.cache_delete
        com.apple.cfprefsd.xpc.daemon
        com.apple.coreduetd
        com.apple.coresymbolicationd
        com.apple.ctkd
        com.apple.diagnosticd
        com.apple.dpd
        - status: 75
        com.apple.icloud.findmydeviced
        com.apple.iconservices.iconservicesagent
        com.apple.iconservices.iconservicesd
        com.apple.ifdreader
        com.apple.nehelper
        com.apple.networkd_privileged
        com.apple.nsurlsessiond_privileged
        com.apple.nsurlstoraged
        com.apple.periodic-daily
        com.apple.periodic-weekly
        com.apple.sandboxd
        com.apple.secinitd
        com.apple.softwareupdate_download_service
        com.apple.softwareupdated
        com.apple.spindump
        com.apple.sysmond
        com.apple.systemstatsd
        com.apple.tccd.system
        com.apple.watchdogd
        com.apple.wdhelper
        com.bombich.ccchelper
        com.eltima.ElmediaPlayer.daemon
        com.google.GoogleML
        - status: 1
        com.google.keystone.daemon
        com.microsoft.office.licensing.helper
        com.oracle.java.Helper-Tool
        com.rogueamoeba.hermes
        com.vmware.launchd.vmware
        - status: 78
        com.zqueue.servetome-server
        jp.co.canon.MasterInstaller
        net.sourceforge.MonolingualHelper
        org.cups.cupsd
        org.macosforge.xquartz.privileged_startx
    Agents
        com.adobe.ARM.UUID
        com.amazon.cloud-player
        - status: 78
        com.amazon.music
        com.apple.Safari
        com.apple.photostream-agent
        com.google.keystone.system.agent
        com.maintain.SystemEvents
        com.microsoft.SyncServicesAgent
        com.mlbam.nexdef
        com.oracle.java.Java-Updater
        com.seagate.SeagateStorageGauge.plist
        org.macosforge.xquartz.startx
    User overrides
        com.apple.imagent.monaco
        com.apple.FTMonitor
        com.apple.apsd-ft
    User login items
        iTunesHelper
        - /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app
        Canon IJ Network Scanner Selector2
        - missing value
        Dropbox
        - /Applications/Dropbox.app
        ACbook
        - /Volumes/ACbook
        CrashPlan menu bar
        - missing value
        CrashPlan menu bar
        - /Applications/CrashPlan.app/Contents/Helpers/CrashPlan menu bar.app
        Canon IJ Network Scanner Selector EX
        - /Applications/Canon Utilities/IJ Network Scanner Selector EX/Canon IJ Network Scanner Selector EX.app
        Caffeine
        - missing value
    Firefox extensions
        Mozilla Firefox hotfix
        Hide My ***! Web Proxy
        FoxyProxy Standard
        Jesper Staun Hansen
        Torrent Tornado
        Torrent Finder Toolbar
    Widgets
        iStat nano
    iCloud errors
        bird 405
        cloudd 68
        CallHistorySyncHelper 6
        Safari 4
        accountsd 2
    Continuity errors
        lsuseractivityd 8
        Safari 2
    Restricted files: 43
    Lockfiles: 22
    Accessibility
        Keyboard Zoom: On
        Scroll Zoom: On
    Contents of /Library/LaunchAgents/com.maintain.LogOut.plist
        - mod date: Feb  9 20:01:50 2015
        - checksum: 2486542021
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.maintain.LogOut</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/bin/osascript</string>
        <string>-e</string>
        <string>delay 3</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>do shell script &quot;killall Cocktail&quot;</string>
        <string>-e</string>
        <string>end try</string>
        <string>-e</string>
        <string>ignoring application responses</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>tell application &quot;System Events&quot; to log out</string>
        ...and 7 more line(s)
    Contents of /Library/LaunchAgents/com.maintain.Restart.plist
        - mod date: Feb  9 19:55:16 2015
        - checksum: 1856196442
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.maintain.Restart</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/bin/osascript</string>
        <string>-e</string>
        <string>delay 3</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>do shell script &quot;killall Cocktail&quot;</string>
        <string>-e</string>
        <string>end try</string>
        <string>-e</string>
        <string>ignoring application responses</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>tell application &quot;System Events&quot; to restart</string>
        ...and 7 more line(s)
    Contents of /Library/LaunchAgents/com.maintain.ShutDown.plist
        - mod date: Feb  9 19:55:17 2015
        - checksum: 2131448796
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.maintain.ShutDown</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/bin/osascript</string>
        <string>-e</string>
        <string>delay 3</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>do shell script &quot;killall Cocktail&quot;</string>
        <string>-e</string>
        <string>end try</string>
        <string>-e</string>
        <string>ignoring application responses</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>tell application &quot;System Events&quot; to shut down</string>
        ...and 7 more line(s)
    Contents of /Library/LaunchAgents/com.maintain.Sleep.plist
        - mod date: Feb  9 20:01:53 2015
        - checksum: 2684026111
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.maintain.Sleep</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/bin/osascript</string>
        <string>-e</string>
        <string>delay 3</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>do shell script &quot;killall Cocktail&quot;</string>
        <string>-e</string>
        <string>end try</string>
        <string>-e</string>
        <string>ignoring application responses</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>tell application &quot;System Events&quot; to sleep</string>
        ...and 7 more line(s)
    Contents of /Library/LaunchAgents/com.maintain.SystemEvents.plist
        - mod date: Feb  9 19:55:17 2015
        - checksum: 1297325733
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <false/>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.maintain.SystemEvents</string>
        <key>ProgramArguments</key>
        <array>
        <string>/System/Library/CoreServices/System Events.app/Contents/MacOS/System Events</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
        - mod date: Feb  6 15:45:52 2015
        - checksum: 655956191
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.oracle.java.Java-Updater</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater</string>
        <string>-bgcheck</string>
        </array>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        <key>StartCalendarInterval</key>
        <dict>
        <key>Hour</key>
        <integer>17</integer>
        <key>Minute</key>
        <integer>49</integer>
        <key>Weekday</key>
        <integer>1</integer>
        </dict>
        </dict>
        ...and 1 more line(s)
    Contents of /Library/LaunchAgents/com.seagate.SeagateStorageGauge.plist
        - mod date: Mar 10 08:38:47 2010
        - checksum: 3262128215
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <!--
           com.seagate.SeagateStorageGauge.plist
           SeagateDiagnostics
           Created by John Brisbin on 3/10/10.
           Copyright 2010 Seagate Technologies LLC.. All rights reserved.
        -->
        <plist version="1.0">
        <dict>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.seagate.SeagateStorageGauge.plist</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/Seagate/Seagate Storage Gauge.app/Contents/MacOS/Seagate Storage Gauge</string>
        <string>-doautolnch</string>
        <string>/Library/Application Support/Seagate/Seagate Storage Gauge.app</string>
        </array>
        <key>RunAtLoad</key>
        ...and 3 more line(s)
    Contents of /Library/LaunchDaemons/com.bombich.ccchelper.plist
        - mod date: Feb  6 13:35:20 2015
        - checksum: 495358405
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.bombich.ccchelper</string>
        <key>MachServices</key>
        <dict>
        <key>com.bombich.ccchelper</key>
        <true/>
        </dict>
        <key>Program</key>
        <string>/Library/PrivilegedHelperTools/com.bombich.ccchelper</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.bombich.ccchelper</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.crashplan.engine.plist
        - mod date: Jan 10 11:46:36 2015
        - checksum: 757054163
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.crashplan.engine</string>
        <key>UserName</key>
        <string>root</string>
        <key>GroupName</key>
        <string>wheel</string>
        <key>Nice</key>
        <integer>20</integer>
        <key>KeepAlive</key>
        <true/>
        <key>OnDemand</key>
        <false/>
        <key>RunAtLoad</key>
        <true/>
        <key>AbandonProcessGroup</key>
        <true/>
        <key>WorkingDirectory</key>
        <string>/Applications/CrashPlan.app/Contents/Resources/Java</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/CrashPlan.app/Contents/MacOS/CrashPlanService</string>
        ...and 26 more line(s)
    Contents of /Library/LaunchDaemons/com.eltima.ElmediaPlayer.daemon.plist
        - mod date: Oct  9 06:40:45 2012
        - checksum: 1274124936
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <false/>
        <key>KeepAlive</key>
        <false/>
        <key>Label</key>
        <string>com.eltima.ElmediaPlayer.daemon</string>
        <key>LaunchOnlyOnce</key>
        <true/>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/ElmediaPlayer/empdaemon</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.google.GoogleML.plist
        - mod date: Mar 10 10:19:30 2008
        - checksum: 315725308
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.google.GoogleML</string>
        <key>OnDemand</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Google/GoogleML/GoogleML.bundle/Contents/MacOS/googleml-modwat ch</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        <key>UserName</key>
        <string>root</string>
        <key>WatchPaths</key>
        <array>
        <string>/Library/Google/GoogleML/Modules</string>
        <string>/Library/Google/GoogleML</string>
        </array>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.rogueamoeba.hermes.plist
        - mod date: Jul 15 21:05:58 2008
        - checksum: 1539233627
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>GroupName</key>
        <string>wheel</string>
        <key>Label</key>
        <string>com.rogueamoeba.hermes</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/local/hermes/bin/hermesctl</string>
        <string>update</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>ServiceIPC</key>
        <true/>
        <key>UserName</key>
        <string>root</string>
        <key>WatchPaths</key>
        <array>
        <string>/usr/local/hermes/modules</string>
        </array>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.vmware.launchd.vmware.plist
        - mod date: Nov  2 16:11:08 2007
        - checksum: 1467462916
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
                "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
                <key>Label</key>
                <string>com.vmware.launchd.vmware</string>
                <key>ProgramArguments</key>
                <array>
                        <string>/Library/Application Support/VMware Fusion/boot.sh</string>
                        <string>--start</string>
                </array>
                <key>RunAtLoad</key>
                <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.zqueue.servetome-server.plist
        - mod date: Sep 22 07:54:14 2014
        - checksum: 1392131937
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>KeepAlive</key>
        <dict>
        <key>PathState</key>
        <dict>
        <key>/Library/Application Support/ServeToMe/incoming/settings.xml</key>
        <true/>
        </dict>
        <key>SuccessfulExit</key>
        <false/>
        </dict>
        <key>Label</key>
        <string>com.zqueue.servetome-server</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.zqueue.servetome-server</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>ThrottleInterval</key>
        <integer>5</integer>
        </dict>
        ...and 1 more line(s)
    Contents of /Library/LaunchDaemons/jp.co.canon.MasterInstaller.plist
        - mod date: Nov 11 12:21:11 2014
        - checksum: 4111951265
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>jp.co.canon.MasterInstaller</string>
        <key>Program</key>
        <string>/Library/PrivilegedHelperTools/jp.co.canon.MasterInstaller</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/jp.co.canon.MasterInstaller</string>
        </array>
        <key>ServiceIPC</key>
        <true/>
        <key>Sockets</key>
        <dict>
        <key>MasterSocket</key>
        <dict>
        <key>SockFamily</key>
        <string>Unix</string>
        <key>SockPathMode</key>
        <integer>438</integer>
        <key>SockPathName</key>
        <string>/var/run/jp.co.canon.MasterInstaller.socket</string>
        <key>SockType</key>
        ...and 5 more line(s)
    Contents of /Library/LaunchDaemons/net.sourceforge.MonolingualHelper.plist
        - mod date: Sep 16 12:53:32 2012
        - checksum: 4229206510
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>net.sourceforge.MonolingualHelper</string>
        <key>MachServices</key>
        <dict>
        <key>net.sourceforge.MonolingualHelper</key>
        <true/>
        </dict>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/net.sourceforge.MonolingualHelper</strin g>
        </array>
        </dict>
        </plist>
    Contents of /System/Library/Security/authorization.plist
        - mod date: Jan  7 19:31:13 2015
        - checksum: 2720110640
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>comment</key>
        <string>The name of the requested right is matched against the keys.  An exact match has priority, otherwise the longest match from the start is used. Note that the right will only match wildcard rules (ending in a ".") during this reduction.
        allow rule: this is always allowed
        &lt;key&gt;com.apple.TestApp.benign&lt;/key&gt;
        &lt;string&gt;allow&lt;/string&gt;
        deny rule: this is always denied
        &lt;key&gt;com.apple.TestApp.dangerous&lt;/key&gt;
        &lt;string&gt;deny&lt;/string&gt;
        user rule: successful authentication as a user in the specified group(5) allows the associated right.
        The shared property specifies whether a credential generated on success is shared with other apps (i.e., those in the same "session"). This property defaults to false if not specified.
        The timeout property specifies the maximum age of a (cached/shared) credential accepted for this rule.
        The allow-root property specifies whether a right should be allowed automatically if the requesting process is running with uid == 0.  This defaults to false if not specified.
        See remaining rules for examples.
        </string>
        <key>rights</key>
        <dict>
        <key></key>
        <dict>
        <key>class</key>
        <string>rule</string>
        <key>comment</key>
        ...and 1850 more line(s)
    Contents of /private/etc/authorization.deprecated
        - mod date: Sep 30 13:39:21 2013
        - checksum: 2773682028
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>comment</key>
        <string>The name of the requested right is matched against the keys.  An exact match has priority, otherwise the longest match from the start is used. Note that the right will only match wildcard rules (ending in a ".") during this reduction.
        allow rule: this is always allowed
        &lt;key&gt;com.apple.TestApp.benign&lt;/key&gt;
        &lt;string&gt;allow&lt;/string&gt;
        deny rule: this is always denied
        &lt;key&gt;com.apple.TestApp.dangerous&lt;/key&gt;
        &lt;string&gt;deny&lt;/string&gt;
        user rule: successful authentication as a user in the specified group(5) allows the associated right.
        The shared property specifies whether a credential generated on success is shared with other apps (i.e., those in the same "session"). This property defaults to false if not specified.
        The timeout property specifies the maximum age of a (cached/shared) credential accepted for this rule.
        The allow-root property specifies whether a right should be allowed automatically if the requesting process is running with uid == 0.  This defaults to false if not specified.
        See remaining rules for examples.
        </string>
        <key>rights</key>
        <dict>
        <key></key>
        <dict>
        <key>class</key>
        <string>rule</string>
        <key>comment</key>
        ...and 9729 more line(s)
    Contents of /private/etc/ssh_config
        - mod date: Oct  1 12:06:10 2012
        - checksum: 1281775184
         Host *
           SendEnv LANG LC_*
        Host *
            XAuthLocation /opt/X11/bin/xauth
    Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
        - mod date: Aug 21 15:00:01 2010
        - checksum: 2170691092
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.adobe.ARM.UUID</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Adobe Reader 9/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>12600</integer>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.amazon.cloud-player.plist
        - mod date: Feb 22 10:43:22 2014
        - checksum: 2707474481
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>EnableTransactions</key>
        <false/>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.amazon.cloud-player</string>
        <key>Program</key>
        <string>/Applications/Amazon Cloud Player.app/Contents/MacOS/Amazon Music Helper</string>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.amazon.music.plist
        - mod date: Jan 12 15:51:16 2015
        - checksum: 3668832669
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>EnableTransactions</key>
        <false/>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.amazon.music</string>
        <key>Program</key>
        <string>/Applications/Amazon Music.app/Contents/MacOS/Amazon Music Helper</string>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.apple.FolderActions.folders.plist
        - mod date: Feb 17 09:08:58 2015
        - checksum: 1189540302
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.apple.FolderActions.folders</string>
        <key>Program</key>
        <string>/usr/bin/osascript</string>
        <key>ProgramArguments</key>
        <array>
        <string>osascript</string>
        <string>-e</string>
        <string>tell application "Folder Actions Dispatcher" to tick</string>
        </array>
        <key>WatchPaths</key>
        <array/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.apple.SafariBookmarksSyncer.plist
        - mod date: Jul 31 12:13:01 2010
        - checksum: 2859079559
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.apple.Safari</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Safari.app/Contents/SafariSyncClient.app/Contents/MacOS/S afariSyncClient</string>
        <string>--sync</string>
        <string>com.apple.Safari</string>
        <string>--entitynames</string>
        <string>com.apple.bookmarks.Bookmark,com.apple.bookmarks.Folder</string>
        </array>
        <key>RunAtLoad</key>
        <false/>
        <key>ThrottleInterval</key>
        <integer>60</integer>
        <key>WatchPaths</key>
        <array>
        <string>/Users/USER/Library/Safari/Bookmarks.plist</string>
        </array>
        </dict>
        ...and 1 more line(s)
    Contents of Library/LaunchAgents/com.microsoft.LaunchAgent.SyncServicesAgent.plist
        - mod date: Feb 17 01:22:03 2015

  • Help with Java script

    So , I edited the ITunes.java as described in the Admin guide.Copied the .class to my cgi folder in the server.I copied the itunesu file from the shell folder of the sample code.I have modified it accordingly.But when I run it in browser(Firefox) as ..../cgi-bin/itunesu it just gives me a blank page.Nothing shows up.I ran the ITunes.java file locally and it generates an HTML output, which I copied and created a new html.After I run this HTML file, it opens my itunes, but again it says page not found and url contains https://www.xxx.edu/cgi-bin/itunesu?destination=xxx.edu where xxx is my institution name.Not sure if I am supposed to display my institution name in forum.
    The admin guide says on page 15 step 4.Copy the itunes.class file and other itunes file to your web server's cgi-bin directory.
    I am not quiet sure what does other itunes file mean??
    This is how my .java file looks.
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.util.*;
    * The <CODE>ITunesU</CODE> class permits the secure transmission
    * of user credentials and identity between an institution's
    * authentication and authorization system and iTunes U.
    * The code in this class can be tested by
    * running it with the following commands:
    * <PRE>
    * javac ITunesU.java
    * java ITunesU</PRE>
    * Changes to values defined in this class' main() method must
    * be made before it will succesfully communicate with iTunes U.
    public class ITunesU extends Object {
    * Generate the HMAC-SHA256 signature of a message string, as defined in
    * RFC 2104.
    * @param message The string to sign.
    * @param key The bytes of the key to sign it with.
    * @return A hexadecimal representation of the signature.
    public String hmacSHA256(String message, byte[] key) {
    // Start by getting an object to generate SHA-256 hashes with.
    MessageDigest sha256 = null;
    try {
    sha256 = MessageDigest.getInstance("SHA-256");
    } catch (NoSuchAlgorithmException e) {
    throw new java.lang.AssertionError(
    this.getClass().getName()
    + ".hmacSHA256(): SHA-256 algorithm not found!");
    // Hash the key if necessary to make it fit in a block (see RFC 2104).
    if (key.length > 64) {
    sha256.update(key);
    key = sha256.digest();
    sha256.reset();
    // Pad the key bytes to a block (see RFC 2104).
    byte block[] = new byte[64];
    for (int i = 0; i < key.length; ++i) block = key;
    for (int i = key.length; i < block.length; ++i) block = 0;
    // Calculate the inner hash, defined in RFC 2104 as
    // SHA-256(KEY ^ IPAD + MESSAGE)), where IPAD is 64 bytes of 0x36.
    for (int i = 0; i < 64; ++i) block ^= 0x36;
    sha256.update(block);
    try {
    sha256.update(message.getBytes("UTF-8"));
    } catch (UnsupportedEncodingException e) {
    throw new java.lang.AssertionError(
    "ITunesU.hmacSH256(): UTF-8 encoding not supported!");
    byte[] hash = sha256.digest();
    sha256.reset();
    // Calculate the outer hash, defined in RFC 2104 as
    // SHA-256(KEY ^ OPAD + INNER_HASH), where OPAD is 64 bytes of 0x5c.
    for (int i = 0; i < 64; ++i) block ^= (0x36 ^ 0x5c);
    sha256.update(block);
    sha256.update(hash);
    hash = sha256.digest();
    // The outer hash is the message signature...
    // convert its bytes to hexadecimals.
    char[] hexadecimals = new char[hash.length * 2];
    for (int i = 0; i < hash.length; ++i) {
    for (int j = 0; j < 2; ++j) {
    int value = (hash >> (4 - 4 * j)) & 0xf;
    char base = (value < 10) ? ('0') : ('a' - 10);
    hexadecimals[i * 2 + j] = (char)(base + value);
    // Return a hexadecimal string representation of the message signature.
    return new String(hexadecimals);
    * Combine user credentials into an appropriately formatted string.
    * @param credentials An array of credential strings. Credential
    * strings may contain any character but ';'
    * (semicolon), '\\' (backslash), and control
    * characters (with ASCII codes 0-31 and 127).
    * @return <CODE>null</CODE> if and only if any of the credential strings
    * are invalid.
    public String getCredentialsString(String[] credentials) {
    // Create a buffer with which to generate the credentials string.
    StringBuffer buffer = new StringBuffer();
    // Verify and add each credential to the buffer.
    if (credentials != null) {
    for (int i = 0; i < credentials.length; ++i) {
    if (i > 0) buffer.append(';');
    for (int j = 0, n = credentials.length(); j < n; ++j) {
    char c = credentials.charAt(j);
    if (c != ';' && c != '\\' && c >= ' ' && c != 127) {
    buffer.append(c);
    } else {
    return null;
    // Return the credentials string.
    return buffer.toString();
    * Combine user identity information into an appropriately formatted string.
    * @param displayName The user's name (optional).
    * @param emailAddress The user's email address (optional).
    * @param username The user's username (optional).
    * @param userIdentifier A unique identifier for the user (optional).
    * @return A non-<CODE>null</CODE> user identity string.
    public String getIdentityString(String displayName, String emailAddress,
    String username, String userIdentifier) {
    // Create a buffer with which to generate the identity string.
    StringBuffer buffer = new StringBuffer();
    // Define the values and delimiters of each of the string's elements.
    String[] values = { displayName, emailAddress,
    username, userIdentifier };
    char[][] delimiters = { { '"', '"' }, { '<'(', ')' }, { '[', ']' } };
    // Add each element to the buffer, escaping
    // and delimiting them appropriately.
    for (int i = 0; i < values.length; ++i) {
    if (values != null) {
    if (buffer.length() > 0) buffer.append(' ');
    buffer.append(delimiters[0]);
    for (int j = 0, n = values.length(); j < n; ++j) {
    char c = values.charAt(j);
    if (c == delimiters[1] || c == '\\') buffer.append('\\');
    buffer.append(c);
    buffer.append(delimiters[1]);
    // Return the generated string.
    return buffer.toString();
    * Generate an iTunes U digital signature for a user's credentials
    * and identity. Signatures are usually sent to iTunes U along
    * with the credentials, identity, and a time stamp to warrant
    * to iTunes U that the credential and identity values are
    * officially sanctioned. For such uses, it will usually makes
    * more sense to use an authorization token obtained from the
    * {@link #getAuthorizationToken(java.lang.String, java.lang.String, java.util.Date, byte[])}
    * method than to use a signature directly: Authorization
    * tokens include the signature but also the credentials, identity,
    * and time stamp, and have those conveniently packaged in
    * a format that is easy to send to iTunes U over HTTPS.
    * @param credentials The user's credentials string, as
    * obtained from getCredentialsString().
    * @param identity The user's identity string, as
    * obtained from getIdentityString().
    * @param time Signature time stamp.
    * @param key The bytes of your institution's iTunes U shared secret key.
    * @return A hexadecimal representation of the signature.
    public String getSignature(String credentials, String identity,
    Date time, byte[] key) {
    // Create a buffer in which to format the data to sign.
    StringBuffer buffer = new StringBuffer();
    // Generate the data to sign.
    try {
    // Start with the appropriately encoded credentials.
    buffer.append("credentials=");
    buffer.append(URLEncoder.encode(credentials, "UTF-8"));
    // Add the appropriately encoded identity information.
    buffer.append("&identity=");
    buffer.append(URLEncoder.encode(identity, "UTF-8"));
    // Add the appropriately formatted time stamp. Note that
    // the time stamp is expressed in seconds, not milliseconds.
    buffer.append("&time=");
    buffer.append(time.getTime() / 1000);
    } catch (UnsupportedEncodingException e) {
    // UTF-8 encoding support is required.
    throw new java.lang.AssertionError(
    "ITunesU.getSignature(): UTF-8 encoding not supported!");
    // Generate and return the signature.
    String signature = this.hmacSHA256(buffer.toString(), key);
    return signature;
    * Generate and sign an authorization token that you can use to securely
    * communicate to iTunes U a user's credentials and identity. The token
    * includes all the data you need to communicate to iTunes U as well as
    * a creation time stamp and a digital signature for the data and time.
    * @param credentials The user's credentials string, as
    * obtained from getCredentialsString().
    * @param identity The user's identity string, as
    * obtained from getIdentityString().
    * @param time Token time stamp. The token will only be valid from
    * its time stamp time and for a short time thereafter
    * (usually 90 seconds).
    * @param key The bytes of your institution's iTunes U shared secret key.
    * @return The authorization token. The returned token will
    * be URL-encoded and can be sent to iTunes U with
    * a form
    * submission. iTunes U will typically respond with
    * HTML that should be sent to the user's browser.
    public String getAuthorizationToken(String credentials, String identity,
    Date time, byte[] key) {
    // Create a buffer with which to generate the authorization token.
    StringBuffer buffer = new StringBuffer();
    // Generate the authorization token.
    try {
    // Start with the appropriately encoded credentials.
    buffer.append("credentials=");
    buffer.append(URLEncoder.encode(credentials, "UTF-8"));
    // Add the appropriately encoded identity information.
    buffer.append("&identity=");
    buffer.append(URLEncoder.encode(identity, "UTF-8"));
    // Add the appropriately formatted time stamp. Note that
    // the time stamp is expressed in seconds, not milliseconds.
    buffer.append("&time=");
    buffer.append(time.getTime() / 1000);
    // Generate and add the token signature.
    String data = buffer.toString();
    buffer.append("&signature=");
    buffer.append(this.hmacSHA256(data, key));
    } catch (UnsupportedEncodingException e) {
    // UTF-8 encoding support is required.
    throw new java.lang.AssertionError(
    "ITunesU.getAuthorizationToken(): "
    + "UTF-8 encoding not supported!");
    // Return the signed authorization token.
    return buffer.toString();
    * Send a request for an action to iTunes U with an authorization token.
    * @param url URL defining how to communicate with iTunes U and
    * identifying which iTunes U action to invoke and which iTunes
    * U page or item to apply the action to. Such URLs have a
    * format like <CODE>[PREFIX]/[ACTION]/[DESTINATION]</CODE>,
    * where <CODE>[PREFIX]</CODE> is a value like
    * "https://deimos.apple.com/WebObjects/Core.woa" which defines
    * how to communicate with iTunes U, <CODE>[ACTION]</CODE>
    * is a value like "Browse" which identifies which iTunes U
    * action to invoke, and <CODE>[DESTINATION]</CODE> is a value
    * like "example.edu" which identifies which iTunes U page
    * or item to apply the action to. The destination string
    * "example.edu" refers to the root page of the iTunes U site
    * identified by the domain "example.edu". Destination strings
    * for other items within that site contain the site domain
    * followed by numbers separated by periods. For example:
    * "example.edu.123.456.0789". You can find these
    * strings in the items' URLs, which you can obtain from
    * iTunes. See the iTunes U documentation for details.
    * @param token Authorization token generated by getAuthorizationToken().
    * @return The iTunes U response, which may be HTML or
    * text depending on the type of action invoked.
    public String invokeAction(String url, String token) {
    // Send a request to iTunes U and record the response.
    StringBuffer response = null;
    try {
    // Verify that the communication will be over SSL.
    if (!url.startsWith("https")) {
    throw new MalformedURLException(
    "ITunesU.invokeAction(): URL \""
    + url + "\" does not use HTTPS.");
    // Create a connection to the requested iTunes U URL.
    HttpURLConnection connection =
    (HttpURLConnection)new URL(url).openConnection();
    connection.setUseCaches(false);
    connection.setDoOutput(true);
    connection.setRequestMethod("POST");
    connection.setRequestProperty(
    "Content-Type",
    "application/x-www-form-urlencoded; charset=UTF-8");
    // Send the authorization token to iTunes U.
    connection.connect();
    OutputStream output = connection.getOutputStream();
    output.write(token.getBytes("UTF-8"));
    output.flush();
    output.close();
    // Read iTunes U's response.
    response = new StringBuffer();
    InputStream input = connection.getInputStream();
    Reader reader = new InputStreamReader(input, "UTF-8");
    reader = new BufferedReader(reader);
    char[] buffer = new char[16 * 1024];
    for (int n = 0; n >= 0;) {
    n = reader.read(buffer, 0, buffer.length);
    if (n > 0) response.append(buffer, 0, n);
    // Clean up.
    input.close();
    connection.disconnect();
    } catch (UnsupportedEncodingException e) {
    // ITunes U requires UTF-8 and ASCII encoding support.
    throw new java.lang.AssertionError(
    "ITunesU.invokeAction(): UTF-8 encoding not supported!");
    } catch (IOException e) {
    // Report communication problems.
    throw new java.lang.AssertionError(
    "ITunesU.invokeAction(): I/O Exception " + e);
    // Return the response received from iTunes U.
    return response.toString();
    * iTunes U credential and identity transmission sample. When your
    * itunes U site is initially created, Apple will send your institution's
    * technical contact a welcome email with a link to an iTunes U page
    * containing the following information, which you will need to customize
    * this method's code for your site:
    <DD><DL><DT>
    * Information:<DD><CODE>
    * Site URL</CODE> - The URL to your site in iTunes U. The last
    * component of that URL, after the last slash,
    * is a domain name that uniquely identifies your
    * site within iTunes U.<DD><CODE>
    * shared secret</CODE> - A secret key known only to you and Apple that
    * allows you to control who has access to your
    * site and what access they have to it.<DD><CODE>
    * debug suffix</CODE> - A suffix you can append to your site URL
    * to obtain debugging information about the
    * transmission of credentials and identity
    * information from your institution's
    * authentication and authorization services
    * to iTunes U.<DD><CODE>
    * administrator credential</CODE> - The credential string to assign
    * to users who should have the
    * permission to administer your
    * iTunes U site.</DL></DD>
    <DD>
    * Once you have substitute the information above in this method's code
    * as indicated in the code's comments, this method will connect
    * to iTunes U and obtain from it the HTML that needs to be returned to a
    * user's web browser to have a particular page or item in your iTunes U
    * site displayed to that user in iTunes. You can modify this method to
    * instead output the URL that would need to be opened to have that page
    * or item displayed in iTunes.</DD>
    public static void main(String argv[]) {
    // Define your site's information. Replace these
    // values with ones appropriate for your site.
    String siteURL =
    "https://deimos.apple.com/WebObjects/Core.woa/Browse/xxx.edu" ;
    String debugSuffix = "/abc123";
    String sharedSecret = "some key";
    String administratorCredential =
    "Administrator@urn:mace:itunesu.com:sites:xxx.edu";
    // Define the user information. Replace the credentials with the
    // credentials you want to grant to the current user, and the
    // optional identity information with the identity of that user.
    // For initial testing and site setup, use the singe administrator
    // credential defined when your iTunes U site was created. Once
    // you have access to your iTunes U site, you will be able to define
    // additional credentials and the iTunes U access they provide.
    String[] credentialsArray = { administratorCredential };
    String displayName = "my name";
    String emailAddress = "my [email protected]";
    String username = "mylogin";
    String userIdentifier = "1243";
    // Define the iTunes U page to browse. Use the domain name that
    // uniquely identifies your site in iTunes U to browse to that site's
    // root page; use a destination string extracted from an iTunes U URL
    // to browse to another iTunes U page; or use a destination string
    // supplied as the "destination" parameter if this program is being
    // invoked as a part of the login web service for your iTunes U site.
    String siteDomain = siteURL.substring(siteURL.lastIndexOf('/') + 1);
    String destination = siteDomain;
    // Append your site's debug suffix to the destination if you want
    // to receive an HTML page providing information about the
    // transmission of credentials and identity between this program
    // and iTunes U. Uncomment the following line for testing only.
    //destination = destination + debugSuffix;
    // Use an ITunesU instance to format the credentials and identity
    // strings and to generate an authorization token for them.
    ITunesU iTunesU = new ITunesU();
    String identity = iTunesU.getIdentityString(displayName, emailAddress,
    username, userIdentifier);
    String credentials = iTunesU.getCredentialsString(credentialsArray);
    Date now = new Date();
    byte[] key = null;
    try {
    key = sharedSecret.getBytes("US-ASCII");
    } catch (UnsupportedEncodingException e) {
    throw new java.lang.AssertionError(
    "ITunesU.hmacSH256(): US-ASCII encoding not supported!");
    String token = iTunesU.getAuthorizationToken(credentials, identity,
    now, key);
    // Use the authorization token to connect to iTunes U and obtain
    // from it the HTML that needs to be returned to a user's web
    // browser to have a particular page or item in your iTunes U
    // site displayed to that user in iTunes. Replace "/Browse/" in
    // the code below with "/API/GetBrowseURL/" if you instead want
    // to return the URL that would need to be opened to have that
    // page or item displayed in iTunes.
    String prefix = siteURL.substring(0, siteURL.indexOf(".woa/") + 4);
    String url = prefix + "/Browse/" + destination;
    String results = iTunesU.invokeAction(url, token);
    System.out.println(results);
    The itunes file from Shell folder has been modified as follows
    DISPLAY_NAME= "myname"
    EMAIL_ADDRESS="[email protected]"
    USERNAME="mylogin"
    USER_IDENTIFIER="1243"
    all the other things in that file have been untouched.
    I also generated the debug which looks like this
    iTunes U Access Debugging
    Received
    Destination xxx.edu
    Identity "my name" <[email protected]> (mylogin) [1243]
    Credentials Administrator@urn:mace:itunesu.com:sites:xxx.edu
    Time 1196706873
    Signature 533870b8jshdidk333lfsf6a3143a55c132ec548a4d545bd79322402e8e2596e4
    Analysis
    The destination string is valid and the corresponding destination item was found.
    The identity string is valid and provides the following information:
    Display Name my name
    Email Address [email protected]
    Username mylogin
    User Identifier 1243
    The credential string is valid and contains the following recognized credential:
    1. Administrator@urn:mace:itunesu.com:sites:xxx.edu
    The time string is valid and corresponds to 2007-12-03 18:34:33Z.
    The signature string is valid.
    Access
    Because the received signature and time were valid, the received identity and credentials were accepted by iTunes U.
    In addition, the following 2 credentials were automatically added by iTunes U:
    1. All@urn:mace:itunesu.com:sites:xxx.edu
    2. Authenticated@urn:mace:itunesu.com:sites:xxx.edu
    With these credentials, you have browsing, downloading, uploading, and editing access to the requested destination.
    I am pretty new to this, and working on this for the first time.If someone could guide me through this would be pretty helpful.

    This is only going to work under IE !
    Go to your page template :
    Modify the definition, make sur you have this :
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>#TITLE#</title>
    #HEAD#
    <Script language = javascript>
    Browser = navigator.appName
    Net = Browser.indexOf("Netscape")
    Micro = Browser.indexOf("Microsoft")
    Netscape = false
    IE = false
    if(Net >= 0) {Netscape = true}
    if(Micro >= 0) {IE = true}
    function XYpos() {
    if (IE == true) {
    xPos = event.screenX
    yPos = event.screenY
    alert(xPos + " left " + yPos + " down")
    else if (Netscape == true) {alert("Script won't work: " + "\n" + "You're using Netscape")}
    </script>
    Modify the body definition, make sure you have this :
    <body #ONLOAD# onMouseDown = XYpos()>
    I didnt try it but it make sens to me... tell me if it works!
    Flex
    Homepage : http://www.insum.ca
    InSum Solutions' blog : http://insum-apex.blogspot.com

  • Hello, I need help with my macbook pro. It looks like I cannot install anything anymore. Everytime I try to install a new software, use the migration assistant or click the lock to make changes, it simply does not react.

    Hello, I need help with my macbook pro.
    It looks like I cannot install anything anymore. Everytime I try to install a new software, I simply get stuck during the installation type process. I put in my password, it does accept it, but it does not go any further.
    I tried to reset the password, put no password, repair the permissions, the disk but nothing will do. I nearly got stuck with the log in screen but finally succeeded in disabling it.
    So I thought I might try to create a new account but I cannot click the lock to make changes. It simply refuses to react.
    I am now thinking about using the migration assistant to save all my settings, data and so fourth, but again I get stuck when I have to type in my password. It accepts it but nothing happens...
    I guess it has something to do with the authorization process, but can't find anything on the internet about it... Can you help me out?
    I am running Lion 10.7.3.
    Regards,
    Nicolas.
    (I apologize if any grammatical/structural mistakes were to be found, english is not my mother-tongue. )

    You probably won't like this suggestion, but I suggest you reinstall Lion.
    First, backup your system. Next, reboot your system, press/hold the COMMAND-R keys to boot into the Recovery HD. Select 'Reinstall Mac OS X'. If you purchased Lion as an upgrade to Snow Leopard, the reinstall process will install Lion 10.7.3. If your system came preinstalled with Lion, you might still get Lion 10.7.2. Both installs are a total install of the OS. None of your apps or data will be impacted. Just the OS.

  • Help Required in Authorization Roles for Workbooks

    Hi All,
    In our project, we have a requirement of creating a role for users with below authorizations.
    1.     Can display and execute the workbooks in the role menu.
    2.     Can create copy workbooks ( Save as) in the role menu.
    3.     Can not delete the original and the copy workbooks from role menu.
    We are using an authorization object S_RS_FOLD with u2018FALSEu2019 for restricting the user from deleting workbooks.
    We also need to add one more object S_USER_AGR (without u2018Deleteu2019 property) to give the authorization of creating copy workbooks in the role menu.
    Object S_RS_FOLD this is working fine without S_USER_AGR. But after adding S_USER_AGR (without delete property), user is again able to delete the workbooks.
    So how can we achieve both the functionalities where user can not delete the workbook but can create copy workbooks in the role menu.
    Thanks,
    Sachin

    Re: Adding report (query & workbook, templates) in roles
    Go through this thread.
    And in our Project we have created one role for accessing workbooks. in that end user can access the work book but saved one and user cannot resave or delete the work book.
    we have added Auth objects S_TCODE and S_GUI.
    in S_TCODE we have added RRMX and in S_GUI we have given 60(IMPORT) access to the users.
    So that they can just share the workbook. nothing else can be done.
    Try like this. Hope this would help you.

  • Help! MM17 Authorization(M_MATE_STA) problem.

    Hi, experts!
    I have a problem of Mass change  (T-code:MM17)  authorization.
    I want to control our user that only can change data through MM17 and not allow to create new data to prevent accident.
    So, I set an authorization obj. M_MATE_STA(Material Master: Maintenance Statuses) as ACTVT:02 (Change)
    with STATM:all view(*) into user role,but it doesn`t work during Mass change test. : -(
    When I checked SU53, It shows that user doesn`t have authorization of 
    M_MATE_STA, ACTVT:01 (Create)   STATM : G (costing view). However, I tested changing Pur.grp through MM17 and it was not creation and Pur.grp field is located at purchaing view.
    What`s wrong with M_MATE_STA authorization setting at MM17 ?
    I cannot understand why M_MATE_STA  ACTVT:01 (Create) is neccesaary when I want to CHANGE(Not create) data at MM17.
    Our system is ECC 6.0 ehp4 Support package : 05 and there is no decent SAP Note to apply. Plz, help~!

    Hi, jurgen.
    I choosen MARC Table EKGRP(Pur.grp) Field  and material master purchasing view was extended already.
    I add MM02 to MM17 belogned role through PFCG and set further auth. obj from MM02 but still cannot change Pur.org
    at MM17.
    The weired thing is when I set M_MATE_STA ACTIV:01 (Create), then I can change pur.org
    Is that SAP bug? Our system is ECC 6.0 Ehp4 SP level : 05 and could not find appropriate note yet.

  • Unable to access or view data with no authorization error

    Hi Experts,
    Appreciate your guys help. I am ID administrator where by some of our user ID unable to view data/ display report for the some of data even the appropriate authorization already assigned to the user. However when we check in the transaction SU53 - authorization checking no error shown!
    There is a case whereby user report that his ID (e.g. SAP ID = ABC) unable to access a transaction or infotype data for example HR infotype masterdata,upon checking there is no authorazition error (checked insu53), when copy the ID (ABC) to another new ID (ABC1) with no changes on the roles, the ABC1 ID able to access the said transaction.However, when copy back ABC1 to the ABC (naming conversion only), the ABC ID still unable to access the transaction with no authorization error. the
    main problem here is the original ID is not working, but works fine if it is copied to another ID name.
    Kindly advice.

    Hi Manikya Raju,
    Can you explain details?

  • Hi, I need help with my iphone four bought in England but I live in Italy, I upgraded IOS six and now I can not read more than the Italian card, how can I contact a service center via email?

    Hi, I need help with my iphone four bought in England but I live in Italy, I upgraded IOS six and now I can not read more than the Italian card, how can I contact a service center via email?

    Only the carrier it is locked to can authorize unlocking it. Sounds like the phone was hacked to unlock it originally. Find out what carrier it is locked to, and look up their contact information using google or the search engine of your choice.

Maybe you are looking for