- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for Pac (0.01 sec)
-
src/main/java/jcifs/pac/PacSidAttributes.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.pac; import jcifs.smb.SID; /** * Represents a Security Identifier (SID) with associated attributes within a PAC structure. * This class encapsulates a SID and its attribute flags as used in Kerberos PAC data. */ public class PacSidAttributes { private final SID id; private final int attributes;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PACDecodingException.java
*/ package jcifs.pac; import jcifs.CIFSException; /** * Exception thrown when PAC (Privilege Attribute Certificate) data cannot be decoded. * Indicates malformed or invalid PAC structures in Kerberos tickets. */ public class PACDecodingException extends CIFSException { private static final long serialVersionUID = 1L; /** * Constructs a new PAC decoding exception with no detail message.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (1) -
src/test/java/jcifs/pac/PacGroupTest.java
} /** * Test method for {@link jcifs.pac.PacGroup#getId()}. */ @Test void testGetId() { // Test the getId method assertEquals(mockSid, pacGroup.getId(), "getId() should return the correct SID."); } /** * Test method for {@link jcifs.pac.PacGroup#getAttributes()}. */ @Test void testGetAttributes() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
private SID[] resourceGroupSids; private SID[] extraSids; private int userAccountControl; private int userFlags; /** * Constructs a PAC logon information object from raw PAC data. * @param data the raw PAC logon info buffer data * @throws PACDecodingException if the data is malformed or invalid */ public PacLogonInfo(final byte[] data) throws PACDecodingException { try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacConstants.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.pac; /** * Constants for PAC (Privilege Attribute Certificate) data structures. * Defines buffer types and other constants used in PAC parsing and validation. */ public interface PacConstants { /** * PAC structure version number. */ int PAC_VERSION = 0; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
package jcifs.pac; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import java.security.GeneralSecurityException; import java.util.HashMap; import java.util.Map; import javax.crypto.spec.SecretKeySpec; import javax.security.auth.kerberos.KerberosKey;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
assertEquals("Invalid PAC credential type", exception.getMessage()); } /** * Tests the isCredentialTypeCorrect method with a valid byte array. * * @throws PACDecodingException if the PAC decoding fails. */ @Test void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.pac; import java.io.ByteArrayInputStream; import java.io.DataInputStream; import java.io.IOException; /** * Represents a PAC signature structure containing checksum type and data. * This class parses and holds signature information from Kerberos PAC data, * supporting various checksum algorithms including HMAC-MD5 and HMAC-SHA1 with AES. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
assertEquals("Malformed PAC", exception.getMessage()); } @Test @DisplayName("Test getters return expected values using mocks") void testGetters() throws Exception { // Use mocking to test getters without complex PAC data creation PacLogonInfo logonInfo = mock(PacLogonInfo.class); // Setup mock responsesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
package jcifs.pac; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import org.junit.jupiter.api.Test; /** * Tests for the PacSignature class. */ class PacSignatureTest {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0)