Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 205 for mechanism (0.06 seconds)

  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";
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. 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.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (2)
  4. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  7. 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;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  8. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/NtlmContext.java

            return NTLMSSP_OID.equals(mechanism);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isPreferredMech(org.bouncycastle.asn1.ASN1ObjectIdentifier)
         */
        @Override
        public boolean isPreferredMech(final ASN1ObjectIdentifier mechanism) {
            return this.auth.isPreferredMech(mechanism);
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
Back to Top