- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 26 for CreateContext (0.07 seconds)
-
src/test/java/jcifs/smb/CredentialsInternalTest.java
} @Test @DisplayName("createContext returns SSPContext and interacts with CIFSContext") void createContext_happy_interacts_and_returns_context() throws Exception { // Arrange TestCredentials creds = new TestCredentials("D", false, false, new Subject(), false); // Act SSPContext ctx = creds.createContext(mockContext, "TARGET", "host", new byte[0], true);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/smb/Kerb5AuthenticatorTest.java
SmbUnsupportedOperationException ex = assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "SERVER", new byte[0], false)); assertTrue(ex.getMessage().contains("Cannot use netbios/short names")); } @Test @DisplayName("createContext: no Kerberos in initial token and no fallback -> throws") void createContext_noKerberosNoFallback_throws() throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
} /** * * {@inheritDoc} * * @see jcifs.smb.NtlmPasswordAuthenticator#createContext(jcifs.CIFSContext, java.lang.String, java.lang.String, * byte[], boolean) */ @Override public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/CredentialsInternal.java
* @param doSigning whether message signing should be enabled * @return a new SSP authentication context * @throws SmbException if context creation fails */ SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException; /** * Get the security subject associated with these credentials.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java
exceptions.forEach(exception::addSuppressed); throw exception; } } @Override protected MavenContext createContext(InvokerRequest invokerRequest) { // TODO: in a moment Maven stop pushing user properties to system properties (and maybe something more)
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 4.1K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
.ok()); ASSERT_TRUE(worker_server2->Start().ok()); TFE_Context* ctx_0 = CreateContext(serialized_server_def_0, /*isolate_session_state=*/false, /*init_timeout_in_ms=*/0); TFE_Context* ctx_1 = CreateContext(serialized_server_def_1, /*isolate_session_state=*/false,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} if (s == null) { return this.credentials.createContext(getContext(), tdomain, host, negoResp.getSecurityBlob(), doSigning); } try { final String hostName = host; return Subject.doAs(s, (PrivilegedExceptionAction<SSPContext>) () -> getCredentials().createContext(getContext(), tdomain, hostName, negoResp.getSecurityBlob(), doSigning));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
public CredentialsInternal clone() { // For testing purposes, return this instance (allowed by return type) return this; } @Override public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException { // Not used within these tests throw new SmbException("not used in tests");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test_util.h
TFE_TensorHandle* CreateVariable(TFE_Context* ctx, float value, const tensorflow::string& device_name, const tensorflow::string& variable_name); TFE_Context* CreateContext(const std::string& serialized_server_def, bool isolate_session_state, int64_t init_timeout_in_ms); tensorflow::ServerDef ReplaceTaskInServerDef(
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java
public EncryptInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) { super(protoLookup, contextConsumer); } @Override protected EncryptContext createContext(InvokerRequest invokerRequest) { return new EncryptContext( invokerRequest, (EncryptOptions) invokerRequest.options().orElse(null)); } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.5K bytes - Click Count (0)