|
Oracle Application Server Web Services UDDI Client API Reference 10g (9.0.4) Part No. B10396-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)
AuthenticationLiaison
init
in interface AuthenticationLiaison
public void authenticate() throws UddiClientException, org.apache.soap.SOAPException
AuthenticationLiaison
AuthenticationLiaison.getAuthInfo()
must return the token for the authenticated session.authenticate
in interface AuthenticationLiaison
UddiClientException
org.apache.soap.SOAPException
public java.lang.String getAuthInfo()
AuthenticationLiaison
getAuthInfo
in interface AuthenticationLiaison
UddiClient
public void close() throws UddiClientException, org.apache.soap.SOAPException
AuthenticationLiaison
AuthenticationLiaison.getAuthInfo()
will return null from this point onwards. It should stay silent if it is called multiple times.close
in interface AuthenticationLiaison
UddiClientException
org.apache.soap.SOAPException
|
Oracle Application Server Web Services UDDI Client API Reference 10g (9.0.4) Part No. B10396-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |