- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for jais (1.23 sec)
-
src/test/java/jcifs/pac/ASN1UtilTest.java
// Test successful reading and casting from ASN1InputStream ASN1Integer original = new ASN1Integer(456); ByteArrayInputStream bais = new ByteArrayInputStream(original.getEncoded()); ASN1InputStream ais = new ASN1InputStream(bais); ASN1Integer result = ASN1Util.as(ASN1Integer.class, ais); assertEquals(original, result); } @Test void testAs_ASN1InputStream_Failure() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
void testGetSubjectLoginFailuresCacheAndRefresh(SubjectVariant variant) throws Exception { JAASAuthenticator auth = buildAuthenticator(variant); // First call attempts a JAAS login; behavior depends on JAAS configuration Subject first = auth.getSubject(); // Second call should return cached value (same as first) Subject second = auth.getSubject();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
private static final long serialVersionUID = -1648420815038372844L; /** The JAAS service name for authentication */ private String serviceName; /** The cached JAAS subject */ private Subject cachedSubject; /** The JAAS configuration */ private Configuration configuration; /** * Create an authenticator using the JAAS service <code>jcifs</code> *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (1) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
long epochFiletime = 116444736000000000L; writeLittleEndianLong(dos, epochFiletime); ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); PacDataInputStream pacStream = new PacDataInputStream(bais); Date date = pacStream.readFiletime(); assertNotNull(date); // The date should be around 1970 (allowing for some conversion differences)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/StaticJAASConfiguration.java
class StaticJAASConfiguration extends Configuration { private Map<String, ?> options; /** * Initialize a static JAAS configuration with default settings */ public StaticJAASConfiguration() { this.options = new HashMap<>(); } /** * Initialize a static JAAS configuration with custom settings * * @param options */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosCredentials.java
*/ public class KerberosCredentials { private Subject subject; /** * Creates KerberosCredentials using the default JAAS configuration. * * @throws LoginException if authentication fails */ public KerberosCredentials() throws LoginException { this(System.getProperty("jaaslounge.sso.jaas.config")); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
int written = writePacket.writeTrailerWireFormat(buffer, 0); ByteArrayInputStream bais = new ByteArrayInputStream(buffer, 0, written); SessionRequestPacket readPacket = new SessionRequestPacket(mockConfig); readPacket.length = written; int bytesRead = readPacket.readTrailerWireFormat(bais, buffer, 0); assertEquals(written, bytesRead); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
plugin.xml
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 18 09:50:31 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testReadnComplete() throws IOException { byte[] buffer = new byte[10]; byte[] data = { 1, 2, 3, 4, 5 }; ByteArrayInputStream bais = new ByteArrayInputStream(data); int bytesRead = SessionServicePacket.readn(bais, buffer, 0, 5); assertEquals(5, bytesRead); for (int i = 0; i < 5; i++) { assertEquals(data[i], buffer[i]); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
module.xml
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 18 09:50:31 UTC 2025 - 4K bytes - Viewed (0)