(incubating) | The Free and Open Productivity Suite
 Overview   Namespace   Class   Index   Help 

Methods of Class AccessControl


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

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Ctor.
Parameters
xContext
component context to retrieve access controller singleton

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

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Ctor.
Parameters
xController
access controller

AccessControl
AccessControl(
const ::cppu::AccessControl & ac )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Copy ctor.
Parameters
another
object

get
const ::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController > & get() throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Returns access to the access controller reference being used.
Return
access controller

checkRuntimePermission
void checkRuntimePermission(
const ::rtl::OUString & name )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Description
A com.sun.star.security.RuntimePermission is for runtime permissions. A RuntimePermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.
Parameters
name
name of permission

checkFilePermission
void checkFilePermission(
const ::rtl::OUString & url,
const ::rtl::OUString & actions )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
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.
Parameters
url
file url
actions
actions list

checkSocketPermission
void checkSocketPermission(
const ::rtl::OUString & host,
const ::rtl::OUString & actions )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Description
A com.sun.star.connection.SocketPermission represents access to a network via sockets. A SocketPermission consists of a host specification and a set of "actions" specifying ways to connect to that host.
Parameters
host
host and optional portrange
actions
actions list

Top of Page

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.

Copyright & License
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.