Making the connections between AD and iTunesU

Folks,
I'm not a programmer and don't know the first thing about getting the scripting to work properly. We are an ASP.Net place as well as some ColdFusion users. Any chance somebody has made authentication work with either of these two languages and could help me get the ball rolling?
hehe, I don't even know how to login into the stupid thing. I feel like George Jetson....

iTunes U works quite nicely with ColdFusion. Information for your developers:
ColdFusion does not support the Java byte type. Make these changes to the ITunesU.class provided by Apple:
line 90, change:
public String hmacSHA256(String message, byte[] key) {
to:
public String hmacSHA256(String message, String secret_key) {
byte[] key = secret_key.getBytes();
line 251, change:
Date time, byte[] key) {
to:
Date time, String secret_key) {
byte[] key = secret_key.getBytes();
line 281 change:
String signature = this.hmacSHA256(buffer.toString(), key);
to:
String signature = this.hmacSHA256(buffer.toString(), secret_key);
line 308, change:
Date time, byte[] key) {
to:
Date time, String secret_key) {
byte[] key = secret_key.getBytes();
line 332, change:
buffer.append(this.hmacSHA256(data, key));
to:
buffer.append(this.hmacSHA256(data, secret_key));
line 526, change:
now, key);
to:
now, sharedSecret);
compile from the command line: javac ITunesU.class
for ColdFusion:
(get createJavaObject from cflib.org and it include it in your cfml)
your code (basiclly):
<cfset secret_key = "STRINGOFTHIRTYTWOLETTERSORDIGITS">
<cfset epoch_time=LSNumberFormat((createobject("java", "java.util.Date").getTime()) / 1000, "_")>
<cfset cred_admin = Replace(URLEncodedFormat("Administrator@urn:mace:itunesu.com:sites:YOURSCHOOL.e du", "utf-8"), "%2E", ".", "all")>
<!--- form.uid is from your login form that submits here --->
<cfset ident = Replace(Replace(URLEncodedFormat('"#fullname#" <#form.uid#@YOURSCHOOL.edu> (#form.uid#)', "utf-8"), "%20", "+", "all"), "%2E", ".", "all")>
<cfset tokenData_admin = 'credentials=#credadmin#&identity=#ident#&time=#epochtime#'>
<cfset loader = createJavaObject("./")>
<cfset ITunesU = loader.loadClass("ITunesU").newInstance()>
<cfset signature_admin = ITunesU.hmacSHA256(tokenDataadmin,secretkey)>
<cfset site_url = "https://deimos.apple.com/WebObjects/Core.woa/Browse/YOURSCHOOL.edu">
<cfset debug_url = "https://deimos.apple.com/WebObjects/Core.woa/Browse/YOURSCHOOL.edu/YOURDEBUGST RING">
<cfoutput><xa href="#siteurl#?#tokenData_admin#&signature=#signatureadmin#">administrator login</xa><xbr>
<xa href="#debugurl#?#tokenData_admin#&signature=#signatureadmin#">administrator debug</xa>
</cfoutput>
(xa xbr are to stop Apple's forum from redering them as HTML)
There is plenty of documentation on how to auth ColdFusion against Active Directory. Basically, you use a <cfldap> tag and modify the attributes, scope, etc for you particular environment.
Hope this helps. It should give you pretty much all you need to get up and running with ColdFusion/iTunes U.
-qk.

Similar Messages

  • Can someone please tell me a simple but effective method for burning a slideshow to DVD? Now that the connection between iPhoto and iDVD no longer exists, I can't figure out a way to get there with an acceptable quality result.

    Can someone please tell me a simple but effective method for burning a slideshow to DVD? Now that the connection between iPhoto and iDVD no longer exists, I can't figure out a way to get there with an acceptable quality result.

    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  Select Size = Medium or Large.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailier like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago. 
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them. 
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    OT

  • How to establish the connection between crm and r/3

    Hi,
    Sorry for posting this question in this forum, i did not find any CRM forums.My question is,How to establish the connection between CRM and R/3...in my office i installed standard alone CRM system,but it is not talking to R/3.
    Could any one tell me where to find adapters and plugins for this.
    Thanks in advance.
    Ajey

    Hello Ajey,
    in the case you mean the connection between R/3 and SAP CRM you should read the Best Practice Guides:
    B01: CRM Generation
    C71: CRM Connectivity
    B09: CRM Replication
    from http://help.sap.com/bp_crmv240/index.htm. There is a CRM Forum at http://www.sap.com/community/ and also at http://www.sapfans.com/.
    Regards
    Gregor

  • Build the connection between Arduino and Flex 4.0 via JSON

    Hi,
    I try to make a connection between arduino and Flex 4.0, I included the JSON lib and also as3corelib.swc to Flex. When I run the Flex file the connection between PC to arduino is working (I can see it in SERPROXY window) and also I don't have any problems in Flex window, I added the SWF file of Flex to the list at //http://www.macromedia.com/support/documentation/tr/flashplayer/help/settings_manager04.htm l, Bu the reading result is not shows in the SWF,    I couldn't understand why !, thanks for help
    here the code
    package
    import com.adobe.serialization.json.JSON;
    import flash.display.Sprite;
    import flash.errors.*;
    import flash.events.*;
    import flash.net.Socket;
    import flash.text.TextField;
    public class deneme extends Sprite
    {private var magnetic:Socket=new Socket("localhost",5331);
      private var magneticValue:Number=0;
      private var distance:Number;
      private var newText:TextField=new TextField();
      private var listText:TextField=new TextField();
      private var MNx:Number;
      private var MNy:Number;
      private var MNz:Number;
      private var d:Object={"x":null, "y":null, "z":null};
      public function deneme()
       socketDataHandler();
      private function socketDataHandler():void
       newText.text=magnetic.readUTFBytes(magnetic.bytesAvailable);
       d= JSON.decode(newText.text);
       MNx=d["x"];
       MNy=d["y"];
       MNz=d["z"];
       listText.x=10;
       listText.y=10;
       listText.width=600;
       listText.height=100;
       listText.text=newText.text;
       addChild(newText);

    package
    {    import com.adobe.serialization.json.JSON;
    import flash.display.Sprite;
    import flash.errors.*;
    import flash.events.*;
    import flash.net.Socket;
    import flash.text.TextField;
    import mx.rpc.events.ResultEvent;
        public class deneme2 extends Sprite
            private var newText:TextField=new TextField();
            private var listText:TextField=new TextField()
            private var magnetic:Socket=new Socket("localhost",5331);
            private var MNx:Number;
            private var MNy:Number;
            private var MNz:Number;
            private var d:Object={"x":null, "y":null, "z":null};
            public function deneme2()
                 magnetic.addEventListener(ProgressEvent.SOCKET_DATA,getDATA);
             private function getDATA(event:ProgressEvent):void
                newText.text=magnetic.readUTFBytes(magnetic.bytesAvailable);
                d= JSON.decode(newText.text);
                MNx=d["x"];
                MNy=d["y"];
                MNz=d["z"];
                listText.x=10;
                listText.y=10;
                listText.width=600;
                listText.height=100;
                listText.text="X="+String(MNx)+" Y="+String(MNy)+" Z="+String(MNz);
                addChild(listText);

  • PLEASE HELP.  The connection between invoices and notifications

    Hi
    I have to develope a search page for invoice notifications. The trouble is that I can't find the connection between an invoice and the notifications sent on this invoice. Have no connection between the WF_NOTIFICATIONS table and the AP_INVOICES_ALL and AP_INVOICE_DISTRIBUTIONS_ALL tables. Is there anyone that can please help me ?

    In the Report Builder, try
    File --> Generate to File --> HTML
    for an approximation of "what you see is what you get". There may be differences from what the end user sees based on different browsers (IE vs Netscape), different browser margin and font settings and different printers for printed reports. It is truly annoying. We have found that PDF is more predictable when it can be used instead of HTML.

  • The connection between ADM and Essbase Server is lost?

    I can login essbase server with MaxL, excel spreadsheet, the Essbase Administration Service is started by command line and it shows running fine, But I cannot login to Essbase through ADM console, the error message is: Could not connect to the Administration Server
    thanks!

    You really should change your architecture. I assume that your other controls also control the robot, so you will need more complex messaging.
    I suggest you look at some of the examples and templates for queued message handler. Essentially, this will allow you to send message between two loops, which is probably what you want.
    As for what your comm loop should actually look like, you should separate the opening part from the communicating and closing part. That way, you can send the Ready string immediately after connecting. The example code you used already handles the timeout error, which is the indication you want that the connection was lost.
    Here's one (very bad) example of how this could be done:
    You should note that this does not really do any error handling. If you use a queued message handler and actually turn the comm loop into a state machine (with states like Open,Comm and Close), it should be cleaner.
    To learn more about LabVIEW, I suggest you try looking at some of these tutorials.
    Message Edited by tst on 01-19-2008 07:53 PM
    Try to take over the world!
    Attachments:
    Comm.png ‏7 KB

  • What's the connection between iPhoto and Desktop Images?

    I've had a problem for a couple weeks now, where I want to change my desktop wallpaper image and it won't stay set to the new image after I re-boot or re-start.
    Yesterday, I stumbled upon a suggestion to re-load images into iPhoto so they show up under Events.  I set the wallpaper image, rebooted and the old image came back.
    This morning, I went back into iPhoto and selected each of the folders where I could see the new image.  I selected the image, set it as desktop wallpaper and re-started.  It worked.  I changed the image to something else using the System Preferences --> Desktop & Screen Saver option, then re-booted and confirmed the new image I had selected was still set.
    Voila!  The problem was solved.
    But what I don't know, is why iPhoto had anything to do with System Preferences --> Desktop & Screen Saver selections.  I was trying to select the image in the main Pictures folder where I've always kept the images for my desktop but they wouldn't stay.  The only way I was able to fix the problem is to use iPhoto and somehow, whatever it was that got corrupted was now fixed.
    I've spent a good few hours over the course of the last couple weeks trying to fix the issue but I haven't yet found an actual fix until now as I stumbled upon it myself by chance.  Any insights one may be able to share would be greatly appreciated.

    Hi,
    According to your post, my understanding is that you want to know the difference between User Profile Service and User Information List.
    The user profile store in SharePoint contains information about users. User profiles can be created by importing users from a user account directory, or they can be created manually.
    In most environments Active Directory will be used as the source for creating user profiles. The user profile imports can be scheduled to  run on a regular basis and they can be either  incremental or full.
    However, the information in the user information list is stored in the UserInfo table in the content database of the site.
    A user gets added to the user information list  when he or she has accesses the site for the first time.
    In the user information list a user's email address, login name and name are stored. SharePoint will make sure that user profile property information for those fields for users that are added to the user information list is sent to the user.
    For more reference:
    http://www.sharepointchick.com/archive/2009/06/17/user-profiles-and-the-user-information-list-or-userinfo-table.aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Configuration the connection between portal and srm server only via JDBC

    Dear all:
       We want to implement the SRM server and present the supplier web/page in the portal server. Our SRM and portal server install in intranet network.
       For internal employee use the SRM server and the Supplier access the portal server via Internet, we install Web Dispather in DMZ to exchange the HTTP request.
         Network TOP like this :
        SRM server--Portal||FireWall||-Web Dispatcher--Supplier
      (--Internal|firewall--|DMZ|-Internet )
      The question is : Between DMZ zone and our internal network zone ,there is the firewall and it only allows JDBC protocol (SQL statements or result set) to pass. Other protocol and port could not pass this firewall.
      So ,it seems that  no way to implement  this ,right? Or any other way to implement it ?

    thanks

  • I am having problems connecting my imac to a Kodak printer wirelessly. This was previously working fine. The printer states it is connected to the home network but the connection between computer and printer has been lost/ cannot find printer.

    In addition, I contacted kodak support and they wished to take control of my computer in order to rectify the problem. I did not allow this as I was worried about security . Can anyone tell me whether once you allow someone to take control of your computer, then it is a security risk. What protection does my imac provide ? Thanks. 

    I think you can do it on a one time basis, & not allow after that.
    Mac OS X: About the Reset Printing System feature ...
    http://support.apple.com/kb/HT1341?viewlocale=en_US
    10.5/10.6/10.7/10.8 instructions...
    In System Preferences>Fax & Print, Right click or Control+click on the Printers list Sidebar, choose Reset Printing System.
    if you hold option and click the "-" tab it resets the printing system.
    http://www.macosxhints.com/article.php?story=20031215144430486
    Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions.
    Any devices that previously appeared in your Printer List and Fax List will need to be added again after resetting the printing system.
    Resetting the printing system in Mac OS X 10.5.x+++
        1.    To use the Reset Printing System feature in Mac OS X 10.5.x, follow these steps:
        2.    Choose System Preferences from the Apple menu.
        3.    Choose Print & Fax from the View menu.
        4.    Control-click on list of printers on the left side of the window, then choose "Reset printing system" from the contextual menu. If you don't see a list of printers, Control-click on the text "Click + to add a printer or fax" and select "Reset printing system..." 
   
  As an alternative, if you currently have one or more printers listed, you can Option-click the "-" (Remove printer) button.
    http://support.apple.com/kb/ht1341
    Reboot.

  • The connectivity between ABAP and JAVA system is not working properly.

    Hi,
    I have Installed ECC5.0 ABAP system and Netweaver JAVA system with different SID's in single box. While Installing JAVA systen I have selected UME as ABAP system and Installation was success. Once I restart MMC the JAVA server process thowing an rc -11113.
    I have pasted trace file for Server process. Please send me any suggestions ASAP.
    [Thr 4500] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 4500] JLaunchISetClusterId: set cluster id 31689350
    [Thr 4500] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 4500] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 4180] Thu Apr 19 12:06:29 2007
    [Thr 4180] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver
    [Thr 4180] JHVM_RegisterNatives: registering methods in com.sap.mw.jco.util.SAPConverters
    [Thr 4180] JHVM_RegisterNatives: registering methods in com.sap.mw.jco.util.SAPCharToNUCByteConverter
    [Thr 4180] JHVM_RegisterNatives: registering methods in com.sap.mw.jco.util.SAPNUCByteToCharConverter
    [Thr 4748] Thu Apr 19 12:06:30 2007
    [Thr 4748] JLaunchIExitJava: exit hook is called (rc=-11113)
    [Thr 4748] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 940893 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 4748] JLaunchCloseProgram: good bye (exitcode=-11113)
    Thanks,
    Suraj

    Hi,
    It clearly says the problem is with virtual memory. SO you need to change your virtual memory settings using configtool.
    See the relevant note.940893
    Make changes in the VM parameters for Bootstarp, Dispatched and the server nodes. Your -Xms should be less than equal to -Xmx.
    Restart the cluster then.
    It should work.
    Do reward good points.

  • What's the connection between data connections (3G/4G/WiFi) and phone signal strength (calls)?

    At home I'm almost always on my wifi with the 3G/4G turned off.  I've turned it on to experiment, and I get 3G in my house, but the reception (to make and receive phone calls) stays at 0 to 1 bars.  There is a Target store about a 10 minute walk from my house and I get 4G LTE when I'm shopping there, but the reception (calls) is still weak, maybe better but I can't tell you offhand.
    There is a Verizon tower about 6 miles southwest of my home; they actually had me drive out and sit under it last winter to fix a Droid Pro problem once.
    I absolutely do not understand how 3G and 4G relate to call signal strength, as it's been eluded to in other discussions.  I'm getting the impression that it affects the signal strength for phone calls, but then how can I (on my old phone) toggle it off and still have signal for calls?  When I drive into the heart of 4G LTE country I can turn off the data and still have 4 or 5 bars.  What's the connection between data and phone signal strength?

    "Service isn't guaranteed inside buildings."
    Nor outside,
    Nor under a tower,
    Nor in a car,
    Nor while eating green eggs and ham,
    Sam I am.
    Sorry Dr Seuss. 

  • Connecting between labVIEW and PLC S7-1200 using EPICS

    Hello everyone,
    I'm trying to connect between LabVIEW and PLC S7-1200 using EPICS. I did it using OPC and it succeeded and the communication was done, so right now i'm trying to do it using EPICS. so Can anyone help me with that?
    Thanks in advance.
    Ahmed

    Hello,Ahmed:
    Now I'm trying to conect S7-1200 to Labview by OPC server 2012, I'm newer for both PLC S7-1200 and OPC server. by the help file of NI's OPC I tested many times, but lost totally.
    You mentioned that you have succeeded making the connection between them, could you please help me :
    1) How to set in Simense TIA software? I can set the PLC's IP address now, that's all;
    2) OPC server setting.
    if there is a video, that will be great.
    thanks a lot.
    Delphi77.

  • Error while creating connection between Java and ABAP

    Experts
    I am getting the following error message when I am trying to test the connection between JAVA and ABAP systems.
    1. The system ID is valid
    2. The system was retrieved.
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (s09f71v06.svr.bankone.net:8100)
    5. The host name s09f71v06.svr.bankone.net was resolved successfully.
    6. The server s09f71v06.svr.bankone.net *could not be pinged* successfully.
    I have JAVA and ABAP on the same system. I am trying to establish a connection. I have checked all the settings and they looks fine. I have also pinged from other system to this server and the Ping works fine.
    Please do let m eknow where do I need to check for the errros or logs for the above error message.
    Appreciate your quick help.
    Mahesh

    Check the relevant services are test are active on the Backend system through SICF trransaction.
    Also make sure that default icm services are running.See note 517484.
    More important the connector test in the portal system should work properly,recheck the WAS path etc are correct.
    Regards
    Ajay

  • How to make connection between ASP and Oracle 8i

    Dear Helper,
    I have a problem about how to make the connection between ASP and
    Oracle 8i. If you have this idea, please help me to solve this
    problem. Thank You!!!
    null

    You must install Oracle Objects for OLE.
    After this in asp-script you may use following instructions
    1)initialization
    <%
    Set Session("OraSession") =server.CreateObject
    ("OracleInProcServer.XOraSession")
    set Session("OraData") = Session("OraSession").OpenDatabase
    ("service", "scott/tiger",0)
    %>
    2)open Dynaset
    <%
    Set EmpDynaset = Session("OraData").CreateDynaset("select 1 as
    f1, 2 as f2 from dual", 0)
    %>
    3)navigation
    <%EmpDynaset.MoveFirst%>
    <%EmpDynaset.MoveNext%>
    <%EmpDynaset.EOF%>
    4) Field access
    <%=EmpDynaset.Fields(1).value%>
    5) Sql execute
    Session("OraData").ExecuteSQL("delete xxx")
    Best regards.
    null

  • Connection between Portal and MDM

    Hi all
    Can anybody help me on how to establish the connection between portal and MDM with step by step procedure.
    i am new to this combination .
    before i worked with portal but not worked with MDM .
    Regards
    Suresh babu

    Hello Suresh,
    As of my knowledge MDM IViews have the advantage to ful fil your neeed to provide connectivity moreover,that they are not complex in structure and are therefore not restricted by any underlying schema structure. As opposed to regular iViews in other systems which are embedded into the pages on which they appear, MDM iViews are more generic and granular in nature enabling their placement on a page to be more adaptable.
    The SAP Enterprise Portal (SAP EP) offers templates for creating the iViews. The following are some examples of these templates available at the link:
    [http://help.sap.com/saphelp_mdm550/helpdata/en/45/c9f8cac2124ebee10000000a11466f/content.htm]
    Procedure:
           1.      Create a new page using the page wizard.
           2.      To see the iViews you created on the new page, you need to link them to the page. Right-click each of the iViews that you created and from the context menu, select Add iView to Page &#8594; Delta Link
           3.      Double-click the new page you created and select:
    Page Content to view a list of the iViews that have been linked to this page
    Page Layout to view the layout currently assigned to this page. The iViews can be rearranged using the drag&drop function.
           4.      The visual structure of a page can be changed with the Page Layout function. Select Define Layout to reset the layout of the page.
           5.      Select Preview to view the page showing how the iViews have been arranged. The preview simulates what an end user sees at runtime.
    Detailed pictorial presentation available at:
    [http://help.sap.com/saphelp_mdm550/helpdata/en/45/c8e2fa5f0c2e97e10000000a155369/content.htm]
    Hope you will find it helpful.
    Regards,
    Krutarth

Maybe you are looking for

  • My new WD hard drive is no longer able to boot. How do I fix this?

    I got a WD10EALX Cabiar Blue drive last week and copied my existing internal drive that had Tiger OSX on it. It booted fine until I copied an iphoto library from a friend's Mac and now this disk won't boot. I get the circle with the slash through it

  • How to get a N network running with iphones in the house??

    Hi there I have 3 x Airport express (N) stations, 1 x single port ethernet adsl2 modem. My problem is this, I want to create a 5ghz N based 300mbps network for our 2 macbooks in the house. We also have 2 iphones in the house. When I create the 5ghz b

  • "filename.txt"! text files won't open!

    after i upgraded my N95 with the latest firmware .16 my text files won't open unless i open them from quick office, or office premiere! i mean i have to open office then browse all the way to find my text file. is there a way to choose a specific pro

  • What is the Oracle supported method for backing up OCFS2?

    Hi My customer has been trying to backup Oracle Cluster File System (ver 2) with netbackup 6.5, but not via RMAN. They want to know if this method of backing OCFS up is suppported? But I think the supported method has to use a netbackup Oracle agent

  • SAP MII Build Complex XML Structure

    Hi All, I have a requirement in which I have to fetch data from multiple queries and build a xml output. I m able to execute queries, put repeater on them, and able to trace the results. But now, I want to build an xml out of this and show it as tran