org.swhite.daap
Class Authenticate

java.lang.Object
  extended byorg.swhite.daap.Authenticate

public class Authenticate
extends java.lang.Object

Authenticate creates a Client-DAAP-Authentication header necessary to connect to iTunes > 4.0 servers. Created on Wed Mar 17 2004.

Author:
Steve White

Constructor Summary
Authenticate(java.lang.String url)
          Constructs a new Authenticate with the specified URL.
 
Method Summary
 java.lang.String toString()
          Returns the Authenticate string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Authenticate

public Authenticate(java.lang.String url)
             throws java.security.NoSuchAlgorithmException
Constructs a new Authenticate with the specified URL.

Parameters:
url - URL to authenticate, e.g. /update?session-id=27031&revision-number=1
Method Detail

toString

public java.lang.String toString()
Returns the Authenticate string.

Returns:
String