1/* 2* Conditions Of Use 3* 4* This software was developed by employees of the National Institute of 5* Standards and Technology (NIST), an agency of the Federal Government. 6* Pursuant to title 15 Untied States Code Section 105, works of NIST 7* employees are not subject to copyright protection in the United States 8* and are considered to be in the public domain. As a result, a formal 9* license is not needed to use the software. 10* 11* This software is provided by NIST as a service and is expressly 12* provided "AS IS." NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED 13* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF 14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT 15* AND DATA ACCURACY. NIST does not warrant or make any representations 16* regarding the use of the software or the results thereof, including but 17* not limited to the correctness, accuracy, reliability or usefulness of 18* the software. 19* 20* Permission to use this software is contingent upon your acceptance 21* of the terms of this agreement 22* 23* . 24* 25*/ 26/******************************************************************************* 27* Product of NIST/ITL Advanced Networking Technologies Division (ANTD). * 28*******************************************************************************/ 29package gov.nist.javax.sip.header; 30 31import javax.sip.address.URI; 32import javax.sip.header.*; 33/** 34 * Proxy Authenticate SIP (HTTP ) header. 35 * 36 * @version 1.2 $Revision: 1.5 $ $Date: 2009/07/17 18:57:33 $ 37 * 38 * @author M. Ranganathan <br/> 39 * @author Olivier Deruelle <br/> 40 * 41 * 42 * 43 */ 44public class ProxyAuthenticate 45 extends AuthenticationHeader 46 implements ProxyAuthenticateHeader { 47 48 /** 49 * Comment for <code>serialVersionUID</code> 50 */ 51 private static final long serialVersionUID = 3826145955463251116L; 52 53 /** 54 * Default Constructor 55 */ 56 public ProxyAuthenticate() { 57 super(NAME); 58 } 59 60 /* (non-Javadoc) 61 * @see gov.nist.javax.sip.header.AuthenticationHeader#getURI() 62 * 63 * @since 1.2 this method is deprecated, uri is not a valid paramter for this header 64 * Fail silently for backwards compatibility 65 */ 66 public URI getURI() { 67 return null; 68 } 69 70 /* (non-Javadoc) 71 * @see gov.nist.javax.sip.header.AuthenticationHeader#setURI(javax.sip.address.URI) 72 * 73 * @since 1.2 this method is deprecated, uri is not a valid paramter for this header 74 * Fail silently for backwards compatibility 75 */ 76 public void setURI(URI uri) { 77 // empty, fail silently 78 } 79 80} 81/* 82 * $Log: ProxyAuthenticate.java,v $ 83 * Revision 1.5 2009/07/17 18:57:33 emcho 84 * Converts indentation tabs to spaces so that we have a uniform indentation policy in the whole project. 85 * 86 * Revision 1.4 2006/07/13 09:01:19 mranga 87 * Issue number: 88 * Obtained from: 89 * Submitted by: jeroen van bemmel 90 * Reviewed by: mranga 91 * Moved some changes from jain-sip-1.2 to java.net 92 * 93 * CVS: ---------------------------------------------------------------------- 94 * CVS: Issue number: 95 * CVS: If this change addresses one or more issues, 96 * CVS: then enter the issue number(s) here. 97 * CVS: Obtained from: 98 * CVS: If this change has been taken from another system, 99 * CVS: then name the system in this line, otherwise delete it. 100 * CVS: Submitted by: 101 * CVS: If this code has been contributed to the project by someone else; i.e., 102 * CVS: they sent us a patch or a set of diffs, then include their name/email 103 * CVS: address here. If this is your work then delete this line. 104 * CVS: Reviewed by: 105 * CVS: If we are doing pre-commit code reviews and someone else has 106 * CVS: reviewed your changes, include their name(s) here. 107 * CVS: If you have not had it reviewed then delete this line. 108 * 109 * Revision 1.4 2006/06/19 06:47:26 mranga 110 * javadoc fixups 111 * 112 * Revision 1.3 2006/06/16 15:26:28 mranga 113 * Added NIST disclaimer to all public domain files. Clean up some javadoc. Fixed a leak 114 * 115 * Revision 1.2 2005/10/09 10:50:06 jeroen 116 * get/setURI is deprecated for WWW-Authenticate and Proxy-Authenticate, 117 * but not for other AAA related headers 118 * 119 * Revision 1.1.1.1 2005/10/04 17:12:35 mranga 120 * 121 * Import 122 * 123 * 124 * Revision 1.2 2004/01/22 13:26:29 sverker 125 * Issue number: 126 * Obtained from: 127 * Submitted by: sverker 128 * Reviewed by: mranga 129 * 130 * Major reformat of code to conform with style guide. Resolved compiler and javadoc warnings. Added CVS tags. 131 * 132 * CVS: ---------------------------------------------------------------------- 133 * CVS: Issue number: 134 * CVS: If this change addresses one or more issues, 135 * CVS: then enter the issue number(s) here. 136 * CVS: Obtained from: 137 * CVS: If this change has been taken from another system, 138 * CVS: then name the system in this line, otherwise delete it. 139 * CVS: Submitted by: 140 * CVS: If this code has been contributed to the project by someone else; i.e., 141 * CVS: they sent us a patch or a set of diffs, then include their name/email 142 * CVS: address here. If this is your work then delete this line. 143 * CVS: Reviewed by: 144 * CVS: If we are doing pre-commit code reviews and someone else has 145 * CVS: reviewed your changes, include their name(s) here. 146 * CVS: If you have not had it reviewed then delete this line. 147 * 148 */ 149