- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for SecurityException (0.36 seconds)
-
src/main/java/jcifs/smb1/Config.java
Config.prp = new Properties(prp); try { Config.prp.putAll(System.getProperties()); } catch (final SecurityException se) { if (LogStream.level > 1) { log.println("SecurityException: jcifs.smb1 will ignore System properties"); } } } /** * Load the <code>Config</code> with properties from the stream
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
// Verify witness service is authorized if (!isAuthorizedWitnessServer(witnessServer)) { throw new SecurityException("Unauthorized witness server: " + witnessServer); } } public void validateNotification(WitnessNotification notification) throws SecurityException { // Validate notification authenticityCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
interface FinalizerLoader { /** * Returns a {@link Class} for {@link Finalizer} or {@code null} if this loader shouldn't or * can't load it. * * @throws SecurityException if we don't have the appropriate privileges */ @Nullable Class<?> loadFinalizer(); } /** * Tries to load Finalizer from the system class loader. If Finalizer is in the system class path,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
* This is a simplified test that verifies the basic flow without full NTLM protocol simulation. * @throws IOException * @throws SecurityException */ @Test void testSuccessfulHandshake() throws IOException, SecurityException { // This test is simplified to verify basic handshake behavior // Full NTLM handshake testing would require more complex mockingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
```java public class RdmaSecurityManager { public void validateMemoryAccess(RdmaMemoryRegion region, RdmaAccess requestedAccess) { if (!region.hasAccess(requestedAccess)) { throw new SecurityException("Insufficient RDMA memory access rights"); } } public void validateRemoteAccess(long remoteAddress, int length, int remoteKey) { // Validate that remote memory access is authorizedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableReferenceQueue.java
interface FinalizerLoader { /** * Returns a {@link Class} for {@link Finalizer} or {@code null} if this loader shouldn't or * can't load it. * * @throws SecurityException if we don't have the appropriate privileges */ @Nullable Class<?> loadFinalizer(); } /** * Tries to load Finalizer from the system class loader. If Finalizer is in the system class path,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/Striped64.java
* to Unsafe.getUnsafe when integrating into a jdk. * * @return a sun.misc.Unsafe */ private static Unsafe getUnsafe() { try { return Unsafe.getUnsafe(); } catch (SecurityException tryReflectionInstead) { } try { return AccessController.doPrivileged( new PrivilegedExceptionAction<Unsafe>() { @Override public Unsafe run() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 15 22:17:15 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
boolean generateCancellationCauses; try { generateCancellationCauses = parseBoolean(System.getProperty("guava.concurrent.generate_cancellation_cause", "false")); } catch (SecurityException e) { generateCancellationCauses = false; } GENERATE_CANCELLATION_CAUSES = generateCancellationCauses; } /** Waiter links form a Treiber stack in {@link #waitersField}. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* Example usage: * </p> * <pre> * Path baseDir = Paths.get("/var/app/data"); * Path userPath = Paths.get(userInput); * if (!FileUtil.isPathSafe(userPath, baseDir)) { * throw new SecurityException("Path traversal attempt detected"); * } * </pre> * * @param pathToCheck the path to validate (must not be {@literal null})Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0)