Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setMechs (0.04 sec)

  1. src/test/java/jcifs/smb/SpnegoContextTest.java

        }
    
        @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") };
            ctx.setMechs(updated);
            assertArrayEquals(updated, ctx.getMechs());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

        /**
         * Set what mechanism is being used for this context.
         *
         * @param mechs
         */
        void setMechs(final ASN1ObjectIdentifier[] mechs) {
            this.mechs = mechs;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getNetbiosName()
         */
        @Override
        public String getNetbiosName() {
            return null;
        }
    
        /**
    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