Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getMech (0.03 sec)

  1. src/main/java/jcifs/smb/Kerb5Context.java

            MIEName targ = new MIEName(this.gssContext.getTargName().export());
    
            ASN1ObjectIdentifier mech = ASN1ObjectIdentifier.getInstance(this.gssContext.getMech().getDER());
            for (KerberosTicket ticket : subject.getPrivateCredentials(KerberosTicket.class)) {
                MIEName client = new MIEName(mech, ticket.getClient().getName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  2. src/test/java/jcifs/smb/Kerb5ContextTest.java

            when(targ.export()).thenReturn(buildExportName(new Oid("1.2.3"), "service"));
            when(gssContext.getSrcName()).thenReturn(src);
            when(gssContext.getTargName()).thenReturn(targ);
            when(gssContext.getMech()).thenReturn(new Oid("1.2.3"));
    
            assertNull(ctx.searchSessionKey(new javax.security.auth.Subject()));
        }
    
        @Test
        @DisplayName("toString shows basic info when not established")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

            }
            if (result && os.getArch() != null) {
                result = determineArchMatch(os.getArch());
            }
            if (result && os.getVersion() != null) {
                result = determineVersionMatch(os.getVersion());
            }
            return result;
        }
    
        private boolean ensureAtLeastOneNonNull(ActivationOS os) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SpnegoContextTest.java

            verify(this.mechContext, never()).getNetbiosName();
        }
    
        @Test
        @DisplayName("getMechs returns configured mechs and setMechs updates them")
        void testGetSetMechs() {
            SpnegoContext ctx = newContext();
            assertArrayEquals(this.mechs, ctx.getMechs());
            ASN1ObjectIdentifier[] updated = new ASN1ObjectIdentifier[] { new ASN1ObjectIdentifier("1.2.840.113554.1.2.2") };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                if (profileOs != null) {
                    org.apache.maven.model.ActivationOS os = new org.apache.maven.model.ActivationOS();
    
                    os.setArch(profileOs.getArch());
                    os.setFamily(profileOs.getFamily());
                    os.setName(profileOs.getName());
                    os.setVersion(profileOs.getVersion());
    
                    activation.setOs(os);
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SpnegoContext.java

            return false;
        }
    
        /**
         * Determines what mechanism is being used for this context.
         *
         * @return the Oid of the mechanism being used
         */
        ASN1ObjectIdentifier[] getMechs() {
            return this.mechs;
        }
    
        /**
         * @return the mechanisms announced by the remote end
         */
        ASN1ObjectIdentifier[] getRemoteMechs() {
            return this.remoteMechs;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top