- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 425 for Credentials (0.12 sec)
-
src/test/java/jcifs/tests/ContextConfigTest.java
import org.hamcrest.CoreMatchers; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Config; import jcifs.Credentials; import jcifs.DialectVersion; import jcifs.SmbResource; import jcifs.config.PropertyConfiguration; import jcifs.context.SingletonContext; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.smb.SmbFile;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
cmd/bucket-targets.go
} // validate if target credentials are ok exists, err := clnt.BucketExists(ctx, tgt.TargetBucket) if err != nil { switch minio.ToErrorResponse(err).Code { case "NoSuchBucket": return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err} case "AccessDenied": return RemoteTargetConnectionErr{Bucket: tgt.TargetBucket, AccessKey: tgt.Credentials.AccessKey, Err: err} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 20.9K bytes - Viewed (0) -
tests/test_security_http_basic_realm.py
from fastapi.testclient import TestClient app = FastAPI() security = HTTPBasic(realm="simple") @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Security(security)): return {"username": credentials.username, "password": credentials.password} client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret"))
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.6K bytes - Viewed (0) -
cmd/config-encrypted_test.go
import ( "bytes" "testing" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/auth" ) func TestDecryptData(t *testing.T) { cred1 := auth.Credentials{ AccessKey: "minio", SecretKey: "minio123", } cred2 := auth.Credentials{ AccessKey: "minio", SecretKey: "minio1234", } data := []byte(`config data`) edata1, err := madmin.EncryptData(cred1.String(), data) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 1.9K bytes - Viewed (0) -
docs/sts/web-identity.go
return } var getWebTokenExpiry func() (*credentials.WebIdentityToken, error) if clientSec == "" { getWebTokenExpiry = func() (*credentials.WebIdentityToken, error) { return &credentials.WebIdentityToken{ Token: r.Form.Get("id_token"), }, nil } } else { getWebTokenExpiry = func() (*credentials.WebIdentityToken, error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
new PreemptiveAuth().run(); } static final class BasicAuthInterceptor implements Interceptor { private final String credentials; private final String host; BasicAuthInterceptor(String host, String username, String password) { this.credentials = Credentials.basic(username, password); this.host = host; } @Override public Response intercept(Chain chain) throws IOException {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Nov 05 07:46:46 UTC 2018 - 2.1K bytes - Viewed (0) -
cmd/auth-handler.go
// x-amz-security-token should not present for static credentials. return nil, ErrInvalidToken } if !cred.IsServiceAccount() && cred.IsTemp() && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 { // validate token for temporary credentials only. return nil, ErrInvalidToken } // Expired credentials must return error right away. if cred.IsTemp() && cred.IsExpired() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 26.1K bytes - Viewed (0) -
docs/site-replication/README.md
** Note ** Previously, site replication required the root credentials of peer sites to be identical. This is no longer necessary because STS tokens are now signed with the site replicator service account credentials, thus allowing flexibility in the independent management of root accounts across sites and the ability to disable root accounts eventually.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 21:30:28 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
return this.sae; } /** * Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials. * * @param url * @param sae * @return credentials returned by prompt */ public static NtlmPasswordAuthenticator requestNtlmPasswordAuthentication ( String url, SmbAuthException sae ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
istioctl/pkg/xds/client.go
if err != nil { return nil, fmt.Errorf("failed to create RPC credentials for \"%s.%s\": %w", serviceAccount, ns, err) } if isMCP { return mcpDialOptions(ctx, opts.GCPProject, k8sCreds) } return []grpc.DialOption{ // nolint: gosec // Only runs over istioctl experimental // TODO: https://github.com/istio/istio/issues/41937 grpc.WithTransportCredentials(credentials.NewTLS( &tls.Config{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 3.7K bytes - Viewed (0)