Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Guest (1.98 sec)

  1. src/test/java/jcifs/tests/SessionTest.java

            CIFSContext ctx = getContext();
            ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
                public String getGuestUsername () {
                    return "jcifs-guest";
                }
            }).withGuestCrendentials();
    
            try ( SmbResource f = new SmbFile(getTestShareGuestURL(), ctx) ) {
                checkConnection(f);
            }
            catch ( SmbAuthException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Credentials.java

         */
        String getUserDomain ();
    
    
        /**
         * @return whether these are anonymous credentials
         */
        boolean isAnonymous ();
    
    
        /**
         * @return whether these are guest credentials
         */
        boolean isGuest ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        }
    
        static final NtlmPasswordAuthentication NULL =
                    new NtlmPasswordAuthentication( "", "", "" );
        static final NtlmPasswordAuthentication GUEST =
                    new NtlmPasswordAuthentication( "?", "GUEST", "" );
        static final NtlmPasswordAuthentication DEFAULT =
                    new NtlmPasswordAuthentication( null );
    
        String domain;
        String username;
        String password;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

                            } catch (SmbException se) {
                                ex = se;
                            }
        
                            if( response.isLoggedInAsGuest &&
                                        "GUEST".equalsIgnoreCase( auth.username ) == false &&
                                        transport.server.security != SmbConstants.SECURITY_SHARE &&
                                        auth != NtlmPasswordAuthentication.ANONYMOUS) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

    import jcifs.util.Crypto;
    import jcifs.util.Strings;
    
    
    /**
     * This class stores and encrypts NTLM user credentials.
     * 
     * Contrary to {@link NtlmPasswordAuthentication} this does not cause guest authentication
     * when the "guest" username is supplied. Use {@link AuthenticationType} instead.
     * 
     * @author mbechler
     */
    @SuppressWarnings ( "javadoc" )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

            return bufferIndex - start;
        }
    
    
        /**
         * @return whether the session is either anonymous or a guest session
         */
        public boolean isLoggedInAsGuest () {
            return ( this.sessionFlags & ( SMB2_SESSION_FLAGS_IS_GUEST | SMB2_SESSION_FLAGS_IS_NULL ) ) != 0;
        }
    
    
        /**
         * @return the sessionFlags
         */
        public int getSessionFlags () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileOperationsTest.java

                        Assume.assumeTrue("Not SMB2", th.isSMB2());
                    }
                    throw e;
                }
                catch ( SmbAuthException e )  {
                    // guest share not accessible
                }
                catch ( SmbException e) {
                    if ("Cannot rename between different trees".equals(e.getMessage())) {
                        // expected
                        return;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/TestProperties.java

        static final String TEST_SHARE_URL_DFSROOT = "test.share.dfsroot.url";
    
        static final String TEST_SHARE_MAIN = "test.share.main";
        static final String TEST_SHARE_GUEST = "test.share.guest";
    
        static final String TEST_USER_NAME = "test.user.name";
        static final String TEST_USER_PASSWORD = "test.user.password";
        static final String TEST_USER_DOMAIN = "test.user.domain";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Feb 29 16:38:58 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

        protected DialectVersion maxVersion;
        protected boolean requireSecureNegotiate = true;
        protected boolean sendNTLMTargetName = true;
        private byte[] machineId;
        protected String guestUsername = "GUEST";
        protected String guestPassword = "";
        protected boolean allowGuestFallback = false;
    
    
        /**
         * @throws CIFSException
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

            super(
                userInfo,
                tc.getConfig().getDefaultDomain(),
                tc.getConfig().getDefaultUsername() != null ? tc.getConfig().getDefaultUsername() : "GUEST",
                tc.getConfig().getDefaultPassword() != null ? tc.getConfig().getDefaultPassword() : "");
            this.context = tc;
        }
    
    
        /**
         * Create an <tt>NtlmPasswordAuthentication</tt> object from a
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 8.5K bytes
    - Viewed (0)
Back to top