Java Doc for WWWAuthenticateHeader.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » javax » sip » header » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » Java Advanced Imaging » javax.sip.header 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.sip.header.WWWAuthenticateHeader

WWWAuthenticateHeader
public interface WWWAuthenticateHeader extends Parameters,Header(Code)
This interface represents the WWW-Authenticate response-header. A WWW-Authenticate header field value contains an authentication challenge. When a UAS receives a request from a UAC, the UAS MAY authenticate the originator before the request is processed. If no credentials (in the Authorization header field) are provided in the request, the UAS can challenge the originator to provide credentials by rejecting the request with a 401 (Unauthorized) status code. The WWW-Authenticate response-header field MUST be included in 401 (Unauthorized) response messages. The field value consists of at least one challenge that indicates the authentication scheme(s) and parameters applicable to the realm.

For Example:
WWW-Authenticate: Digest realm="atlanta.com", domain="sip:boxesbybob.com", qop="auth", nonce="f84f1cec41e6cbe5aea9c8e88d359", opaque="", stale=FALSE, algorithm=MD5
See Also:   Parameters
author:
   BEA Systems, NIST
version:
   1.2



Field Summary
final public static  StringNAME
    


Method Summary
public  StringgetAlgorithm()
     Returns the Algorithm value of this WWWAuthenicateHeader.
public  StringgetDomain()
     Returns the Domain value of this WWWAuthenicateHeader.
public  StringgetNonce()
     Returns the Nonce value of this WWWAuthenicateHeader.
public  StringgetOpaque()
     Returns the Opaque value of this WWWAuthenicateHeader.
public  StringgetQop()
     Returns the Qop value of this WWWAuthenicateHeader.
public  StringgetRealm()
     Returns the Realm value of this WWWAuthenicateHeader.
public  StringgetScheme()
     Returns the scheme of the challenge information for this WWWAuthenticateHeader.
public  URIgetURI()
     Returns the URI value of this WWWAuthenicateHeader, for example DigestURI.
public  booleanisStale()
     Returns the boolean value of the state paramater of this WWWAuthenicateHeader.
public  voidsetAlgorithm(String algorithm)
     Sets the Algorithm of the WWWAuthenicateHeader to the new algorithm parameter value.
public  voidsetDomain(String domain)
     Sets the Domain of the WWWAuthenicateHeader to the domain parameter value.
public  voidsetNonce(String nonce)
     Sets the Nonce of the WWWAuthenicateHeader to the nonce parameter value.
public  voidsetOpaque(String opaque)
     Sets the Opaque value of the WWWAuthenicateHeader to the new opaque parameter value.
public  voidsetQop(String qop)
     Sets the Qop value of the WWWAuthenicateHeader to the new qop parameter value.
public  voidsetRealm(String realm)
     Sets the Realm of the WWWAuthenicateHeader to the realm parameter value.
public  voidsetScheme(String scheme)
     Sets the scheme of the challenge information for this WWWAuthenticateHeader.
public  voidsetStale(boolean stale)
     Sets the value of the stale parameter of the WWWAuthenicateHeader to the stale parameter value.
public  voidsetURI(URI uri)
     Sets the URI of the WWWAuthenicateHeader to the URI parameter value.

Field Detail
NAME
final public static String NAME(Code)
Name of WWWAuthenticateHeader





Method Detail
getAlgorithm
public String getAlgorithm()(Code)
Returns the Algorithm value of this WWWAuthenicateHeader. the String representing the Algorithm information, null if the value is not set.



getDomain
public String getDomain()(Code)
Returns the Domain value of this WWWAuthenicateHeader. the String representing the Domain information, null if value isnot set.



getNonce
public String getNonce()(Code)
Returns the Nonce value of this WWWAuthenicateHeader. the String representing the nonce information, null if value isnot set.



getOpaque
public String getOpaque()(Code)
Returns the Opaque value of this WWWAuthenicateHeader. the String representing the Opaque information, null if the value is not set.



getQop
public String getQop()(Code)
Returns the Qop value of this WWWAuthenicateHeader. the string representing the Qop information, null if the value is not set.



getRealm
public String getRealm()(Code)
Returns the Realm value of this WWWAuthenicateHeader. This convenience method returns only the realm of the complete Challenge. the String representing the Realm information, null if value isnot set.



getScheme
public String getScheme()(Code)
Returns the scheme of the challenge information for this WWWAuthenticateHeader. the string value of the challenge information.



getURI
public URI getURI()(Code)
Returns the URI value of this WWWAuthenicateHeader, for example DigestURI. the URI representing the URI information, null if value isnot set.



isStale
public boolean isStale()(Code)
Returns the boolean value of the state paramater of this WWWAuthenicateHeader. the boolean representing if the challenge is stale.



setAlgorithm
public void setAlgorithm(String algorithm) throws ParseException(Code)
Sets the Algorithm of the WWWAuthenicateHeader to the new algorithm parameter value.
Parameters:
  algorithm - - the new algorithm String of this WWWAuthenicateHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the algorithm value.



setDomain
public void setDomain(String domain) throws ParseException(Code)
Sets the Domain of the WWWAuthenicateHeader to the domain parameter value.
Parameters:
  domain - - the new Domain string of this WWWAuthenicateHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the domain.



setNonce
public void setNonce(String nonce) throws ParseException(Code)
Sets the Nonce of the WWWAuthenicateHeader to the nonce parameter value.
Parameters:
  nonce - - the new nonce String of this WWWAuthenicateHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the nonce value.



setOpaque
public void setOpaque(String opaque) throws ParseException(Code)
Sets the Opaque value of the WWWAuthenicateHeader to the new opaque parameter value.
Parameters:
  opaque - - the new Opaque string of this WWWAuthenicateHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the opaque value.



setQop
public void setQop(String qop) throws ParseException(Code)
Sets the Qop value of the WWWAuthenicateHeader to the new qop parameter value.
Parameters:
  qop - - the new Qop string of this WWWAuthenicateHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the Qop value.



setRealm
public void setRealm(String realm) throws ParseException(Code)
Sets the Realm of the WWWAuthenicateHeader to the realm parameter value. Realm strings MUST be globally unique. It is RECOMMENDED that a realm string contain a hostname or domain name. Realm strings SHOULD present a human-readable identifier that can be rendered to a user.
Parameters:
  realm - the new Realm String of this WWWAuthenicateHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the realm.



setScheme
public void setScheme(String scheme)(Code)
Sets the scheme of the challenge information for this WWWAuthenticateHeader. For example, Digest.
Parameters:
  scheme - - the new string value that identifies the challenge information scheme.



setStale
public void setStale(boolean stale)(Code)
Sets the value of the stale parameter of the WWWAuthenicateHeader to the stale parameter value.
Parameters:
  stale - - the new boolean value of the stale parameter.



setURI
public void setURI(URI uri)(Code)
Sets the URI of the WWWAuthenicateHeader to the URI parameter value.
Parameters:
  uri - - the new URI of this WWWAuthenicateHeader.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.