Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for getPassword (0.21 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

                return new NTCredentials(getUsername(), getPassword(), workstation == null ? StringUtil.EMPTY : workstation,
                        domain == null ? StringUtil.EMPTY : domain);
            }
    
            return new UsernamePasswordCredentials(getUsername(), getPassword() == null ? StringUtil.EMPTY : getPassword());
        }
    
        public WebConfig getWebConfig() {
            if (webConfig == null) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        // plain text
                        String password = auth.getPassword();
                        lmHash = new byte[0];
                        ntHash = new byte[(password.length() + 1) * 2];
                        writeString( password, ntHash, 0 );
                    } else {
                        // plain text
                        String password = auth.getPassword();
                        lmHash = new byte[(password.length() + 1) * 2];
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                            throw new RuntimeException("Plain text passwords are disabled");
                        }
                        else {
                            // plain text
                            String password = a.getPassword();
                            this.lmHash = new byte[ ( password.length() + 1 ) * 2];
                            this.ntHash = new byte[0];
                            writeString(password, this.lmHash, 0);
                        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsFileAuthentication.java

            registerModifiedProperty("parameters");
            this.parameters = value;
        }
    
        public String getPassword() {
            checkSpecifiedProperty("password");
            return convertEmptyToNull(password);
        }
    
        public void setPassword(String value) {
            registerModifiedProperty("password");
            this.password = value;
        }
    
        public Integer getPort() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebAuthenticationDbm.java

                    (et, vl) -> ((WebAuthentication) et).setParameters(DfTypeUtil.toString(vl)), "parameters");
            setupEpg(_epgMap, et -> ((WebAuthentication) et).getPassword(),
                    (et, vl) -> ((WebAuthentication) et).setPassword(DfTypeUtil.toString(vl)), "password");
            setupEpg(_epgMap, et -> ((WebAuthentication) et).getPort(), (et, vl) -> ((WebAuthentication) et).setPort(DfTypeUtil.toInteger(vl)),
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

            return new Type3Message(
                this.transportContext,
                msg2,
                this.targetName,
                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,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                                        port, protocol, "", authMethod);
                        if (auth == null) return null;
                        user = auth.getUserName();
                        password = new String(auth.getPassword());
                    } catch (Exception ex) { }
                }
                Type2Message type2 = (Type2Message) message;
                message = new Type3Message(type2, password, domain, user,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

     * object which will be the case when NTLM HTTP Authentication is
     * used. There is no way to retrieve a users password in plain text unless
     * it is supplied by the user at runtime.
     */
        public String getPassword() {
            return password;
        }
    /**
     * Return the domain and username in the format:
     * <tt>domain\\username</tt>. This is equivalent to <tt>toString()</tt>.
     */
        public String getName() {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/ContextConfigTest.java

                Assert.assertEquals("b@r", na.getPassword());
            }
    
            try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) {
                Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
                NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class);
                Assert.assertEquals("b@r", na.getPassword());
            }
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/SessionTest.java

                assertNotNull(ntcreds.getUserDomain());
                if ( dom != null ) {
                    assertEquals(dom, ntcreds.getUserDomain());
                }
                assertNotNull(ntcreds.getPassword());
                assertEquals(pass, ntcreds.getPassword());
    
                f.exists();
            }
        }
    
    
        // #68
        @Test
        public void testPoolLogonSuccess () throws CIFSException, UnknownHostException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
Back to top