Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 403 for subjects (0.04 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Test the cloning behavior with both null and non-null cached subjects
            if (first != null) {
                // If we got a valid subject, test that it's properly cached and cloned
                Subject cachedOrig = orig.getSubject();
                assertNotNull(cachedOrig);
    
                // Cached subject is copied and visible via getSubject()
                Subject copySubj = copy.getSubject();
                assertNotNull(copySubj);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Objects.java

      public static int hashCode(@Nullable Object @Nullable ... objects) {
        return java.util.Objects.hash(objects);
      }
    
      private Objects() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 22:51:26 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. README.md

        `com.google.guava:failureaccess:1.0.3`. It also has
        [some annotation-only dependencies][guava-deps], which we discuss in more
        detail at that link.
    
    4.  Serialized forms of ALL objects are subject to change unless noted
        otherwise. Do not persist these and assume they can be read by a future
        version of the library.
    
    5.  Our classes are not designed to protect against a malicious caller. You
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

         * @param tdom
         * @param thost
         * @return
         */
        protected boolean matches(CIFSContext tf, String thost, String tdom) {
            return Objects.equals(this.getCredentials(), tf.getCredentials()) && Objects.equals(this.targetHost, thost)
                    && Objects.equals(this.targetDomain, tdom);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (1)
  10. guava/src/com/google/common/reflect/Types.java

        return new WildcardTypeImpl(new Type[] {lowerBound}, new Type[] {Object.class});
      }
    
      /**
       * Returns a human-readable string representation of {@code type}.
       *
       * <p>The format is subject to change.
       */
      static String toString(Type type) {
        return (type instanceof Class) ? ((Class<?>) type).getName() : type.toString();
      }
    
      static @Nullable Type getComponentType(Type type) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
Back to top