Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 101 for get_user (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

            if (userGroups == null) {
                userGroups = getDefaultGroupsAsArray();
            }
            return userGroups;
        }
    
        public OpenIdUser getUser() {
            return new OpenIdUser(getUserId(), getUserGroups(), getDefaultRolesAsArray());
        }
    
        protected static String[] getDefaultGroupsAsArray() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmSsp.java

                    byte[] ntResponse = type3.getNTResponse();
                    if ( ntResponse == null )
                        ntResponse = new byte[0];
                    return new NtlmPasswordAuthentication(type3.getDomain(), type3.getUser(), challenge, lmResponse, ntResponse);
                }
            }
            else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  3. cmd/ftp-server-driver.go

    	}
    
    	ui, ok := globalIAMSys.GetUser(context.Background(), username)
    	if !ok {
    		return false, nil
    	}
    	return subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), []byte(password)) == 1, nil
    }
    
    func (driver *ftpDriver) getMinIOClient(ctx *ftp.Context) (*minio.Client, error) {
    	ui, ok := globalIAMSys.GetUser(context.Background(), ctx.Sess.LoginUser())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

     struct utmp
       {
    -    char ut_line[UT_LINESIZE];
    -    char ut_user[UT_NAMESIZE];
    +    char ut_line[UT_LINESIZE]
    +      __attribute_nonstring__;	/* Devicename.  */
    +    char ut_user[UT_NAMESIZE]
    +      __attribute_nonstring__;	/* Username.  */
     #define ut_name ut_user
    -    char ut_host[UT_HOSTSIZE];
    +    char ut_host[UT_HOSTSIZE]
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/UserService.java

                op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
            }).createPageNumberList());
    
            return userList;
        }
    
        public OptionalEntity<User> getUser(final String id) {
            return userBhv.selectByPK(id).map(u -> ComponentUtil.getAuthenticationManager().load(u));
        }
    
        public OptionalEntity<User> getUserByName(final String username) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. tests/update_has_one_test.go

    package tests_test
    
    import (
    	"database/sql"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestUpdateHasOne(t *testing.T) {
    	user := *GetUser("update-has-one", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Account = Account{Number: "account-has-one-association"}
    
    	if err := DB.Save(&user).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. tests/test_dependency_normal_exceptions.py

    def put_invalid_user(
        user_id: str, name: str = Body(), db: dict = Depends(get_database)
    ):
        db[user_id] = name
        raise HTTPException(status_code=400, detail="Invalid user")
    
    
    @app.put("/user/{user_id}")
    def put_user(user_id: str, name: str = Body(), db: dict = Depends(get_database)):
        db[user_id] = name
        return {"message": "OK"}
    
    
    @pytest.fixture(autouse=True)
    def reset_state_and_db():
        global fake_database
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmSsp.java

                    byte[] ntResponse = type3.getNTResponse();
                    if (ntResponse == null) ntResponse = new byte[0];
                    return new NtlmPasswordAuthentication(type3.getDomain(),
                            type3.getUser(), challenge, lmResponse, ntResponse);
                }
            } else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    	j.MetaSys[metaTierName] = []byte(fi.TransitionTier)
    }
    
    func (j *xlMetaV2Object) RemoveRestoreHdrs() {
    	delete(j.MetaUser, xhttp.AmzRestore)
    	delete(j.MetaUser, xhttp.AmzRestoreExpiryDays)
    	delete(j.MetaUser, xhttp.AmzRestoreRequestDate)
    }
    
    // Signature will return a signature that is expected to be the same across all disks.
    func (j *xlMetaV2Object) Signature() [4]byte {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

            return authResult.getUserInfo().getDisplayableId();
        }
    
        @Override
        public String toString() {
            return "{" + authResult.getUserInfo().getDisplayableId() + "}";
        }
    
        public AzureAdUser getUser() {
            return new AzureAdUser(authResult);
        }
    
        public static class AzureAdUser implements FessUser {
            private static final long serialVersionUID = 1L;
    
            protected String[] groups;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top