Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getAccountName (0.27 sec)

  1. 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;
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. 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);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  3. 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 )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K 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 {
    
        /**
         * 
         */
        public static final int SID_TYPE_USE_NONE = 0;
    
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  5. 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)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  6. 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;
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  7. 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 {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResource.java

         * the security descriptor associated with this file or directory.
         * <p>
         * Initially, the SIDs within each ACE will not be resolved however when
         * <tt>getType()</tt>, <tt>getDomainName()</tt>, <tt>getAccountName()</tt>,
         * or <tt>toString()</tt> is called, the names will attempt to be
         * resolved. If the names cannot be resolved (e.g. due to temporary
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * the security descriptor associated with this file or directory.
     * <p>
     * Initially, the SIDs within each ACE will not be resolved however when
     * <tt>getType()</tt>, <tt>getDomainName()</tt>, <tt>getAccountName()</tt>,
     * or <tt>toString()</tt> is called, the names will attempt to be
     * resolved. If the names cannot be resolved (e.g. due to temporary
     * network failure), the said methods will return default values (usually
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top