(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4
 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 Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.