Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

interface XSSOManager
Description
supports the creation of security contexts for both the initiator/source side and the acceptor/target side.
Since
OOo 1.1.2

Methods' Summary
getMechanism retrieves the mechanism name of all security contexts created using this manager.  
createInitiatorContext creates an initiator side security context.  
createAcceptorContext creates an acceptor side security context.  
Methods' Details
getMechanism
string
getMechanism();

Description
retrieves the mechanism name of all security contexts created using this manager.
Returns
the mechanism name ( e.g. "KERBEROS" )
createInitiatorContext
XSSOInitiatorContext
createInitiatorContext( [in] string  SourcePrincipal,
[in] string  TargetPrincipal,
[in] string  TargetHost )
raises( InvalidArgumentException,
InvalidCredentialException,
InvalidPrincipalException,
UnsupportedException );

Description
creates an initiator side security context.
Parameter SourcePrincipal
the name of the initiator side principal for which the context will be created.
Parameter TargetPrincipal
the name of the target/acceptor side principal to which the source principal intends to authenticate. @paran TargetHost the host name associated with the target principal.
Returns
the newly created initiator context.
createAcceptorContext
XSSOAcceptorContext
createAcceptorContext( [in] string  TargetPrincipal )
raises( InvalidArgumentException,
InvalidCredentialException,
InvalidPrincipalException,
UnsupportedException );

Description
creates an acceptor side security context.
Parameter TargetPrincipal
the name of the acceptor side principal.
Returns
the newly created acceptor side context.
Top of Page

Apache Software Foundation

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

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