Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 236 for isObject (0.39 seconds)

  1. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            }
        }
    
        private static class MockSMailPostingDiscloser implements SMailPostingDiscloser {
            private String subject;
            private String plainText;
    
            public void setSubject(String subject) {
                this.subject = subject;
            }
    
            public void setPlainText(String plainText) {
                this.plainText = plainText;
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 20K bytes
    - Click Count (0)
  3. 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;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
  5. 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());
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. 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;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. docs/sts/tls.md

    In case of certificate-based authentication, MinIO has to map the client-provided certificate to an S3 policy. MinIO does this via the subject common name field of the X.509 certificate. So, MinIO will associate a certificate with a subject `CN = foobar` to a S3 policy named `foobar`.
    
    The following self-signed certificate is issued for `consoleAdmin`. So, MinIO would associate it with the pre-defined `consoleAdmin` policy.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6K bytes
    - Click Count (1)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          }
    
        fun build(): HeldCertificate {
          // Subject keys & identity.
          val subjectKeyPair = keyPair ?: generateKeyPair()
          val subjectPublicKeyInfo =
            CertificateAdapters.subjectPublicKeyInfo.fromDer(
              subjectKeyPair.public.encoded.toByteString(),
            )
          val subject: List<List<AttributeTypeAndValue>> = subject()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 21.6K bytes
    - Click Count (0)
Back to Top