oracle.calendar.soap.client.authentication
Class BasicChallenge

java.lang.Object
  |
  +--oracle.calendar.soap.client.authentication.BasicChallenge

public class BasicChallenge
extends java.lang.Object

The BasicChallenge SOAP header is returned from the Calendaring Web Services when BasicAuth is required but is not provided in the SOAP request.

See Also:
BasicAuth

Field Summary
static java.lang.String k_Realm
           
private  java.lang.String m_realm
           

 

Constructor Summary
BasicChallenge()
          Default constructor

 

Method Summary
 java.lang.String getRealm()
          Returns the Realm string.
static BasicChallenge unmarshall(org.w3c.dom.Element in_element)
          Constructs a new BasicChallenge object from the XML DOM elements within in_element.

 

Methods inherited from class java.lang.Object
<clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait

 

Field Detail

k_Realm

public static final java.lang.String k_Realm

m_realm

private java.lang.String m_realm
Constructor Detail

BasicChallenge

public BasicChallenge()
Default constructor
Method Detail

getRealm

public java.lang.String getRealm()
Returns the Realm string. This string is used to provide a hint for basic authentication. This string is set by the system adminstrator on the Calendaring Web Services host. The same will be returned for each user and request. Basically, it's totally useless, but I'm following the specification.
Returns:
String a realm string

unmarshall

public static BasicChallenge unmarshall(org.w3c.dom.Element in_element)
Constructs a new BasicChallenge object from the XML DOM elements within in_element.
Parameters:
in_element - an XML DOM tree
Returns:
BasicChallenge an new object instance