Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for delegation (0.12 sec)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

                // Set multiple flags
                init.setContextFlag(NegTokenInit.DELEGATION, true);
                init.setContextFlag(NegTokenInit.INTEGRITY, true);
                init.setContextFlag(NegTokenInit.CONFIDENTIALITY, true);
    
                int expected = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY | NegTokenInit.CONFIDENTIALITY;
                assertEquals(expected, init.getContextFlags());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/DelegatingConfigurationTest.java

    import org.mockito.Mock;
    
    import jcifs.BaseTest;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.ResolverType;
    
    /**
     * Comprehensive test suite for DelegatingConfiguration class.
     * Tests the delegation pattern and ensures all methods properly delegate.
     */
    @DisplayName("DelegatingConfiguration Tests")
    class DelegatingConfigurationTest extends BaseTest {
    
        @Mock
        private Configuration mockDelegate;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/NegTokenInit.java

    import jcifs.util.Hexdump;
    
    /**
     * SPNEGO initial token
     */
    public class NegTokenInit extends SpnegoToken {
    
        /**
         * Context flag for delegation capability
         */
        public static final int DELEGATION = 0x80;
        /**
         * Context flag for mutual authentication requirement
         */
        public static final int MUTUAL_AUTHENTICATION = 0x40;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

            assertEquals("server.example", session.getTargetHost());
            assertTrue(session.isInUse(), "New session starts in-use (usageCount=1)");
    
            // Transport and context delegation
            assertSame(cifsContext, session.getContext());
            clearInvocations(transport);
            assertSame(transport, session.getTransport());
            verify(transport, times(1)).acquire();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        protected static final String SPNEGO_EXCLUDE_DIRS = "spnego.exclude.dirs";
    
        /** Configuration key for enabling delegation in SPNEGO authentication. */
        protected static final String SPNEGO_ALLOW_DELEGATION = "spnego.allow.delegation";
    
        /** Configuration key for allowing localhost authentication bypass. */
        protected static final String SPNEGO_ALLOW_LOCALHOST = "spnego.allow.localhost";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (3)
  6. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            assertNull(handle.getOEMDomainName());
        }
    
        @Test
        @DisplayName("Tree properties delegate: getTreeType/getConnectedShare")
        void treePropertiesDelegate() {
            // Validates simple property delegation to the connection
            when(treeConnection.getTreeType()).thenReturn(7);
            when(treeConnection.getConnectedShare()).thenReturn("SHARE");
            assertEquals(7, handle.getTreeType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Context.java

         */
        @Override
        public int getFlags() {
            int contextFlags = 0;
            if (this.gssContext.getCredDelegState()) {
                contextFlags |= NegTokenInit.DELEGATION;
            }
            if (this.gssContext.getMutualAuthState()) {
                contextFlags |= NegTokenInit.MUTUAL_AUTHENTICATION;
            }
            if (this.gssContext.getReplayDetState()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  8. src/test/java/jcifs/smb/Kerb5ContextTest.java

            when(gssContext.getConfState()).thenReturn(true);
            when(gssContext.getIntegState()).thenReturn(true);
    
            int flags = ctx.getFlags();
            int expected = NegTokenInit.DELEGATION | NegTokenInit.MUTUAL_AUTHENTICATION | NegTokenInit.REPLAY_DETECTION
                    | NegTokenInit.SEQUENCE_CHECKING | NegTokenInit.ANONYMITY | NegTokenInit.CONFIDENTIALITY | NegTokenInit.INTEGRITY;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/DelegatingConfiguration.java

     * Provides a wrapper mechanism for configuration objects with delegation pattern.
     *
     * @author mbechler
     */
    public class DelegatingConfiguration implements Configuration {
    
        private final Configuration delegate;
    
        /**
         * Creates a delegating configuration that forwards calls to another configuration
         * @param delegate
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/samr.java

        /** Account control bit flag: Smart card is required for login */
        public static final int ACB_SMARTCARD_REQUIRED = 4096;
        /** Account control bit flag: Account is trusted for delegation */
        public static final int ACB_TRUSTED_FOR_DELEGATION = 8192;
        /** Account control bit flag: Account is not delegated */
        public static final int ACB_NOT_DELEGATED = 16384;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top