Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SSPContext (0.04 sec)

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

        /**
         * Instance a <code>SpnegoContext</code> object by wrapping a {@link SSPContext}
         * with the same mechanism this {@link SSPContext} used.
         *
         * @param source
         *            the {@link SSPContext} to be wrapped
         */
        SpnegoContext(final Configuration config, final SSPContext source) {
            this(config, source, source.getSupportedMechs());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Context.java

         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isSupported(org.bouncycastle.asn1.ASN1ObjectIdentifier)
         */
        @Override
        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)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  3. src/test/java/jcifs/smb/CredentialsInternalTest.java

                // These methods do not throw and allow interaction checks.
                tc.getConfig();
                tc.getCredentials();
    
                // Minimal behavior: return a mock SSPContext with lenient stubbing
                SSPContext ctx = mock(SSPContext.class);
                lenient().when(ctx.isEstablished()).thenReturn(false);
                return ctx;
            }
    
            @Override
            public Subject getSubject() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

            return ret.toString();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getFlags()
         */
        @Override
        public int getFlags() {
            return 0;
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isSupported(org.bouncycastle.asn1.ASN1ObjectIdentifier)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SSPContextTest.java

            }
        }
    
        @Nested
        @DisplayName("Mockito interactions")
        class MockitoInteractions {
    
            @Mock
            SSPContext mockCtx;
    
            // Helper exercising all SSPContext methods to verify call interactions.
            private void useContext(SSPContext ctx) throws Exception {
                ctx.getSigningKey();
                ctx.isEstablished();
                ctx.initSecContext(new byte[] { 1, 2, 3 }, 1, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#createContext(jcifs.CIFSContext, java.lang.String, java.lang.String,
         *      byte[], boolean)
         */
        @Override
        public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning)
                throws SmbException {
            if (host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.CredentialsInternal#createContext(jcifs.CIFSContext, java.lang.String, java.lang.String, byte[],
         *      boolean)
         */
        @Override
        public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning)
                throws SmbException {
            checkNotClosed();
    
            // Check if authentication has expired
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top