Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for mypassword (0.06 sec)

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

         * from memory.
         *
         * @return the password as a char array
         */
        public char[] getPasswordAsCharArray() {
            checkNotClosed();
            return this.password != null && this.password.length > 0 ? this.password.clone() : this.password == null ? null : new char[0];
        }
    
        /**
         * Securely wipes the password from memory
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmUtil.java

            return hmac.digest();
        }
    
        /**
         * Generates the NT password hash for the given password.
         *
         * @param password the password to hash
         * @return nt password hash
         */
        public static byte[] getNTHash(final String password) {
            if (password == null) {
                throw new NullPointerException("Password parameter is required");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-models.md

    * The **input model** needs to be able to have a password.
    * The **output model** should not have a password.
    * The **database model** would probably need to have a hashed password.
    
    /// danger
    
    Never store user's plaintext passwords. Always store a "secure hash" that you can then verify.
    
    If you don't know, you will learn what a "password hash" is in the [security chapters](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}.
    
    ///
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/simple-oauth2.md

    # Simple OAuth2 with Password and Bearer { #simple-oauth2-with-password-and-bearer }
    
    Now let's build from the previous chapter and add the missing parts to have a complete security flow.
    
    ## Get the `username` and `password` { #get-the-username-and-password }
    
    We are going to use **FastAPI** security utilities to get the `username` and `password`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            return ntResponse;
        }
    
        /**
         * Generates the NTOWFv1 hash for the given password.
         *
         * @param password the password to hash
         * @return the NTOWFv1 hash bytes
         */
        public static byte[] nTOWFv1(final String password) {
            if (password == null) {
                throw new RuntimeException("Password parameter is required");
            }
            try {
                final MD4 md4 = new MD4();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            }
        }
    
        // Test constructor with domain, username, and password
        @Test
        void testConstructorWithDomainUsernamePassword() {
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            assertEquals("DOMAIN", auth.getDomain());
            assertEquals("user", auth.getUsername());
            assertEquals("password", auth.getPassword());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         * the supplied password.
         *
         * @param type2 The Type-2 message.
         * @param password The password.
         * @return A <code>byte[]</code> containing the LanManager response.
         */
        public static byte[] getLMResponse(final Type2Message type2, final String password) {
            if (type2 == null || password == null) {
                return null;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.java

         * @param targetName
         *            SPN of the target system, optional
         * @param passwordHash
         *            The NT password hash, takes precedence over password (which is no longer required unless legacy LM
         *            authentication is needed)
         * @param password
         *            The password to use when constructing the response.
         * @param domain
         *            The domain in which the user has an account.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                auth1.close();
                auth2.close();
            }
        }
    
        /**
         * Test concurrent password comparisons to ensure thread safety and consistent timing.
         */
        @Test
        public void testConcurrentTimingConsistency() throws Exception {
            final char[] password = "concurrenttestpassword".toCharArray();
            final char[] wrongPassword = "concurrenttestpassworX".toCharArray(); // Different at end
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * @param password the password to authenticate with
         */
        public NtlmPasswordAuthentication(final CIFSContext tc, final String domain, final String username, final String password) {
            super(domain != null ? domain : tc.getConfig().getDefaultDomain(),
                    username != null ? username : tc.getConfig().getDefaultUsername() != null ? tc.getConfig().getDefaultUsername() : "GUEST",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top