|
Oracle® Calendar Web Services Java API Reference 10g Release 1 (10.1.1) B14475-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.calendar.soap.client.authentication.ServiceAuth
Allows an application to authenticate itself to Calendar Web services.
The properties <ApplicationName> and <ApplicationPassword> are specified in OID and configured in the Calendar Server. Once the application is authenticated, a security token will be generated.
This secuity token is available only through trusted Oracle Application Server/Collaboration Server components. The Security token can expire at any given moment. If so, the Web Services call can be made again; however, there will be no way of knowing the token has expired. If there is a SOAP fault, the call should be tried once and only once.
Constructor Summary | |
ServiceAuth() Default constructor. |
Method Summary | |
org.w3c.dom.Element |
getElement() Returns a new XML DOM structure representing the ServiceAuth SOAP header to be sent to Calendar Web services. |
void |
setApplicationName(java.lang.String in_appname) Specifies the name of the application that wishes to authenticate to Calendar Web services. |
void |
setApplicationPassword(java.lang.String in_apppassword) Specifies the application's password. |
void |
setName(java.lang.String in_name) Specifies the user name. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceAuth()
Method Detail |
public void setApplicationName(java.lang.String in_appname)
in_appname
- application namepublic void setApplicationPassword(java.lang.String in_apppassword)
in_apppassword
- application passwordpublic void setName(java.lang.String in_name)
in_name
- a user namepublic org.w3c.dom.Element getElement()
CalendarWebService.setAuthenticationHeader(org.w3c.dom.Element)
|
Oracle® Calendar Web Services Java API Reference 10g Release 1 (10.1.1) B14475-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |