Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: auth ::

interface XSSOInitiatorContext
Base Interfaces
XSSOInitiatorContextXSSOContext

XSSOContext
(referenced interface's summary:)
Base SSO security context representation
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
OOo 1.1.2

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 >  Token )
raises( 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.