| jaulib v1.4.0-2-g788cf73
    Jau Support Library (C++, Java, ..) | 
| Static Public Member Functions | |
| static final SecurityManager | getSecurityManager () | 
| Call wrapper for System#getSecurityManager(). | |
| static< T > T | doPrivileged (final PrivilegedAction< T > o) | 
| Call wrapper for java.security.AccessController#doPrivileged(PrivilegedAction). | |
| static final boolean | hasAllPermissions () | 
| Returns trueif noSecurityManagerhas been installed or the installedSecurityManager'scheckPermission(new AllPermission())passes. | |
| static final boolean | hasPermission (final Permission perm) | 
| Returns trueif noSecurityManagerhas been installed or the installedSecurityManager'scheckPermission(perm)passes. | |
| static final void | checkAllPermissions () throws SecurityException | 
| Throws an SecurityExceptionif an installedSecurityManagerdoes not permit the requestedAllPermission. | |
| static final void | checkPermission (final Permission perm) throws SecurityException | 
| Throws an SecurityExceptionif an installedSecurityManagerdoes not permit the requestedPermission. | |
| static final boolean | hasLinkPermission (final String libName) | 
| Returns trueif noSecurityManagerhas been installed or the installedSecurityManager'scheckLink(libName)passes. | |
| static final void | checkLinkPermission (final String libName) throws SecurityException | 
| Throws an SecurityExceptionif an installedSecurityManagerdoes not permit to dynamically link the given libName. | |
| static final void | checkAllLinkPermission () throws SecurityException | 
| Throws an SecurityExceptionif an installedSecurityManagerdoes not permit to dynamically link to all libraries. | |
| static final Certificate[] | getCerts (final Class<?> clz) throws SecurityException | 
| static final boolean | equals (final Certificate[] a, final Certificate[] b) | 
Definition at line 37 of file SecurityUtil.java.
| 
 | static | 
Throws an SecurityException if an installed SecurityManager does not permit to dynamically link to all libraries. 
Definition at line 194 of file SecurityUtil.java.
| 
 | static | 
Throws an SecurityException if an installed SecurityManager does not permit the requested AllPermission. 
Definition at line 149 of file SecurityUtil.java.
| 
 | static | 
Throws an SecurityException if an installed SecurityManager does not permit to dynamically link the given libName. 
Definition at line 183 of file SecurityUtil.java.
| 
 | static | 
Throws an SecurityException if an installed SecurityManager does not permit the requested Permission. 
Definition at line 158 of file SecurityUtil.java.
| 
 | static | 
Call wrapper for java.security.AccessController#doPrivileged(PrivilegedAction). 
java.security.AccessController#doPrivileged(PrivilegedAction) is deprecated since Java 17 (JEP 411) and earmarked to be removed.
 
On a Java 17 machine, this method will simply invoke the given PrivilegedAction<T>.
| <T> | return type of PrivilegedAction<T> | 
| o | the PrivilegedAction<T> | 
Definition at line 76 of file SecurityUtil.java.
| 
 | static | 
Definition at line 213 of file SecurityUtil.java.
| 
 | static | 
| clz | 
| SecurityException | if the caller has no permission to access the ProtectedDomain of the given class. | 
Definition at line 206 of file SecurityUtil.java.
| 
 | static | 
Call wrapper for System#getSecurityManager(). 
System#getSecurityManager() is deprecated since Java 17 (JEP 411) and earmarked to be removed.
 
On a Java 17 machine, this method will simply return null.
Definition at line 54 of file SecurityUtil.java.
| 
 | static | 
Returns true if no SecurityManager has been installed or the installed SecurityManager's checkPermission(new AllPermission()) passes. 
Otherwise method returns false. 
Definition at line 127 of file SecurityUtil.java.
| 
 | static | 
Returns true if no SecurityManager has been installed or the installed SecurityManager's checkLink(libName) passes. 
Otherwise method returns false. 
Definition at line 169 of file SecurityUtil.java.
| 
 | static | 
Returns true if no SecurityManager has been installed or the installed SecurityManager's checkPermission(perm) passes. 
Otherwise method returns false. 
Definition at line 136 of file SecurityUtil.java.