Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 342 for userHome (0.05 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

            Files.createDirectories(appJava.getParent());
            Files.writeString(appJava, APP_JAVA_STRING);
    
            if (MimirInfuser.isMimirPresentUW()) {
                MimirInfuser.doInfuseUW(userHome);
                MimirInfuser.preseedItselfIntoInnerUserHome(userHome);
            }
    
            HashMap<String, String> logs = new HashMap<>();
            Parser parser = createParser();
            try (ClassWorld classWorld = createClassWorld();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

        }
    
        @Test
        void defaultFs(
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd,
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome)
                throws Exception {
            invoke(cwd, userHome, List.of("verify"), List.of());
        }
    
        @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)")
        @Test
        void jimFs() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java

        }
    
        @Test
        void defaultFs(
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd,
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome)
                throws Exception {
            invoke(cwd, userHome, List.of("verify"), List.of());
        }
    
        @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)")
        @Test
        void jimFs() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 10:47:37 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. impl/maven-cli/pom.xml

              <systemPropertyVariables>
                <maven.home>${basedir}/src/test/resources/mavenHome</maven.home>
                <userHome>${basedir}/src/test/resources/userHome</userHome>
                <userDir>${basedir}/src/test/resources/userDir</userDir>
              </systemPropertyVariables>
            </configuration>
          </plugin>
        </plugins>
      </build>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default String getLdapSecurityPrincipal(final String username) {
            final String value;
            final int maxLength = getLdapMaxUsernameLengthAsInteger();
            if (username == null) {
                value = StringUtil.EMPTY;
            } else if (maxLength >= 0 && username.length() > maxLength) {
                value = LdapUtil.escapeValue(username.substring(0, maxLength));
            } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            String username = null;
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: null", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withSpecialCharacters() {
            // Test with username containing special characters
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

        public void update(final User user) {
            final String username = user.getName();
            final String password = user.getOriginalPassword();
            changePassword(username, password);
        }
    
        @Override
        public void delete(final User user) {
            final String username = user.getName();
            if (isTargetUser(username)) {
                executeCommand(deleteCommand, username, StringUtil.EMPTY);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/security/http-basic-auth.md

        * It contains the `username` and `password` sent.
    
    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    When you try to open the URL for the first time (or click the "Execute" button in the docs) the browser will ask you for your username and password:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## Check the username { #check-the-username }
    
    Here's a more complete example.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
  9. docs_src/security/tutorial003_an_py310.py

    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def fake_decode_token(token):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. docs_src/security/tutorial005_an_py310.py

    
    def get_password_hash(password):
        return password_hash.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            verify_password(password, DUMMY_HASH)
            return False
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top