/** Perform the specified action restricting permissions to the given XAccessControlContext. Theactionisperformedwiththeintersectionofthepermissionsofthecurrentlyinstalled XAccessControlContext,thegivenXAccessControlContextandthesecuritypolicycurrently ineffect.Thelatterincludesstaticsecurity,e.g.basedonusercredentials. <p> IfthespecifiedXAccessControlContextisnull,thentheactionisperformed withunmodifiedpermissions,i.e.thecallmakesnosense. </p>
@paramaction actionobjecttobeexecuted @paramrestriction accesscontrolcontexttorestrictpermission;nullfornorestriction @return result @throwscom::sun::star::uno::Exception anyUNOexceptionmaybethrown
*/
any doRestricted(
[in] XAction action,
[in] XAccessControlContext restriction )
raises (com::sun::star::uno::Exception);
/** Perform the specified action adding a set of permissions defined by the given XAccessControlContext. Theactionisperformedwiththeunionofthepermissionsofthecurrentlyinstalled XAccessControlContext,thegivenXAccessControlContextandthesecuritypolicycurrently ineffect.Thelatterincludesstaticsecurity,e.g.basedonusercredentials. <p> IfthegivenXAccessControlContextisnull,thentheactionisperformed <b>only</b>withthepermissionsofthesecuritypolicycurrentlyineffect. </p>
@paramaction actionobjecttobeexecuted @paramrestriction accesscontrolcontexttorestrictpermission;nullfornorestriction @return result @throwscom::sun::star::uno::Exception anyUNOexceptionmaybethrown
*/
any doPrivileged(
[in] XAction action,
[in] XAccessControlContext restriction )
raises (com::sun::star::uno::Exception);
/** This method takes a "snapshot" of the current calling context andreturnsit. <p> Thiscontextmaythenbecheckedatalaterpoint,possiblyinanotherthread. </p> @return snapshotofcontext
*/
XAccessControlContext getContext();
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.