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

interface XSSOAcceptorContext
Base Interfaces
XSSOAcceptorContextXSSOContext

XSSOContext
(referenced interface's summary:)
Base SSO security context representation
Description
represents an acceptor side security context.

This context may be used to authenticate a Single Signon initiator based on a security token sent by the intiator and to generate a token to be sent back to the initiator so that it can authenticate the acceptor.

Since
OOo 1.1.2

Methods' Summary
accept accepts/authenticates an SSO token sent from the context initiator side.  
Methods' Details
accept
sequence< byte >
accept( [in] sequence< byte >  Token )
raises( InvalidArgumentException,
InvalidCredentialException,
InvalidContextException,
AuthenticationFailedException );

Description
accepts/authenticates an SSO token sent from the context initiator side.

accept() should be called only once. Subsequent calls produce undefined results.

Parameter Token
the SSO token sent by the initiator.
Returns
the sequence of bytes to be sent back to the initiator to allow authentication of the acceptor side, if mutual authentication is supported by the security context. If mutual authentication is not supported a zero length sequence is returned.
Top of Page