Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for contexts (0.16 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    log.error("Multiple preauth negotiate contexts");
                    return false;
                }
            }
    
            if ( !foundPreauth ) {
                log.error("Missing preauth negotiate context");
                return false;
            }
            if ( !foundEnc && ( caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION ) != 0 ) {
                log.error("Missing encryption negotiate context");
                return false;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 22 10:09:46 GMT 2020
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/CIFSContext.java

     */
    package jcifs;
    
    
    import java.net.URLStreamHandler;
    
    
    /**
     * Encapsulation of client context
     * 
     * 
     * A context holds the client configuration, shared services as well as the active credentials.
     * 
     * Usually you will want to create one context per client configuration and then
     * multiple sub-contexts using different credentials (if necessary).
     * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            int createContextLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            if ( createContextOffset > 0 && createContextLength > 0 ) {
                List<CreateContextResponse> contexts = new LinkedList<>();
                int createContextStart = getHeaderStart() + createContextOffset;
                int next = 0;
                do {
                    int cci = createContextStart;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/DfsTest.java

        @Test
        public void resolveDomains () throws CIFSException {
            CIFSContext context = getContext();
            context = withTestNTLMCredentials(context);
            DfsResolver dfs = context.getDfs();
    
            String testDomain = getTestDomain();
            assertTrue(dfs.isTrustedDomain(context, testDomain));
            assertTrue(dfs.isTrustedDomain(context, testDomain.toLowerCase(Locale.ROOT)));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

         *
         * @param context
         *            The local security context.
         */
        public void setContext ( byte[] context ) {
            this.context = context;
        }
    
    
        @Override
        public byte[] toByteArray () throws IOException {
            int size = 48;
            int flags = getFlags();
            String targetName = getTarget();
            byte[] targetInformationBytes = getTargetInformation();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/BaseContext.java

        private final SmbTransportPool transportPool;
        private final CredentialsInternal defaultCredentials;
    
    
        /**
         * Construct a context
         * 
         * @param config
         *            configuration for the context
         * 
         */
        public BaseContext ( Configuration config ) {
            this.config = config;
            this.dfs = new DfsImpl(this);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcError.java

            DCERPC_FAULT_CONTEXT_MISMATCH, DCERPC_FAULT_OP_RNG_ERROR, DCERPC_FAULT_UNK_IF, DCERPC_FAULT_PROTO_ERROR
        };
    
        static final String[] DCERPC_FAULT_MESSAGES = {
            "DCERPC_FAULT_OTHER", "DCERPC_FAULT_ACCESS_DENIED", "DCERPC_FAULT_CANT_PERFORM", "DCERPC_FAULT_NDR", "DCERPC_FAULT_INVALID_TAG",
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.2K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb/Kerb5Authenticator.java

        }
    
    
        /**
         * Get lifetime of this context.
         *
         * @return the remaining lifetime in seconds. If the default lifetime is
         *         used, this value have no meaning.
         */
        public int getLifeTime () {
            return this.contextLifetime;
        }
    
    
        /**
         * Set the lifetime for this context.
         *
         * @param time
         *            the lifetime in seconds
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/CIFSContextWrapper.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.context;
    
    
    import java.net.MalformedURLException;
    import java.net.URLStreamHandler;
    
    import jcifs.BufferCache;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

            super(server, new lsarpc.LsarObjectAttributes(), access, policyHandle);
            object_attributes.length = 24;
    lsarpc.LsarQosInfo qos = new lsarpc.LsarQosInfo();
    qos.length = 12;
    qos.impersonation_level = 2;
    qos.context_mode = 1;
    qos.effective_only = 0;
    object_attributes.security_quality_of_service = qos;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.5K bytes
    - Viewed (0)
Back to top