Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for toDisplayString (0.26 seconds)

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

            // Test SID that throws exception in toDisplayString
            SID exceptionSID = new SID() {
                @Override
                public SID getDomainSid() {
                    return null;
                }
    
                @Override
                public int getRid() {
                    return 0;
                }
    
                @Override
                public String toDisplayString() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/SID.java

     * <p>
     * Consider the following output of <code>examples/SidLookup.java</code>:
     *
     * <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 {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/SIDTest.java

            assertEquals("MYDOMAIN\\MyAlias", sid.toDisplayString());
    
            SID domainSid = new SID(rpcSid, SID.SID_TYPE_DOMAIN, "MYDOMAIN", null, true);
            assertEquals("MYDOMAIN", domainSid.toDisplayString());
    
            SID builtinSid = new SID(rpcSid, SID.SID_TYPE_WKN_GRP, "BUILTIN", "Administrators", false);
            assertEquals("Administrators", builtinSid.toDisplayString());
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SID.java

     * such as {@code Administrators} or {@code MYDOM\alice}.
     * <p>
     * Consider the following output of {@code examples/SidLookup.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>
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SIDTest.java

                assertEquals("MYDOM", user.getDomainName());
                assertEquals("alice", user.getAccountName());
                assertEquals("MYDOM\\alice", user.toDisplayString());
            }
    
            @Test
            @DisplayName("toDisplayString for BUILTIN and well-known group cases")
            void testDisplayStringBuiltinAndWkn() {
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                // Well-known group
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/SidResolver.java

         *            authority.
         * @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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SID.java

     * such as {@code Administrators} or {@code MYDOM\alice}.
     * <p>
     * Consider the following output of {@code examples/SidLookup.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 {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  8. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/SambaHelper.java

        public String getAccountId(final SID sid) {
            final int type = sid.getType();
            if (logger.isDebugEnabled()) {
                try {
                    logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
                } catch (final Exception e) {
                    // ignore
                }
            }
            final Integer id = fessConfig.getAvailableSmbSidType(type);
            if (id != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/dtyp/ACE.java

         */
        @Override
        public String toString() {
            final StringBuffer sb = new StringBuffer();
            sb.append(isAllow() ? "Allow " : "Deny  ");
            appendCol(sb, this.sid.toDisplayString(), 25);
            sb.append(" 0x").append(Hexdump.toHexString(this.access, 8)).append(' ');
            sb.append(isInherited() ? "Inherited " : "Direct    ");
            appendCol(sb, getApplyToText(), 34);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top