Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 667 for user_name (0.05 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

            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);
                entity.setUpdatedTime(currentTime);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  2. src/main/resources/app.xml

    					<property name="updateCommand">[
    					"/usr/sbin/htpasswd",
    					"-b",
    					"/tmp/test.txt",
    					"$USERNAME",
    					"$PASSWORD"
    					]</property>
    					<property name="deleteCommand">[
    					"/usr/sbin/htpasswd",
    					"-D",
    					"/tmp/test.txt",
    					"$USERNAME"
    					]</property>
    					<property name="targetUsers">[
    					"admin"
    					]</property>
    				</component>
    			</arg>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

      var base: String? = null
      var scheme = ""
      var username = ""
      var password: String? = null
      var host = ""
      var port = ""
      var path = ""
      var query = ""
      var fragment = ""
    
      fun expectParseFailure() = scheme.isEmpty()
    
      private operator fun set(
        name: String,
        value: String,
      ) {
        when (name) {
          "s" -> scheme = value
          "u" -> username = value
          "pass" -> password = value
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. fastapi/.agents/skills/fastapi/references/dependencies.md

            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    UserNameDep = Annotated[str, Depends(get_username, scope="function")]
    
    @app.get("/users/me")
    def get_user_me(username: UserNameDep):
        return username
    ```
    
    ## Class Dependencies
    
    Avoid creating class dependencies when possible.
    
    If a class is needed, instead create a regular function dependency that returns a class instance.
    
    Do this:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

         *
         * @param form the form containing the web config data
         * @param username the username of the current user
         * @param currentTime the current timestamp
         * @return an optional WebConfig entity
         */
        public static OptionalEntity<WebConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  6. docs_src/dependencies/tutorial008d_an_py310.py

            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 734 bytes
    - Click Count (0)
  7. docs_src/dependencies/tutorial012_an_py310.py

    
    @app.get("/items/")
    async def read_items():
        return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    @app.get("/users/")
    async def read_users():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 746 bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[8,49,51,58:59,62:63,72:79] *}
    
    `authenticate_user`, veritabanında var olmayan bir username ile çağrıldığında, yine de sahte (dummy) bir hash'e karşı `verify_password` çalıştırıyoruz.
    
    Bu, username geçerli olsun ya da olmasın endpoint'in yaklaşık aynı sürede yanıt vermesini sağlar; böylece mevcut username'leri saymaya yarayabilecek zamanlama saldırılarını (timing attacks) engeller.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/request-forms.md

    <dfn title="spesifikasyon">Spesifikasyon</dfn>, alanların adının tam olarak `username` ve `password` olmasını ve JSON değil form alanları olarak gönderilmesini gerektirir.
    
    `Form` ile `Body` (ve `Query`, `Path`, `Cookie`) ile yaptığınız aynı konfigürasyonları tanımlayabilirsiniz; validasyon, örnekler, alias (örn. `username` yerine `user-name`) vb. dahil.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

        public WebAuthenticationConfig getWebAuthenticationConfig() {
            if (StringUtil.isEmpty(getUsername())) {
                throw new CrawlerSystemException(
                        "Username is empty in WebAuthentication configuration. A valid username must be provided for authentication.");
            }
    
            final WebAuthenticationConfig config = new WebAuthenticationConfig();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 5.7K bytes
    - Click Count (0)
Back to Top