Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for mechanism (0.08 sec)

  1. src/main/java/jcifs/spnego/SpnegoConstants.java

     */
    
    package jcifs.spnego;
    
    /**
     * Constants for SPNEGO authentication mechanism OIDs used in GSS-API negotiations
     */
    public interface SpnegoConstants {
    
        /**
         * OID for the SPNEGO mechanism
         */
        String SPNEGO_MECHANISM = "1.3.6.1.5.5.2";
    
        /**
         * OID for the Kerberos v5 mechanism
         */
        String KERBEROS_MECHANISM = "1.2.840.113554.1.2.2";
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/NegTokenInitTest.java

            @DisplayName("Various mechanism combinations round-trip correctly")
            void testMechanismCombinations(ASN1ObjectIdentifier[] mechanisms) throws Exception {
                NegTokenInit init = new NegTokenInit(mechanisms, 0, null, null);
                byte[] encoded = init.toByteArray();
                NegTokenInit parsed = new NegTokenInit(encoded);
    
                if (mechanisms == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SSPContext.java

        /**
         * Checks whether the specified security mechanism is supported.
         * @param mechanism the security mechanism OID to check
         * @return whether the specified mechanism is supported
         */
        boolean isSupported(ASN1ObjectIdentifier mechanism);
    
        /**
         * Checks whether the specified mechanism is the preferred mechanism.
         * @param selectedMech the selected mechanism OID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SpnegoContext.java

            // prevent nesting
            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
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/SpnegoToken.java

        private byte[] mechanismListMIC;
    
        /**
         * Gets the inner mechanism token wrapped in this SPNEGO token
         * @return the mechanism token bytes
         */
        public byte[] getMechanismToken() {
            return this.mechanismToken;
        }
    
        /**
         * Sets the inner mechanism token to be wrapped in this SPNEGO token
         * @param mechanismToken the mechanism token bytes
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (2)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

        /**
         * Inject a standard <code>Maven</code> logging mechanism to allow this <code>Mojo</code> to communicate events
         * and feedback to the user.
         *
         * @param log a new logger
         *
         * @deprecated Use SLF4J directly
         */
        @Deprecated
        void setLog(Log log);
    
        /**
         * Furnish access to the standard Maven logging mechanism which is managed in this base class.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. internal/event/target/kafka_scram_client_contrib.go

    )
    
    func initScramClient(args KafkaArgs, config *sarama.Config) {
    	switch strings.ToLower(args.SASL.Mechanism) {
    	case "sha512":
    		config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA512} }
    		config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypeSCRAMSHA512)
    	case "sha256":
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/spnego/NegTokenTarg.java

        /**
         * Gets the selected authentication mechanism OID
         * @return the mechanism OID
         */
        public ASN1ObjectIdentifier getMechanism() {
            return this.mechanism;
        }
    
        /**
         * Sets the selected authentication mechanism OID
         * @param mechanism the mechanism OID to set
         */
        public void setMechanism(final ASN1ObjectIdentifier mechanism) {
            this.mechanism = mechanism;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SpnegoContextTest.java

        @DisplayName("getFlags delegates to underlying mechanism context")
        void testGetFlagsDelegates() {
            SpnegoContext ctx = newContext();
            when(this.mechContext.getFlags()).thenReturn(0xCAFE);
            assertEquals(0xCAFE, ctx.getFlags());
            verify(this.mechContext, times(1)).getFlags();
        }
    
        @Test
        @DisplayName("dispose delegates to underlying mechanism context")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertEquals(NegTokenTarg.ACCEPT_COMPLETED, roundTrip.getResult(), "result should roundtrip");
            assertEquals(mech, roundTrip.getMechanism(), "mechanism should roundtrip");
            assertArrayEquals(tokenArray, roundTrip.getMechanismToken(), "mechanism token should roundtrip");
            assertArrayEquals(mic, roundTrip.getMechanismListMIC(), "mic should roundtrip");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top