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

B14475-01


oracle.calendar.soap.client.authentication
Class TrustedAuth

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


public class TrustedAuth
extends java.lang.Object

Allows an application to authenticate itself to Calendar Web services.

Note: Use ServiceAuth instead of this class.


Constructor Summary
TrustedAuth()
Default constructor.

Method Summary
org.w3c.dom.Element getElement()
Returns a new XML DOM structure representing the TrustedAuth SOAP header to be sent to Calendar Web services.
void setName(java.lang.String in_name)
Specifies the user name.
void setToken(java.lang.String in_token)
Specifies the service's security token.

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

Constructor Detail

TrustedAuth

public TrustedAuth()
Default constructor. version 2003-01-21 fix008443

Method Detail

setToken

public void setToken(java.lang.String in_token)
Specifies the service's security token. version 2003-01-21 fix008443
Parameters:
in_token - security token

setName

public void setName(java.lang.String in_name)
Specifies the user name. The user name can be a user ID or a 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 2003-01-21 fix008443
Parameters:
in_name - user name

getElement

public org.w3c.dom.Element getElement()
Returns a new XML DOM structure representing the TrustedAuth SOAP header to be sent to Calendar Web services. This XML DOM can be passed directly to the Calendarlet's setAuthenticationHeader method. version 2003-01-21 fix008443
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.