- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for supportedMechs (0.05 sec)
-
src/test/java/jcifs/smb/SSPContextTest.java
this.nbName = nbName; this.supportedMechs = supportedMechs != null ? supportedMechs.clone() : new ASN1ObjectIdentifier[0]; this.flags = flags; this.integrity = integrity; } @Override public byte[] getSigningKey() throws CIFSException { if (this.signingKey == null) { throw new CIFSException("signing key not available");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
f.setAccessible(true); f.set(target, value); } static ASN1ObjectIdentifier[] supportedMechs() { return Kerb5Context.SUPPORTED_MECHS; } @ParameterizedTest @MethodSource("supportedMechs") @DisplayName("isSupported returns true for supported OIDs") void isSupported_supportedOids(ASN1ObjectIdentifier oid) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
assertFalse(nonAnon.isAnonymous()); } static Object[][] preferredMechData_nonAnonymous() { return new Object[][] { { Kerb5Context.SUPPORTED_MECHS[0], true }, { Kerb5Context.SUPPORTED_MECHS[1], true }, { new ASN1ObjectIdentifier("1.2.3.4.5"), false } }; } @ParameterizedTest(name = "non-anon preferred mech {0} -> {1}")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
static final ASN1ObjectIdentifier[] SUPPORTED_MECHS; private static final Oid JGSS_KRB5_NAME_OID; private static final Oid JGSS_KRB5_MECH_OID; static { KRB5_MECH_OID = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); KRB5_MS_MECH_OID = new ASN1ObjectIdentifier("1.2.840.48018.1.2.2"); SUPPORTED_MECHS = new ASN1ObjectIdentifier[] { KRB5_MECH_OID, KRB5_MS_MECH_OID };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms())); boolean foundKerberos = false; for (ASN1ObjectIdentifier mech : Kerb5Context.SUPPORTED_MECHS) { foundKerberos |= mechs.contains(mech); } if ((!foundKerberos || this.forceFallback) && this.canFallback && tc.getConfig().isAllowNTLMFallback()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0)