Content for OpenOffice.org version 3.3.
| PUBLIC MEMBERS: |
CLASSES
| STRUCTS
| UNIONS
| ENUMS
| TYPEDEFS
| METHODS
| STATIC METHODS
| DATA
| STATIC DATA |
| PRIVATE MEMBERS: |
CLASSES
| STRUCTS
| UNIONS
| ENUMS
| TYPEDEFS
| METHODS
| STATIC METHODS
| DATA
| STATIC 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.
|
void
clear( ) throw( ); |
Clears the access controller reference being used.
|
const ::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController > &
get( ) const throw( ); |
Returns access to the access controller reference being used.
|
::com::sun::star::security::XAccessController *
operator->( ) const 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
-
Top of Page
Copyright © 2009 Sun Microsystems, Inc.