Methods' Summary |
checkPermission |
Determines whether the access request indicated by the specified
permission should be allowed or denied, based on this context.
The semantics are equivalent to the security permission classes of
the Java platform.
|
Methods' Details |
checkPermission
- Description
- Determines whether the access request indicated by the specified
permission should be allowed or denied, based on this context.
The semantics are equivalent to the security permission classes of
the Java platform.
You can also pass a sequence of permissions (sequence< any >) to check
a set of permissions, e.g. for performance reasons.
This method quietly returns if the access request is permitted,
or throws a suitable AccessControlException otherwise.
- Parameter perm
- permission to be checked
- Throws
- AccessControlException
thrown if access is denied
- See also
- AccessControlException, AllPermission, RuntimePermission, ::com::sun::star::io::FilePermission, ::com::sun::star::connection::SocketPermission
|
|
Top of Page
Copyright © 2020, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.