Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getDomainName (0.18 sec)

  1. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            }
    
            @Override
            public String toDisplayString() {
                return getDomainName() + "\\" + getAccountName();
            }
    
            @Override
            public String getAccountName() {
                return "Test User";
            }
    
            @Override
            public String getDomainName() {
                return "WORKGROUP";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/smb/SIDTest.java

                assertEquals("S-1-5-10-20", unknown.getDomainName());
                assertEquals("30", unknown.getAccountName());
    
                // Domain type: domain name as-is, account name empty
                SID domain = new SID(buildSidT((byte) 1, ident, 10, 20), jcifs.SID.SID_TYPE_DOMAIN, "MYDOM", "ignored", false);
                assertEquals("MYDOM", domain.getDomainName());
                assertEquals("", domain.getAccountName());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SID.java

     *
     * <pre>
     *        toString: S-1-5-21-4133388617-793952518-2001621813-512
     * toDisplayString: WNET\Domain Admins
     *         getType: 2
     *     getTypeText: Domain group
     *   getDomainName: WNET
     *  getAccountName: Domain Admins
     * </pre>
     */
    public interface SID {
    
        /**
         * SID type indicating no type information.
         */
        int SID_TYPE_USE_NONE = 0;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacLogonInfoTest.java

            PacLogonInfo logonInfo = mock(PacLogonInfo.class);
    
            // Setup mock responses
            when(logonInfo.getUserName()).thenReturn(TEST_USERNAME);
            when(logonInfo.getDomainName()).thenReturn(TEST_DOMAIN);
            when(logonInfo.getServerName()).thenReturn(TEST_SERVER);
            when(logonInfo.getLogonTime()).thenReturn(new Date());
            when(logonInfo.getLogoffTime()).thenReturn(new Date());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SID.java

     *
     * <pre>
     *        toString: S-1-5-21-4133388617-793952518-2001621813-512
     * toDisplayString: WNET\Domain Admins
     *         getType: 2
     *     getTypeText: Domain group
     *   getDomainName: WNET
     *  getAccountName: Domain Admins
     * </pre>
     *
     *
     * <p>This section is intended for internal use.</p>
     */
    public class SID extends rpc.sid_t implements jcifs.SID {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SIDCacheImpl.java

         * @param sids
         *            The SIDs that should be resolved. After this function is called, the names associated with the SIDs
         *            may be queried with the <code>toDisplayString</code>, <code>getDomainName</code>, and <code>getAccountName</code>
         *            methods.
         */
        @Override
        public void resolveSids(final CIFSContext tc, final String authorityServerName, final jcifs.SID[] sids) throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SID.java

     * <pre>
     *        toString: S-1-5-21-4133388617-793952518-2001621813-512
     * toDisplayString: WNET\Domain Admins
     *         getType: 2
     *     getTypeText: Domain group
     *   getDomainName: WNET
     *  getAccountName: Domain Admins
     * </pre>
     */
    
    public class SID extends rpc.sid_t {
    
        /**
         * SID type indicating no type information.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacLogonInfo.java

         */
        public String getServerName() {
            return this.serverName;
        }
    
        /**
         * Returns the user's domain name.
         * @return the domain name
         */
        public String getDomainName() {
            return this.domainName;
        }
    
        /**
         * Returns the user's Security Identifier (SID).
         * @return the user SID
         */
        public SID getUserSid() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SidResolver.java

         * @param sids
         *            The SIDs that should be resolved. After this function is called, the names associated with the SIDs
         *            may be queried with the <code>toDisplayString</code>, <code>getDomainName</code>, and <code>getAccountName</code>
         *            methods.
         * @throws CIFSException if there is an error resolving the SIDs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top