Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for refresh (0.2 sec)

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

         * @param subject
         *            the subject to set
         */
        protected void setSubject ( Subject subject ) {
            this.subject = subject;
        }
    
    
        @Override
        public void refresh () throws CIFSException {
            // custom Kerb5Authenticators need to override this method for support
            throw new SmbUnsupportedOperationException("Refreshing credentials is not supported by this authenticator");
        }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/CredentialsInternal.java

    
        /**
         * @return subject associated with the credentials
         */
        Subject getSubject ();
    
    
        /**
         * @throws CIFSException
         * 
         */
        void refresh () throws CIFSException;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/KerberosTest.java

            }
    
    
            @Override
            public void refresh () throws CIFSException {
                try {
                    System.out.println("Refreshing");
                    setSubject(getInitiatorSubject(getTestUser(), getTestUserPassword(), getTestUserDomainRequired(), null));
                    System.out.println("Refreshed");
                }
                catch ( Exception e ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         */
        public static final int NTLMSSP_TARGET_TYPE_SHARE = 0x00040000;
    
        /**
         * Indicates that the NTLM2 signing and sealing scheme should be used
         * for protecting authenticated communications. This refers to a
         * particular session security scheme, and is not related to the use
         * of NTLMv2 authentication.
         */
        public static final int NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY = 0x00080000;
    
        /**
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/EnumTest.java

            try ( SmbFile r = getDefaultShareRoot();
                  SmbFile f = new SmbFile(r, "x-test/") ) {
                if ( !f.exists() ) {
                    f.mkdirs();
                }
            }
    
            // fresh connection
            CIFSContext ctx = getNewContext();
            try ( SmbFile r = new SmbFile(getTestShareURL(), withTestNTLMCredentials(ctx));
                  SmbFile f = new SmbFile(r, "x-test/") ) {
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/JAASAuthenticator.java

            to.cachedSubject = from.cachedSubject;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.Kerb5Authenticator#refresh()
         */
        @Override
        public void refresh () throws CIFSException {
            log.debug("Refreshing JAAS credentials");
            this.cachedSubject = null;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                return (T) this;
            }
            return null;
        }
    
    
        @Override
        public Subject getSubject () {
            return null;
        }
    
    
        @Override
        public void refresh () throws CIFSException {}
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.smb.CredentialsInternal#createContext(jcifs.CIFSContext, java.lang.String, java.lang.String, byte[],
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResourceLocator.java

         * <code>SmbFile</code> references a workgroup, the name of the workgroup
         * is returned. If this <code>SmbFile</code> refers to the root of this
         * SMB network hierarchy, <code>null</code> is returned.
         * 
         * @return The server or workgroup name or <code>null</code> if this
         *         <code>SmbFile</code> refers to the root <code>smb://</code> resource.
         */
        String getServer ();
    
    
        /**
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeConnection.java

            try ( SmbSessionImpl treesess = t.getSession() ) {
                if ( treesess.getCredentials().isAnonymous() || treesess.getCredentials().isGuest() ) {
                    // refresh anonymous session or fallback to anonymous from guest login
                    try ( SmbSessionInternal s = trans
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

            final boolean doSigning = securityMode != 0 && !anonymous;
            long newSessId = 0;
            long curSessId = this.sessionId;
    
            synchronized ( trans ) {
                this.credentials.refresh();
                Subject s = this.credentials.getSubject();
                SSPContext ctx = createContext(trans, tdomain, negoResp, doSigning, s);
                while ( true ) {
                    token = createToken(ctx, token, s);
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
Back to top