Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 92 for get_username (0.12 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            NtlmPasswordAuthenticator auth = mock(NtlmPasswordAuthenticator.class);
            when(auth.isAnonymous()).thenReturn(true);
            when(auth.isGuest()).thenReturn(true);
            when(auth.getUsername()).thenReturn("guest");
            when(auth.getUserDomain()).thenReturn("dom");
    
            // Construct
            SmbComSessionSetupAndX obj = new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, auth);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedbackStepUpload.kt

            steps {
                buildStep(
                    ******@****.***arameters,
                    this@PublishNightlySnapshotFromQuickFeedbackStepUpload.gitUserName,
                    ******@****.***rEmail,
                    ******@****.***rName,
                    branch.prepNightlyTaskName(),
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Mar 20 06:13:56 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedbackStepPromote.kt

            steps {
                buildStep(
                    ******@****.***arameters,
                    this@PublishNightlySnapshotFromQuickFeedbackStepPromote.gitUserName,
                    ******@****.***rEmail,
                    ******@****.***rName,
                    branch.prepNightlyTaskName(),
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Mar 20 06:13:56 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
            raise HTTPException(status_code=400, detail=f"Owner error: {e}")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id not in data:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

        public void test_matches() throws Exception {
            FtpAuthentication auth = new FtpAuthentication();
            auth.setServer("hostname");
            auth.setPort(21);
            auth.setUsername("testuser");
            auth.setPassword("testpass");
    
            assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
            assertTrue(auth.matches("ftp://hostname/test/aaa.html"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

            }
            numOfThread = Constants.DEFAULT_NUM_OF_THREAD_FOR_WEB;
            intervalTime = Constants.DEFAULT_INTERVAL_TIME_FOR_WEB;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            permissions = fessConfig.getSearchDefaultDisplayPermission();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                    //                  netbiosName = getNtlmsspListItem(token, 0x0001);
    
                    final Type3Message msg3 =
                            new Type3Message(msg2, auth.getPassword(), auth.getDomain(), auth.getUsername(), workstation, ntlmsspFlags);
                    token = msg3.toByteArray();
    
                    if (LogStream.level >= 4) {
                        log.println(msg3);
                        if (LogStream.level >= 6) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmServlet.java

                final HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute("ntlmdomain", ntlm.getDomain());
                ssn.setAttribute("ntlmuser", ntlm.getUsername());
            } else {
                final HttpSession ssn = request.getSession(false);
                if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
                    response.setHeader("WWW-Authenticate", "NTLM");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/CommonExtensions.kt

    fun promotionBuildParameters(
        dependencyBuildId: RelativeId,
        extraParameters: String,
        gitUserName: String,
        gitUserEmail: String,
    ): String =
        listOf(
            "-PcommitId=%dep.$dependencyBuildId.build.vcs.number%",
            extraParameters,
            "\"-PgitUserName=$gitUserName\"",
            "\"-PgitUserEmail=$gitUserEmail\"",
            PLUGINS_PORTAL_URL_OVERRIDE,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Sep 10 01:37:13 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

         */
        public static OptionalEntity<DuplicateHost> getDuplicateHost(final CreateForm form) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top