Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 63 for SetUser (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            resolver.resolve(LocalUserCredential.class, credential -> {
                final LocalUserCredential userCredential = credential;
                final String username = userCredential.getUser();
                final String password = userCredential.getPassword();
                if (!fessConfig.isAdminUser(username)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. cmd/iam.go

    	case <-sys.configLoaded:
    	default:
    		err = sys.store.LoadUser(ctx, accessKey)
    		loadUserCalled = true
    	}
    
    	u, ok = sys.store.GetUser(accessKey)
    	if !ok && !loadUserCalled {
    		err = sys.store.LoadUser(ctx, accessKey)
    		loadUserCalled = true
    
    		u, ok = sys.store.GetUser(accessKey)
    	}
    
    	if !ok && loadUserCalled && err != nil {
    		iamLogOnceIf(ctx, err, accessKey)
    
    		// return 503 to application
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/NtlmTest.java

            Type3Message parsed = new Type3Message(t3.toByteArray());
    
            assertEquals(domain, parsed.getDomain());
            assertEquals(user, parsed.getUser());
            assertEquals(workstation, parsed.getWorkstation());
    
            assertArrayEquals(lmResponse, parsed.getLMResponse());
            assertArrayEquals(ntResponse, parsed.getNTResponse());
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

        }
    
        @Override
        public String toString() {
            return "{" + getUserId() + "}";
        }
    
        @Override
        public String getUserId() {
            return nameId;
        }
    
        public SamlUser getUser() {
            return new SamlUser(nameId, sessionIndex, nameIdFormat, nameidNameQualifier, nameidSPNameQualifier, getDefaultGroupsAsArray(),
                    getDefaultRolesAsArray());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                // check file size
                responseData.setContentLength(file.getSize());
                checkMaxContentLength(responseData);
    
                if (file.getUser() != null) {
                    responseData.addMetaData(FTP_FILE_USER, file.getUser());
                }
                if (file.getGroup() != null) {
                    responseData.addMetaData(FTP_FILE_GROUP, file.getGroup());
                }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top