namespace com { namespace sun { namespace star { namespace security { class XAccessController; } } } } namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
namespace cppu
{
/** Helper class for retrieving access controller singleton from component context.
*/ class SAL_WARN_UNUSED CPPUHELPER_DLLPUBLIC AccessControl
{
css::uno::Reference< css::security::XAccessController > m_xController;
/** A com.sun.star.security.RuntimePermission is for runtime permissions. ARuntimePermissioncontainsaname(alsoreferredtoasa"targetname")butno actionslist;youeitherhavethenamedpermissionoryoudon't.
@paramnamenameofpermission
*/ void SAL_CALL checkRuntimePermission(
::rtl::OUString const & name );
/** A com.sun.star.io.FilePermission represents access to a file or directory. AFilePermissionconsistsofafileurlandasetofactionsvalidforthatpathname.
/** A com.sun.star.connection.SocketPermission represents access to a network via sockets. ASocketPermissionconsistsofahostspecificationandasetof"actions" specifyingwaystoconnecttothathost.
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.