Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
 Overview   Namespace   Class   Index   Help 
PUBLIC MEMBERS:  CLASSESSTRUCTSUNIONSENUMSTYPEDEFSMETHODSSTATIC METHODSDATASTATIC DATA
PRIVATE MEMBERS:  CLASSESSTRUCTSUNIONSENUMSTYPEDEFSMETHODSSTATIC METHODSDATASTATIC DATA

:: cppu ::

class AccessControl


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Summary
Helper class retriving access controller singleton from component context.
File
access_control.hxx

Public Members

Methods


AccessControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext ) throw( ::com::sun::star::uno::RuntimeException );
Ctor.

AccessControl( const ::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController > & xController ) throw( ::com::sun::star::uno::RuntimeException );
Ctor.

AccessControl( const ::cppu::AccessControl & ac ) throw( ::com::sun::star::uno::RuntimeException );
Copy ctor.
const ::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController > &
get( ) throw( );
Returns access to the access controller reference being used.
void
checkRuntimePermission( const ::rtl::OUString & name ) throw( ::com::sun::star::uno::RuntimeException );
void
checkFilePermission( const ::rtl::OUString & url, const ::rtl::OUString & actions ) throw( ::com::sun::star::uno::RuntimeException );
A com.sun.star.io.FilePermission represents access to a file or directory. A FilePermission consists of a file url and a set of actions valid for that pathname.
void
checkSocketPermission( const ::rtl::OUString & host, const ::rtl::OUString & actions ) throw( ::com::sun::star::uno::RuntimeException );

Private Members

Data

::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController > m_xController;

Top of Page

Apache Software Foundation

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

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