Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: auth ::
interface XSSOInitiatorContext
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XSSOContext
          |
          +-XSSOInitiatorContext
Description represents an initiator side security context. This context may be used to initialise authetication tokens to send to an acceptor and to authenticate any token sent back in response. Since version OpenOffice.org 1.1.1

Methods' Summary
init | initialises an SSO Token to send to the acceptor side and authenticates an SSO Token returned by the acceptor if the context supports mutual authentication.

Methods' Details
init
sequence< byte > init( | [in] sequence< byte > raises( | Token ) InvalidArgumentException, InvalidCredentialException, InvalidContextException, AuthenticationFailedException );
Description initialises an SSO Token to send to the acceptor side and authenticates an SSO Token returned by the acceptor if the context supports mutual authentication. init should be called only once for contexts which don't support mutual authentication and at most twice for contexts which do support mutual authentication. Additional calls produce undefined results. Parameter Token the SSO token received from the acceptor side in response to an authentication request. This token is ignored on the first call to init and should only be specified for the second call on a context supporting mutual authentication. Returns the sequence of bytes to be sent to the acceptor side as part of an authentication request. This sequence will be non zero length for the first call to init, zero length for the second call to init on a context supporting mutual authentication and undefined in all other cases.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.