Java Doc for AuthorizationHeader.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.AuthorizationHeader

AuthorizationHeader
public interface AuthorizationHeader extends Parameters,Header(Code)
The Authorization header is used when a user agent wishes to authenticate itself with a server - usually, but not necessarily, after receiving an UNAUTHORIZED Response - by including an AuthorizationHeader with the Request. The AuthorizationHeader consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

This header field, along with Proxy-Authorization, breaks the general rules about multiple header field values. Although not a comma- separated list, this header field name may be present multiple times, and MUST NOT be combined into a single header line.

For Example:
Authorization: Digest username="Alice", realm="atlanta.com",
nonce="84a4cc6f3082121f32b42a2187831a9e",
response="7587245234b3434cc3412213e5f113a5432"

See Also:   Parameters
See Also:   WWWAuthenticateHeader
See Also:   ProxyAuthorizationHeader
author:
   BEA Systems, NIST
version:
   1.2



Field Summary
final public static  StringNAME
    


Method Summary
public  StringgetAlgorithm()
     Returns the Algorithm value of this AuthorizationHeader.
public  StringgetCNonce()
     Returns the CNonce value of this AuthorizationHeader.
public  StringgetNonce()
     Returns the Nonce value of this AuthorizationHeader.
public  intgetNonceCount()
     Returns the Nonce Count value of this AuthorizationHeader.
public  StringgetOpaque()
     Returns the Opaque value of this AuthorizationHeader.
public  StringgetQop()
     Returns the Qop value of this AuthorizationHeader.
public  StringgetRealm()
     Returns the Realm value of this AuthorizationHeader.
public  StringgetResponse()
     Returns the Response value of this AuthorizationHeader.
public  StringgetScheme()
     Returns the scheme of the Response information for this AuthorizationHeader.
public  URIgetURI()
     Returns the DigestURI value of this AuthorizationHeader.
public  StringgetUsername()
     Returns the Username value of this AuthorizationHeader.
public  voidsetAlgorithm(String algorithm)
     Sets the Algorithm of the AuthorizationHeader to the new algorithm parameter value.
public  voidsetCNonce(String cNonce)
     Sets the CNonce of the AuthorizationHeader to the cNonce parameter value.
public  voidsetNonce(String nonce)
     Sets the Nonce of the AuthorizationHeader to the nonce parameter value.
public  voidsetNonceCount(int nonceCount)
     Sets the Nonce Count of the AuthorizationHeader to the nonceCount parameter value.
public  voidsetOpaque(String opaque)
     Sets the Opaque value of the AuthorizationHeader to the new opaque parameter value.
public  voidsetQop(String qop)
     Sets the MessageQop value of the AuthorizationHeader to the new qop parameter value.
public  voidsetRealm(String realm)
     Sets the Realm of the AuthorizationHeader to the realm parameter value.
public  voidsetResponse(String response)
     Sets the Response of the AuthorizationHeader to the new response parameter value.
public  voidsetScheme(String scheme)
     Sets the scheme of the Response information for this AuthorizationHeader.
public  voidsetURI(URI uri)
     Sets the URI of the AuthorizationHeader to the uri parameter value.
public  voidsetUsername(String username)
     Sets the Username of the AuthorizationHeader to the username parameter value.

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





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



getCNonce
public String getCNonce()(Code)
Returns the CNonce value of this AuthorizationHeader. the String representing the cNonce information, null if value isnot set.



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



getNonceCount
public int getNonceCount()(Code)
Returns the Nonce Count value of this AuthorizationHeader. the integer representing the nonceCount information, -1 if value isnot set.



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



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



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



getResponse
public String getResponse()(Code)
Returns the Response value of this AuthorizationHeader. the String representing the Response information.



getScheme
public String getScheme()(Code)
Returns the scheme of the Response information for this AuthorizationHeader. the string value of the response information.



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



getUsername
public String getUsername()(Code)
Returns the Username value of this AuthorizationHeader. This convenience method returns only the username of the complete Response. the String representing the Username information, null if value isnot set.



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



setCNonce
public void setCNonce(String cNonce) throws ParseException(Code)
Sets the CNonce of the AuthorizationHeader to the cNonce parameter value.
Parameters:
  cNonce - - the new cNonce String of this AuthorizationHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the cNonce value.



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



setNonceCount
public void setNonceCount(int nonceCount) throws ParseException(Code)
Sets the Nonce Count of the AuthorizationHeader to the nonceCount parameter value.
Parameters:
  nonceCount - - the new nonceCount integer of this AuthorizationHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the nonceCount value.



setOpaque
public void setOpaque(String opaque) throws ParseException(Code)
Sets the Opaque value of the AuthorizationHeader to the new opaque parameter value.
Parameters:
  opaque - - the new Opaque string of this AuthorizationHeader.
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 MessageQop value of the AuthorizationHeader to the new qop parameter value.
Parameters:
  qop - - the new Qop string of this AuthorizationHeader.
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 AuthorizationHeader 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 AuthorizationHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the realm.



setResponse
public void setResponse(String response) throws ParseException(Code)
Sets the Response of the AuthorizationHeader to the new response parameter value.
Parameters:
  response - - the new response String of this AuthorizationHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the Response.



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



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



setUsername
public void setUsername(String username) throws ParseException(Code)
Sets the Username of the AuthorizationHeader to the username parameter value.
Parameters:
  username - the new Username String of this AuthorizationHeader.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the username.



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