Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for dom (0.01 sec)

  1. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            assertEquals("user@DOM", nc.getName());
            // Password should be set
            assertEquals("pass", new String(pc.getPassword()));
        }
    
        @Test
        @DisplayName("handle: sets only provided callbacks (name-only)")
        void testHandleNameOnly() throws Exception {
            JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "secret");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            void getUserDomain_fallbackToSuper() {
                Kerb5Authenticator auth = new Kerb5Authenticator(null, "DOM", "u", "p");
                // No explicit realm or subject -> returns super.getUserDomain()
                assertEquals("DOM", auth.getUserDomain());
            }
        }
    
        @Test
        @DisplayName("Protected setSubject: updates subject used by getters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/DomUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    import org.w3c.dom.Attr;
    import org.w3c.dom.CDATASection;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.EntityReference;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Text;
    
    /**
     * Utility class for DOM operations.
     *
     * @author higa
     */
    public abstract class DomUtil {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDTest.java

            @DisplayName("Relative constructor with RID appends last subauthority")
            void testRelativeConstructorWithRid() throws Exception {
                // Arrange
                SID dom = new SID("S-1-5-21-1-2-3");
    
                // Act
                SID sid = new SID(dom, 1029);
    
                // Assert
                assertEquals("S-1-5-21-1-2-3-1029", sid.toString());
                assertEquals(1029, sid.getRid());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDCacheImplTest.java

            // Since we're working with internal state, we'll verify the side effects
            assertEquals("DOM", s1.getDomainName());
            assertEquals("user1", s1.getAccountName());
            assertEquals("DOM", s2.getDomainName());
            assertEquals("user2", s2.getAccountName());
            assertEquals("DOM", s3.getDomainName());
            assertEquals("userX", s3.getAccountName());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            when(auth.isAnonymous()).thenReturn(true);
            when(auth.isGuest()).thenReturn(true);
            when(auth.getUsername()).thenReturn("guest");
            when(auth.getUserDomain()).thenReturn("dom");
    
            // Construct
            SmbComSessionSetupAndX obj = new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, auth);
            String accountName = (String) getField(obj, "accountName");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        }
    
        @Test
        void matchesBehavior() {
            // Two distinct auth instances
            NtlmPasswordAuthentication a1 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
            NtlmPasswordAuthentication a2 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
            SmbSession s1 = new SmbSession(addr, 445, inet, 0, a1);
            SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DfsImpl.java

            if (tf.getConfig().isDfsDisabled()) {
                return null;
            }
            final String dom = domain.toLowerCase(Locale.ROOT);
            synchronized (this.dcLock) {
                CacheEntry<DfsReferralDataInternal> ce = this.dcCache.get(dom);
                if (ce != null && System.currentTimeMillis() > ce.expiration) {
                    ce = null;
                }
                if (ce != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java

    import java.io.IOException;
    import java.io.InputStream;
    
    import javax.xml.parsers.DocumentBuilder;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.exception.SAXRuntimeException;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    
    /**
     * Utility class for {@link DocumentBuilder}.
     *
     * @author higa
     */
    public abstract class DocumentBuilderUtil {
    
        /**
         * Do not instantiate.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                    if (c == ';') {
                        dom = userInfo.substring(0, i);
                        u = i + 1;
                    } else if (c == ':') {
                        pass = userInfo.substring(i + 1);
                        break;
                    }
                }
                user = userInfo.substring(u, i);
            }
    
            this.domain = dom != null ? dom : defDomain != null ? defDomain : "";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top