Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for initSecContext (0.11 sec)

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

         * Initialize the GSSContext to provide SPNEGO feature.
         * 
         * @param inputBuf
         * @param offset
         * @param len
         * @return response token
         */
        @Override
        public byte[] initSecContext ( byte[] inputBuf, int offset, int len ) throws CIFSException {
            SpnegoToken resp;
            if ( this.completed ) {
                throw new CIFSException("Already complete");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SSPContext.java

    
        /**
         * @param token
         * @param off
         * @param len
         * @return result token
         * @throws SmbException
         * @throws CIFSException
         */
        byte[] initSecContext ( byte[] token, int off, int len ) throws CIFSException;
    
    
        /**
         * @return the name of the remote endpoint
         */
        String getNetbiosName ();
    
    
        /**
         * @throws CIFSException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Kerb5Context.java

            }
            throw new SmbException("ExtendedGSSContext is not implemented by GSSContext");
        }
    
    
        @Override
        public byte[] initSecContext ( byte[] token, int off, int len ) throws SmbException {
            try {
                return this.gssContext.initSecContext(token, off, len);
            }
            catch ( GSSException e ) {
                throw new SmbAuthException("GSSAPI mechanism failed", e);
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                        break;
                    }
                }
                ri += len;
            }
    
            return null;
        }
        public byte[] initSecContext(byte[] token, int offset, int len) throws SmbException {
            switch (state) {
                case 1:
                    Type1Message msg1 = new Type1Message(ntlmsspFlags, auth.getDomain(), workstation);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                    return Subject.doAs(s, new PrivilegedExceptionAction<byte[]>() {
    
                        @Override
                        public byte[] run () throws Exception {
                            return ctx.initSecContext(token, 0, token == null ? 0 : token.length);
                        }
    
                    });
                }
                catch ( PrivilegedActionException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

         *            the target's SPN
         */
        public void setTargetName ( String targetName ) {
            this.targetName = targetName;
        }
    
    
        @Override
        public byte[] initSecContext ( byte[] token, int offset, int len ) throws SmbException {
            switch ( this.state ) {
            case 1:
                return makeNegotiate(token);
            case 2:
                return makeAuthenticate(token);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                state = 0;
                                break;
                            }
        
                            try {
                                token = nctx.initSecContext(token, 0, token.length);
                            } catch (SmbException se) {
                                /* We must close the transport or the server will be expecting a
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
Back to top