Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for 1guest (0.09 sec)

  1. 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" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  2. 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 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ContextConfigTest.java

            NtlmPasswordAuthenticator ntlmGuestCreds = guestCreds.unwrap(NtlmPasswordAuthenticator.class);
            assertThat("anonymous", ntlmGuestCreds.isAnonymous(), CoreMatchers.is(false));
            assertThat("guest", ntlmGuestCreds.isGuest(), CoreMatchers.is(true));
    
            Credentials anonCreds = this.context.withAnonymousCredentials().getCredentials();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            systemHelper.init();
            systemHelper.addShutdownHook(() -> {});
            ComponentUtil.register(systemHelper, "systemHelper");
        }
    
        public void test_getUsername() {
            assertEquals("guest", systemHelper.getUsername());
        }
    
        public void test_getCurrentTimeAsLocalDateTime() {
            final long current =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                labelType = new LabelType();
                labelType.setName(name);
                labelType.setValue(name);
                labelType.setPermissions(new String[] { "Rguest" });
                labelType.setCreatedBy(Constants.SYSTEM_USER);
                labelType.setCreatedTime(now);
                labelType.setUpdatedBy(Constants.SYSTEM_USER);
                labelType.setUpdatedTime(now);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

                this.auth.isGuest() ? this.transportContext.getConfig().getGuestPassword() : this.auth.getPassword(),
                this.auth.isGuest() ? null : this.auth.getUserDomain(),
                this.auth.isGuest() ? this.transportContext.getConfig().getGuestUsername() : this.auth.getUsername(),
                this.workstation,
                this.ntlmsspFlags,
                this.auth.isGuest() || !this.auth.isAnonymous());
        }
    
    
    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/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
                            .getSmbSession(this.ctx.withAnonymousCredentials(), treesess.getTargetHost(), treesess.getTargetDomain())
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         * 
         * @return password used when guest authentication is requested
         */
        String getGuestPassword ();
    
    
        /**
         * Property <tt>jcifs.smb.client.guestUsername</tt>, defaults to GUEST
         * 
         * @return username used when guest authentication is requested
         */
        String getGuestUsername ();
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. 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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  10. 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) {
    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