- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 110 for creds (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/context/CIFSContextCredentialWrapper.java
private Credentials creds; /** * Constructs a CIFS context wrapper with custom credentials. * * @param delegate the context to wrap * @param creds * Credentials to use */ public CIFSContextCredentialWrapper(final AbstractCIFSContext delegate, final Credentials creds) { super(delegate); this.creds = creds; } /** *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
TestCredentials creds = new TestCredentials("A", true, false, subject, false); // Act TestCredentials copy = creds.clone(); // Assert assertNotSame(creds, copy, "clone must return a new instance"); assertEquals(creds.getUserDomain(), copy.getUserDomain()); assertEquals(creds.isAnonymous(), copy.isAnonymous()); assertEquals(creds.isGuest(), copy.isGuest());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
void testWithCredentials() { // Given Credentials creds = mock(Credentials.class); CIFSContext newContext = mock(CIFSContext.class); when(mockContext.withCredentials(creds)).thenReturn(newContext); // When CIFSContext context = mockContext.withCredentials(creds); // Then assertEquals(newContext, context);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
cmd/warm-backend-s3.go
conf.AWSRoleARN, sessionName, }, } creds = credentials.New(&s3WebIdentityIAM) case conf.AccessKey != "" && conf.SecretKey != "": creds = credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "") default: return nil, errors.New("insufficient parameters for S3 backend authentication") } opts := &minio.Options{ Creds: creds, Secure: u.Scheme == "https",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jun 08 16:13:30 GMT 2025 - 5.8K bytes - Click Count (0) -
docs/sts/client_grants/__init__.py
result = root.find('AssumeRoleWithClientGrantsResult') creds = result.find('Credentials') return dict( access_key=creds.get_child_text('AccessKeyId'), secret_key=creds.get_child_text('SecretAccessKey'), token=creds.get_child_text('SessionToken'), expiry_time=parse(creds.get_child_text('Expiration')).isoformat())
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
Runtime.getRuntime().addShutdownHook(this); } /** * @param creds the credentials to use * @return a wrapped context with the given credentials */ @Override public CIFSContext withCredentials(final Credentials creds) { return new CIFSContextCredentialWrapper(this, creds); } /** * * {@inheritDoc} *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4K bytes - Click Count (0) -
docs/sts/assume-role.go
stsEndpointURL, err := url.Parse(stsEndpoint) if err != nil { log.Fatalf("Error parsing sts endpoint: %v", err) } opts := &minio.Options{ Creds: li, Secure: stsEndpointURL.Scheme == "https", } mopts := &madmin.Options{ Creds: li, Secure: stsEndpointURL.Scheme == "https", } v, err := li.Get() if err != nil { log.Fatalf("Error retrieving STS credentials: %v", err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Aug 17 01:24:54 GMT 2024 - 4.4K bytes - Click Count (1) -
cmd/auth-handler_test.go
func mustNewSignedRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request { req := mustNewRequest(method, urlStr, contentLength, body, t) cred := globalActiveCred if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil { t.Fatalf("Unable to initialized new signed http request %s", err) } return req } // This is similar to mustNewRequest but additionally the request
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0) -
cmd/signature-v4-parser.go
creds := strings.SplitN(strings.TrimSpace(credElement), "=", 2) if len(creds) != 2 { return ch, ErrMissingFields } if creds[0] != "Credential" { return ch, ErrMissingCredTag } credElements := strings.Split(strings.TrimRight(strings.TrimSpace(creds[1]), SlashSeparator), SlashSeparator) if len(credElements) < 5 { return ch, ErrCredMalformed
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:35 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertNull(b.getServer()); } @Test @DisplayName("shouldForceSigning depends on config, creds, and IPC") void testShouldForceSigning() { when(config.isIpcSigningEnforced()).thenReturn(true); when(creds.isAnonymous()).thenReturn(false); // Case 1: share is IPC$ -> IPC SmbResourceLocatorImpl ipc = locator("smb://server/IPC$/");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0)