oracle.calendar.soap.client.authentication
Class ProxyAuth

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

public class ProxyAuth
extends java.lang.Object

The ProxyAuth class is used in the SOAP header to provide proxy service-to-service authentication services. The service provides it's application domain name and the password. The application domain name and password are taken from Oracle OID.


Field Summary
private  java.lang.String m_appname
           
private  java.lang.String m_apppassword
           
private  java.lang.String m_namespace
           
private  java.lang.String m_username
           

 

Constructor Summary
ProxyAuth()
          Default constructor.

 

Method Summary
 org.w3c.dom.Element getElement()
          Returns a new XML DOM structure representing the ProxyAuth SOAP header to be transmitted to the Calendar Web Service.
 void setApplicationName(java.lang.String in_appname)
          Sets the application's domain name
 void setApplicationPassword(java.lang.String in_apppassword)
          Sets the application's domain password
 void setName(java.lang.String in_name)
          Assign the user name.

 

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

 

Field Detail

m_namespace

private final java.lang.String m_namespace

m_appname

private java.lang.String m_appname

m_apppassword

private java.lang.String m_apppassword

m_username

private java.lang.String m_username
Constructor Detail

ProxyAuth

public ProxyAuth()
Default constructor.
Method Detail

setApplicationName

public void setApplicationName(java.lang.String in_appname)
Sets the application's domain name
Parameters:
in_appname - an application domain name

setApplicationPassword

public void setApplicationPassword(java.lang.String in_apppassword)
Sets the application's domain password
Parameters:
in_apppassword - an application domain password

setName

public void setName(java.lang.String in_name)
Assign the user name. The user name can be a user id or a X.400 string representing the user. It should be noted that an X.400 first name/last name combination can result in a SOAP fault, if two user's have the same names.
Parameters:
in_name - a user name

getElement

public org.w3c.dom.Element getElement()
Returns a new XML DOM structure representing the ProxyAuth SOAP header to be transmitted to the Calendar Web Service. This XML DOM can be passed directly to the Calendarlet's setAuthenticationHeader method.
Returns:
Element an XML DOM element tree
See Also:
CalendarWebService.setAuthenticationHeader(org.w3c.dom.Element)