Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 558 for Password (0.05 sec)

  1. internal/config/certs_test.go

    		if err != nil {
    			os.Remove(privateKey)
    			t.Fatalf("Test %d: failed to create tmp certificate file: %v", i, err)
    		}
    
    		if testCase.password != "" {
    			t.Setenv(EnvCertPassword, testCase.password)
    		}
    		_, err = LoadX509KeyPair(certificate, privateKey)
    		if err != nil && !testCase.shouldFail {
    			t.Errorf("Test %d: test should succeed but it failed: %v", i, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

                if (form.crudMode.intValue() == CrudMode.CREATE || StringUtil.isNotBlank(form.password)) {
                    final String encodedPassword = ComponentUtil.getComponent(FessLoginAssist.class).encryptPassword(form.password);
                    entity.setOriginalPassword(form.password);
                    entity.setPassword(encodedPassword);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers-idp-config.go

    	contentType := r.Header.Get("Content-Type")
    	if contentType != "application/octet-stream" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	password := cred.SecretKey
    	reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

    /**
     * @author FreeGen
     */
    public class UserBhv extends BsUserBhv {
    
        private static final String ROLES = "roles";
        private static final String GROUPS = "groups";
        private static final String PASSWORD = "password";
        private static final String NAME = "name";
    
        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. .github/workflows/sigbuild-docker.yml

            with:
              username: ${{ secrets.DOCKERHUB_USERNAME }}
              password: ${{ secrets.DOCKERHUB_TOKEN }}
          -
            name: Login to GCR
            uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
            with:
              registry: gcr.io
              username: _json_key
              password: ${{ secrets.GCP_CREDS }}
          -
            name: Login to AR
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            expect = "a=b";
            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "password=b";
            expect = "password={cipher}5691346cc398a4450114883140fa84a7";
            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "aaa.password=b\naaa=c\nccc.key=d";
            expect = "aaa.password={cipher}5691346cc398a4450114883140fa84a7\n" + "aaa=c\n" + "ccc.key={cipher}bf66204f1a59036869a684d61d337bd4";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. internal/config/dns/operator_dns.go

    	Endpoint   string
    	rootCAs    *x509.CertPool
    	username   string
    	password   string
    }
    
    // OperatorOption - functional options pattern style for OperatorDNS
    type OperatorOption func(*OperatorDNS)
    
    // Authentication - custom username and password for authenticating at the endpoint
    func Authentication(username, password string) OperatorOption {
    	return func(args *OperatorDNS) {
    		args.username = username
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. internal/event/target/nats.go

    		return errors.New("cert and key must be specified as a pair")
    	}
    
    	if n.Username != "" && n.Password == "" || n.Username == "" && n.Password != "" {
    		return errors.New("username and password must be specified as a pair")
    	}
    
    	if n.Streaming.Enable {
    		if n.Streaming.ClusterID == "" {
    			return errors.New("empty cluster id")
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. 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).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/security/first-steps.md

    但在本例中,**FastAPI** 应用会处理 API 与身份验证。
    
    下面,我们来看一下简化的运行流程:
    
    - 用户在前端输入 `username` 与`password`,并点击**回车**
    - (用户浏览器中运行的)前端把 `username` 与`password` 发送至 API 中指定的 URL(使用 `tokenUrl="token"` 声明)
    - API 检查 `username` 与`password`,并用令牌(`Token`) 响应(暂未实现此功能):
      - 令牌只是用于验证用户的字符串
      - 一般来说,令牌会在一段时间后过期
        - 过时后,用户要再次登录
        - 这样一来,就算令牌被人窃取,风险也较低。因为它与永久密钥不同,**在绝大多数情况下**不会长期有效
    - 前端临时将令牌存储在某个位置
    - 用户点击前端,前往前端应用的其它部件
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top