Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for setFlags (0.08 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

         * @param signingEnforced
         */
        public SmbComNegotiate ( Configuration config, boolean signingEnforced ) {
            super(config, SMB_COM_NEGOTIATE);
            this.signingEnforced = signingEnforced;
            setFlags2(config.getFlags2());
    
            if ( config.getMinimumVersion().isSMB2() ) {
                this.dialects = new String[] {
                    "SMB 2.???", "SMB 2.002"
                };
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  2. internal/logger/reqinfo.go

    func (r *ReqInfo) AppendTags(key, val string) *ReqInfo {
    	if r == nil {
    		return nil
    	}
    	r.Lock()
    	defer r.Unlock()
    	r.tags = append(r.tags, KeyVal{key, val})
    	return r
    }
    
    // SetTags - sets key/val to ReqInfo.tags
    func (r *ReqInfo) SetTags(key, val string) *ReqInfo {
    	if r == nil {
    		return nil
    	}
    	r.Lock()
    	defer r.Unlock()
    	// Search of tag key already exists in tags
    	var updated bool
    	for _, tag := range r.tags {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcMessage.java

         * 
         * @param flag
         */
        public void unsetFlag ( int flag ) {
            this.flags &= ~flag;
        }
    
    
        /**
         * Set flag
         * 
         * @param flag
         */
        public void setFlag ( int flag ) {
            this.flags |= flag;
        }
    
    
        /**
         * 
         * @return result exception, if the call failed
         */
        public DcerpcException getResult () {
            if ( this.result != 0 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  4. cmd/iam.go

    		return nil
    	}
    
    	// Notify all other MinIO peers to delete policy
    	for _, nerr := range globalNotificationSys.DeletePolicy(ctx, policyName) {
    		if nerr.Err != nil {
    			logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    			iamLogIf(ctx, nerr.Err)
    		}
    	}
    
    	return nil
    }
    
    // InfoPolicy - returns the policy definition with some metadata.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Kerb5Context.java

        public ASN1ObjectIdentifier[] getSupportedMechs () {
            return SUPPORTED_MECHS;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getFlags()
         */
        @Override
        public int getFlags () {
            int contextFlags = 0;
            if ( this.gssContext.getCredDelegState() ) {
                contextFlags |= NegTokenInit.DELEGATION;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                                Hexdump.hexdump(log, token, 0, token.length);
                        }
    
                        serverChallenge = msg2.getChallenge();
                        ntlmsspFlags &= msg2.getFlags();
    
    //                  netbiosName = getNtlmsspListItem(token, 0x0001);
    
                        Type3Message msg3 = new Type3Message(msg2,
                                    auth.getPassword(),
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

        protected int result = 0;
    
        public boolean isFlagSet(int flag) {
            return (flags & flag) == flag;
        }
        public void unsetFlag(int flag) {
            flags &= ~flag;
        }
        public void setFlag(int flag) {
            flags |= flag;
        }
        public DcerpcException getResult() {
            if (result != 0)
                return new DcerpcException(result);
            return null;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ACE.java

        }
        /**
         * Returns the flags for this ACE. The </tt>isInherited()</tt>
         * method checks the <tt>FLAGS_INHERITED</tt> bit in these flags.
         */
        public int getFlags() {
            return flags;
        }
        /**
         * Returns the 'Apply To' text for inheritance of ACEs on
         * directories such as 'This folder, subfolder and files'. For
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dtyp/ACE.java

            return this.allow;
        }
    
    
        @Override
        public boolean isInherited () {
            return ( this.flags & FLAGS_INHERITED ) != 0;
        }
    
    
        @Override
        public int getFlags () {
            return this.flags;
        }
    
    
        @Override
        public String getApplyToText () {
            switch ( this.flags & ( FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT | FLAGS_INHERIT_ONLY ) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        public final boolean isError () {
            return this.error;
        }
    
    
        /**
         * @return whether the packet has been signed.
         */
        public boolean isSigned () {
            return ( getFlags() & SMB2_FLAGS_SIGNED ) != 0;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#getExpiration()
         */
        @Override
        public Long getExpiration () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
Back to top