Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for mypass (0.95 sec)

  1. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            this(macSigningKey, bypass, 0);
        }
    
        /**
         * Constructs a signing digest with bypass option and initial sequence number
         *
         * @param macSigningKey
         *            The MAC signing key used for generating signatures
         * @param bypass
         *            Whether to bypass signature verification
         * @param initialSequence
         *            The initial sequence number for signing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        @Test
        @DisplayName("Test constructor with MAC signing key and bypass flag")
        void testConstructorWithBypass() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, true);
            assertNotNull(digest);
            assertTrue(digest.toString().contains("MacSigningKey="));
        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key, bypass flag and initial sequence")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

     * authentication context without requiring users to explicitly enter credentials.
     *
     * The authenticator supports various configuration options including delegation,
     * basic authentication fallback, and localhost authentication bypass.
     */
    public class SpnegoAuthenticator implements SsoAuthenticator {
    
        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(SpnegoAuthenticator.class);
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         */
        @Test
        public void testAuthTypeGuessing() {
            // Test guest detection
            NtlmPasswordAuthenticator guestAuth = new NtlmPasswordAuthenticator("guest", "anypass");
            assertTrue(guestAuth.isGuest());
            assertFalse(guestAuth.isAnonymous());
    
            // Test anonymous detection
            NtlmPasswordAuthenticator anonAuth = new NtlmPasswordAuthenticator("", new char[0]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

        void testHandleSetsNameAndPasswordHappyPath() throws Exception {
            JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "pass");
            NameCallback nc = new NameCallback("user:");
            PasswordCallback pc = new PasswordCallback("pass:", false);
    
            // Exercise callback handler with both callbacks supplied
            Callback[] cbs = new Callback[] { nc, pc };
            auth.handle(cbs);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. README.md

    ```java
    // Use with SLF4J (add slf4j-api dependency)
    Logger logger = Logger.getLogger(MyClass.class);
    
    // Use with Commons Logging (add commons-logging dependency)  
    Logger logger = Logger.getLogger(MyClass.class);
    
    // Use with Java Util Logging (built-in)
    Logger logger = Logger.getLogger(MyClass.class.getName());
    ```
    
    ### Bean Copy Configuration
    ```java
    // Configure bean copying behavior
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NetworkExplorerTest.java

            };
    
            networkExplorer.init(servletConfig);
    
            // Setup authentication
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(SingletonContext.getInstance(), "DOMAIN", "user", "pass");
            when(session.getAttribute("npa-workgroup")).thenReturn(auth);
            when(request.getPathInfo()).thenReturn("/workgroup/server/share/");
    
            networkExplorer.doGet(request, response);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            ASN1ObjectIdentifier unsupported = new ASN1ObjectIdentifier("1.2.3.4.5");
            byte[] init = spnegoInitWithMechs(unsupported);
    
            // Host is a FQDN to pass the short-name check
            SmbUnsupportedOperationException ex =
                    assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "server.example.com", init, false));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_BeanToBean() throws Exception {
            final MyClass src = new MyClass();
            src.setAaa("111");
            src.setCcc("333");
    
            final MyClass2 dest = new MyClass2();
            dest.setAaa("aaa");
            dest.setBbb("bbb");
            dest.setDdd("ddd");
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

                verify(mockRenewableCredentials, never()).renew(); // Ensure renewable path was not taken
            }
        }
    
        @Test
        @DisplayName("Should pass SmbAuthException to NtlmAuthenticator.requestNtlmPasswordAuthentication")
        void testRenewCredentials_WithSmbAuthException() {
            SmbAuthException mockSmbAuthException = mock(SmbAuthException.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top