Oracle® Calendar Web Services Java API Reference
10g Release 1 (10.1.1)

B14475-01


oracle.calendar.soap.client.authentication
Class BasicAuth

java.lang.Object
  extended byoracle.calendar.soap.client.authentication.BasicAuth


public class BasicAuth
extends java.lang.Object

Provides basic authentication services. The username and password are passed plaintext within a SOAP header of a SOAP request. This mechanism is not secure and should be used for development and testing purposes.

If BasicAuth is to be used in a production environment, the SSL protocol should be used to secure the HTTP connection between the SOAP client and Calendar Web services host.


Constructor Summary
BasicAuth()
Default constructor.

Method Summary
org.w3c.dom.Element getElement()
Returns a new XML DOM structure representing the BasicAuth SOAP header to be transmitted to the Calendar Web service.
void setName(java.lang.String in_name)
Specifies the user name.
void setPassword(java.lang.String in_password)
Specifies the user's password.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

BasicAuth

public BasicAuth()
Default constructor. version 2002-12-16 fix008343

Method Detail

setName

public void setName(java.lang.String in_name)
Specifies the user name. The user name can be a user ID or an X.400 string representing the user. Note: An X.400 first name/last name combination can result in a SOAP fault if two users have the same names. version 2002-12-16 fix008343
Parameters:
in_name - user name

setPassword

public void setPassword(java.lang.String in_password)
Specifies the user's password. Note: The password is transmitted in plaintext format. Use another authentication mechanism or SSL if the information is sensitive. version 2002-12-16 fix008343
Parameters:
in_password - password

getElement

public org.w3c.dom.Element getElement()
Returns a new XML DOM structure representing the BasicAuth SOAP header to be transmitted to the Calendar Web service. This XML DOM can be passed directly to the Calendarlet's setAuthenticationHeader method. version 2002-12-16 fix008343
Returns:
Element XML DOM element tree
See Also:
CalendarWebService.setAuthenticationHeader(org.w3c.dom.Element)

Oracle® Calendar Web Services Java API Reference
10g Release 1 (10.1.1)

B14475-01


Copyright © 1998, 2005, Oracle. All rights reserved.