- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 192 for mech (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
auth.setForceFallback(true); // Token advertising Kerberos mech (so foundKerberos == true), but forceFallback should still route to NTLM byte[] init = spnegoInitWithMechs(Kerb5Context.SUPPORTED_MECHS); // NtlmPasswordAuthenticator#createContext will inspect mechs and throw because NTLM is not advertised SmbUnsupportedOperationException ex =
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/Kerb5Context.java
ASN1ObjectIdentifier mech = ASN1ObjectIdentifier.getInstance(this.gssContext.getMech().getDER()); for (KerberosTicket ticket : subject.getPrivateCredentials(KerberosTicket.class)) { MIEName client = new MIEName(mech, ticket.getClient().getName()); MIEName server = new MIEName(mech, ticket.getServer().getName());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13.5K bytes - Click Count (1) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
} @Test @DisplayName("getSupportedMechs returns expected array") void getSupportedMechs_happyPath() { ASN1ObjectIdentifier[] mechs = ctx.getSupportedMechs(); assertNotNull(mechs); assertArrayEquals(Kerb5Context.SUPPORTED_MECHS, mechs); } @Test @DisplayName("getFlags with all false yields 0") void getFlags_allFalse() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
final ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[sequence.size()]; for (int i = mechs.length - 1; i >= 0; i--) { mechs[i] = (ASN1ObjectIdentifier) sequence.getObjectAt(i); } setMechanisms(mechs); break; case 1:
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
} if (tok.getMechanisms() != null) { Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms())); boolean foundKerberos = false; for (ASN1ObjectIdentifier mech : Kerb5Context.SUPPORTED_MECHS) { foundKerberos |= mechs.contains(mech); }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/test/java/jcifs/smb/SSPContextTest.java
assertTrue(ctx.isSupported(mech1), "mech1 supported"); assertTrue(ctx.isPreferredMech(mech1), "first supported is preferred"); assertArrayEquals(new ASN1ObjectIdentifier[] { mech1, mech2 }, ctx.getSupportedMechs(), "supported mechs"); // MIC roundtrip: calculate then verify byte[] data = new byte[] { 10, 20, 30 };Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
private static byte[] buildInitToken(ASN1ObjectIdentifier[] mechs, Integer flags, byte[] mechToken, byte[] mic, boolean micInTag4, String spnegoOidOverride, Integer outerTagNoOverride, ASN1TaggedObject extraField) throws IOException { ASN1EncodableVector fields = new ASN1EncodableVector(); if (mechs != null) { ASN1EncodableVector v = new ASN1EncodableVector();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}. */ public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) { // Unsafe, but we can't do much about it now. return Iterables.<@NonNull E>tryFind((Iterable<@NonNull E>) getDelegate(), predicate); } /** * Returns a fluent iterable that applies {@code function} to each element of this fluentCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}. */ public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) { // Unsafe, but we can't do much about it now. return Iterables.<@NonNull E>tryFind((Iterable<@NonNull E>) getDelegate(), predicate); } /** * Returns a fluent iterable that applies {@code function} to each element of this fluentCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
docs/en/docs/tutorial/sql-databases.md
Having the return model ensure that a value is always available and always `int` (not `None`) is very useful for the API clients, they can write much simpler code having this certainty. Also, **automatically generated clients** will have simpler interfaces, so that the developers communicating with your API can have a much better time working with your API. 😎 ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 15.3K bytes - Click Count (0)