| LibreOffice
    LibreOffice 25.2 SDK API Reference | 
represents an acceptor side security context. More...
import "XSSOAcceptorContext.idl";
 
  
| Public Member Functions | |
| sequence< byte > | accept ([in] sequence< byte > Token) raises ( InvalidArgumentException, InvalidCredentialException, InvalidContextException, AuthenticationFailedException ) | 
| accepts/authenticates an SSO token sent from the context initiator side. | |
| Public Member Functions inherited from XSSOContext | |
| string | getSource () | 
| retrieves the principal name of the source/initiator of the context. | |
| string | getTarget () | 
| retrieves the principal name of the target/acceptor of the context. | |
| string | getMechanism () | 
| retrieves the mechanism associated with the context. | |
| boolean | getMutual () | 
| retrieves whether or not the context supports mutual authentication | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) | 
| queries for a new interface to an existing UNO object. | |
| void | acquire () | 
| increases the reference counter by one. | |
| void | release () | 
| decreases the reference counter by one. | |
represents an acceptor side security context.
This context may be used to authenticate a Single Sign-on initiator based on a security token sent by the initiator and to generate a token to be sent back to the initiator so that it can authenticate the acceptor.
| sequence< byte > accept | ( | [in] sequence< byte > | Token | ) | ||
| raises | ( | InvalidArgumentException, | ||||
| InvalidCredentialException, | ||||||
| InvalidContextException, | ||||||
| AuthenticationFailedException ) | ||||||
accepts/authenticates an SSO token sent from the context initiator side.
accept() should be called only once. Subsequent calls produce undefined results.
| Token | the SSO token sent by the initiator. |