Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for isObject (0.05 sec)

  1. cmd/metacache-set.go

    		return true
    	}
    	if !o.Recursive && !entry.isInDir(o.Prefix, o.Separator) {
    		return true
    	}
    	if !o.InclDeleted && entry.isObject() && entry.isLatestDeletemarker() && !entry.isObjectDir() {
    		return true
    	}
    	if o.Lifecycle != nil || o.Replication.Config != nil {
    		return triggerExpiryAndRepl(ctx, *o, entry)
    	}
    	return false
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom.go

    					return true
    				default:
    					return false
    				}
    			}
    
    			var versionsFound int
    			if err = set.listObjectsToDecommission(ctx, bi, func(entry metaCacheEntry) {
    				if !entry.isObject() {
    					return
    				}
    
    				// `.usage-cache.bin` still exists, must be not readable ignore it.
    				if bi.Name == minioMetaBucket && strings.Contains(entry.name, dataUsageCacheName) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            @DisplayName("getUserDomain: derives from KerberosPrincipal in Subject")
            void getUserDomain_fromSubjectPrincipal() {
                Subject subject = new Subject();
                Principal kp = new KerberosPrincipal("******@****.***");
                subject.getPrincipals().add(kp);
    
                Kerb5Authenticator auth = new Kerb5Authenticator(subject);
                assertEquals("EXAMPLE.COM", auth.getUserDomain());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

    import org.mockito.MockitoAnnotations;
    
    /**
     * Test class for KerberosCredentials.
     */
    class KerberosCredentialsTest {
    
        @Mock
        private LoginContext loginContext;
    
        @Mock
        private Subject subject;
    
        @Mock
        private KerberosKey key1;
    
        @Mock
        private KerberosKey key2;
    
        private static final String LOGIN_CONTEXT_NAME = "TestLoginContext";
        private static final int KEY_TYPE_1 = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/CredentialsInternalTest.java

            private final boolean guest;
            private final Subject subject;
            private final boolean failOnRefresh;
    
            TestCredentials(String domain, boolean anonymous, boolean guest, Subject subject, boolean failOnRefresh) {
                this.domain = domain;
                this.anonymous = anonymous;
                this.guest = guest;
                this.subject = subject;
                this.failOnRefresh = failOnRefresh;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            Subject presetSubject = new Subject();
            orig.setSubject(presetSubject);
    
            // Try to get a Subject, but handle the case where JAAS may not be configured
            Subject first = orig.getSubject();
            // In test environments, getSubject() may return null if JAAS is not configured
            // This is acceptable behavior - the test should focus on the cloning logic
    
            // Clone and verify basic fields copied
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

                    }
                }
            }
    
            return serverKey;
        }
    
        /**
         * Returns the authenticated JAAS Subject.
         *
         * @return the authenticated Subject
         */
        public Subject getSubject() {
            return this.subject;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/Kerb5Authenticator.java

                throw new SmbException("Context setup failed", e);
            }
        }
    
        /**
         * Set the Kerberos subject
         *
         * @param subject
         *            the subject to set
         */
        protected void setSubject(Subject subject) {
            this.subject = subject;
        }
    
        @Override
        public void refresh() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/JAASAuthenticator.java

                }
                lc.login();
    
                Subject s = lc.getSubject();
                if (log.isDebugEnabled()) {
                    log.debug("Got subject: " + s.getPrincipals());
                }
                if (log.isTraceEnabled()) {
                    log.trace("Got subject " + s);
                }
    
                this.cachedSubject = s;
                return this.cachedSubject;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/CredentialsInternal.java

        SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException;
    
        /**
         * Get the security subject associated with these credentials.
         * @return subject associated with the credentials
         */
        Subject getSubject();
    
        /**
         * Refresh the credentials.
         * @throws CIFSException if refresh fails
         */
        void refresh() throws CIFSException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top