Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for mechanism (0.27 sec)

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

        }
    
    
        @Override
        public boolean isSupported ( ASN1ObjectIdentifier mechanism ) {
            // 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;
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SSPContext.java

         */
        void dispose () throws CIFSException;
    
    
        /**
         * @param mechanism
         * @return whether the specified mechanism is supported
         */
        boolean isSupported ( ASN1ObjectIdentifier mechanism );
    
    
        /**
         * @param selectedMech
         * @return whether the specified mechanism is preferred
         */
        boolean isPreferredMech ( ASN1ObjectIdentifier selectedMech );
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/SpnegoConstants.java

    @SuppressWarnings ( "javadoc" )
    public interface SpnegoConstants {
    
        public static final String SPNEGO_MECHANISM = "1.3.6.1.5.5.2";
    
        public static final String KERBEROS_MECHANISM = "1.2.840.113554.1.2.2";
    
        public static final String LEGACY_KERBEROS_MECHANISM = "1.2.840.48018.1.2.2";
    
        public static final String NTLMSSP_MECHANISM = "1.3.6.1.4.1.311.2.2.10";
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  4. internal/logger/target/kafka/kafka_scram_client_contrib.go

    )
    
    func initScramClient(cfg Config, config *sarama.Config) {
    	switch strings.ToLower(cfg.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":
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  5. src/main/java/jcifs/spnego/NegTokenTarg.java

        public void setResult ( int result ) {
            this.result = result;
        }
    
    
        public ASN1ObjectIdentifier getMechanism () {
            return this.mechanism;
        }
    
    
        public void setMechanism ( ASN1ObjectIdentifier mechanism ) {
            this.mechanism = mechanism;
        }
    
    
        @Override
        public byte[] toByteArray () {
            try {
                ByteArrayOutputStream collector = new ByteArrayOutputStream();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  6. 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":
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Context.java

        public boolean isSupported ( ASN1ObjectIdentifier mechanism ) {
            return KRB5_MECH_OID.equals(mechanism) || KRB5_MS_MECH_OID.equals(mechanism);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isPreferredMech(org.bouncycastle.asn1.ASN1ObjectIdentifier)
         */
        @Override
        public boolean isPreferredMech ( ASN1ObjectIdentifier mechanism ) {
            return isSupported(mechanism);
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            }
    
            return new String(out, 0, j);
        }
    
    
        /**
         * @param mechanism
         * @return whether the given mechanism is the preferred one for this credential
         */
        public boolean isPreferredMech ( ASN1ObjectIdentifier mechanism ) {
            return NtlmContext.NTLMSSP_OID.equals(mechanism);
        }
    
    
        /**
         * Computes the 24 byte ANSI password hash given the 8 byte server challenge.
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  9. architecture-standards/0002-avoid-using-java-serialization.md

    Java serialization is one way to implement this, however, despite its simplicity of implementation, it has several drawbacks:
    
    - **Performance:** Java's built-in serialization mechanism is often slower compared to other serialization solutions. This is due to Java's use of reflection and the need to maintain a lot of metadata.
    
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Thu Feb 08 21:48:27 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. internal/event/target/kafka.go

    		ClientTLSKey  string             `json:"clientTLSKey"`
    	} `json:"tls"`
    	SASL struct {
    		Enable    bool   `json:"enable"`
    		User      string `json:"username"`
    		Password  string `json:"password"`
    		Mechanism string `json:"mechanism"`
    	} `json:"sasl"`
    	Producer struct {
    		Compression      string `json:"compression"`
    		CompressionLevel int    `json:"compressionLevel"`
    	} `json:"producer"`
    }
    
    // Validate KafkaArgs fields
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top