Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 667 for user_name (0.05 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.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: Fri Jan 23 23:57:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            assertEquals(5, chain.deleteCalls.size());
        }
    
        // Helper method to create test user
        private User createTestUser(String username, String displayName) {
            User user = new User();
            user.setName(username);
            user.setDisplayName(displayName);
            return user;
        }
    
        // Test implementation of AuthenticationChain for testing
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/request-forms.md

    The <dfn title="specification">spec</dfn> requires the fields to be exactly named `username` and `password`, and to be sent as form fields, not JSON.
    
    With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc.
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. cmd/iam-object-store.go

    	g := errgroup.WithNErrs(len(users))
    
    	for index := range users {
    		g.Go(func() error {
    			userName := path.Dir(users[index])
    			user, err := iamOS.loadUserIdentity(ctx, userName, userType)
    			if err != nil && !errors.Is(err, errNoSuchUser) {
    				return fmt.Errorf("unable to load the user `%s`: %w", userName, err)
    			}
    			userIdentities[index] = user
    			return nil
    		}, index)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

         *
         * @param form the form containing the web authentication data
         * @param username the username of the current user
         * @param currentTime the current timestamp
         * @return an optional WebAuthentication entity
         */
        public static OptionalEntity<WebAuthentication> 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: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

            try {
                userService.store(entity);
                saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
            } catch (final Exception e) {
                logger.warn("Failed to create user: username={}, error={}", body.name, e.getMessage(), e);
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. tests/test_security_api_key_cookie.py

    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyCookie(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  8. tests/test_security_api_key_cookie_description.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyCookie(name="key", description="An API Cookie Key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/request-forms.md

    Por ejemplo, en una de las formas en las que se puede usar la especificación OAuth2 (llamada "password flow") se requiere enviar un `username` y `password` como campos de formulario.
    
    La <dfn title="especificación">especificación</dfn> requiere que los campos se llamen exactamente `username` y `password`, y que se envíen como campos de formulario, no JSON.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/security/first-steps.md

    Betrachten wir es also aus dieser vereinfachten Sicht:
    
    * Der Benutzer gibt den `username` und das `password` im Frontend ein und drückt `Enter`.
    * Das Frontend (das im Browser des Benutzers läuft) sendet diesen `username` und das `password` an eine bestimmte URL in unserer API (deklariert mit `tokenUrl="token"`).
    * Die API überprüft den `username` und das `password` und antwortet mit einem „Token“ (wir haben davon noch nichts implementiert).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 9.7K bytes
    - Click Count (0)
Back to Top