Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getAccountName (0.13 sec)

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

            public int getRid() {
                return 0;
            }
    
            @Override
            public String toDisplayString() {
                return getDomainName() + "\\" + getAccountName();
            }
    
            @Override
            public String getAccountName() {
                return "Test User";
            }
    
            @Override
            public String getDomainName() {
                return "WORKGROUP";
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:55:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. 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 {
    
        /**
         * 
         */
        public static final int SID_TYPE_USE_NONE = 0;
    
        /**
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SambaHelper.java

                    // ignore
                }
            }
            final Integer id = fessConfig.getAvailableSmbSidType(type);
            if (id != null) {
                return createSearchRole(id, sid.getAccountName());
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Ignored SID: {} {}", type, sid);
            }
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:58:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SidTest.java

            assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
            assertEquals(getTestUser(), s.getAccountName());
            assertEquals(jcifs.SID.SID_TYPE_USER, s.getType());
        }
    
    
        @Test
        public void resolveGroupSID () throws IOException {
            String sid = getRequiredProperty(TestProperties.TEST_GROUP_SID);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SID.java

            if ( this.type == SID_TYPE_UNKNOWN ) {
                String full = toString();
                return full.substring(0, full.length() - getAccountName().length() - 1);
            }
            return this.domainName;
        }
    
    
        @Override
        public String getAccountName () {
            if ( this.origin_server != null )
                resolveWeak();
            if ( this.type == SID_TYPE_UNKNOWN )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SID.java

                return full.substring(0, full.length() - getAccountName().length() - 1);
            }
            return domainName;
        }
    
        /**
         * Return the sAMAccountName of this SID unless it could not
         * be resolved in which case the numeric RID is returned. If this
         * SID is a domain SID, this method will return an empty String.
         */
        public String getAccountName() {
            if (origin_server != null)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SidResolver.java

         *            The SIDs that should be resolved. After this function is called, the names associated with the SIDs
         *            may be queried with the <tt>toDisplayString</tt>, <tt>getDomainName</tt>, and <tt>getAccountName</tt>
         *            methods.
         * @throws CIFSException
         */
        void resolveSids ( CIFSContext tc, String authorityServerName, SID[] sids ) throws CIFSException;
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                        }
                        final SID ownerUser = file.getOwnerUser();
                        if (ownerUser != null) {
                            final String[] ownerAttributes = { ownerUser.getAccountName(), ownerUser.getDomainName() };
                            responseData.addMetaData(SMB_OWNER_ATTRIBUTES, ownerAttributes);
                        }
                    } catch (final IOException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SIDCacheImpl.java

         *            The SIDs that should be resolved. After this function is called, the names associated with the SIDs
         *            may be queried with the <tt>toDisplayString</tt>, <tt>getDomainName</tt>, and <tt>getAccountName</tt>
         *            methods.
         */
        @Override
        public void resolveSids ( CIFSContext tc, String authorityServerName, jcifs.SID[] sids ) throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                        }
                        final SID ownerUser = file.getOwnerUser();
                        if (ownerUser != null) {
                            final String[] ownerAttributes = { ownerUser.getAccountName(), ownerUser.getDomainName() };
                            responseData.addMetaData(SMB_OWNER_ATTRIBUTES, ownerAttributes);
                        }
                    } catch (final IOException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top