|
Oracle® Application Server Web Services UDDI Client API Reference 10g Release 2 (10.1.2) Part No. B13971-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
oracle.uddi.client.TransportAuthenticationLiaison
Implements an authentication scheme (and hence session management function) that is entirely managed by the underlying transport. Examples include HTTP basic authentication, HTTP basic authentication with HTTP session, HTTPS certificate-based authentication, etc. Note that since this AuthenticationLiaison relies on the transport for authentication, it is important to use a SoapTransportLiaison which provides authentication functionality.
Note: Clients of the API should do nothing more than instantiate this class. Its methods are called indirectly by the UddiClient object.
| Constructor Summary | |
TransportAuthenticationLiaison()Instantiate an instance. | |
| Method Summary | |
void |
authenticate()Perform the proper authentication. |
void |
close()Close the authenticated session. |
java.lang.String |
getAuthInfo()Return the token of the authenticated session. |
void |
init(UddiClient uddiClient)Initialize the authentication liaison. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TransportAuthenticationLiaison()
| Method Detail |
public void init(UddiClient uddiClient)
AuthenticationLiaisoninit in interface AuthenticationLiaison
public void authenticate()
throws UddiClientException,
org.apache.soap.SOAPException
AuthenticationLiaisonAuthenticationLiaison.getAuthInfo() must return the token for the authenticated session.authenticate in interface AuthenticationLiaisonUddiClientExceptionorg.apache.soap.SOAPExceptionpublic java.lang.String getAuthInfo()
AuthenticationLiaisongetAuthInfo in interface AuthenticationLiaisonUddiClient
public void close()
throws UddiClientException,
org.apache.soap.SOAPException
AuthenticationLiaisonAuthenticationLiaison.getAuthInfo() will return null from this point onwards. It should stay silent if it is called multiple times.close in interface AuthenticationLiaisonUddiClientExceptionorg.apache.soap.SOAPException
|
Oracle® Application Server Web Services UDDI Client API Reference 10g Release 2 (10.1.2) Part No. B13971-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||