Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 57 for Kerberos (0.04 seconds)

  1. src/main/java/jcifs/pac/PacSidAttributes.java

     */
    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;
    
        /**
         * Constructs a new PacSidAttributes instance.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/PacMacTest.java

    import java.security.GeneralSecurityException;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
        private static final byte[] TEST_DATA = "test data".getBytes();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

    package jcifs.pac.kerberos;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.doNothing;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.when;
    
    import java.util.Collections;
    import java.util.HashSet;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

    package jcifs.pac.kerberos;
    
    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 static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.Mockito.mock;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

    package jcifs.pac.kerberos;
    
    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 static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.security.GeneralSecurityException;
    import java.security.Key;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

    package jcifs.pac.kerberos;
    
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    
    import org.bouncycastle.asn1.ASN1Encodable;
    import org.bouncycastle.asn1.ASN1Integer;
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    import org.bouncycastle.asn1.ASN1Sequence;
    import org.bouncycastle.asn1.BERTags;
    import org.bouncycastle.asn1.DERSequence;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            AppConfigurationEntry e = entries[0];
            assertNotNull(e, "Entry should not be null");
            assertEquals(EXPECTED_LOGIN_MODULE, e.getLoginModuleName(), "Login module should be Kerberos");
            assertEquals(LoginModuleControlFlag.REQUIRED, e.getControlFlag(), "Control flag should be REQUIRED");
            assertNotNull(e.getOptions(), "Options map should not be null");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/SpnegoCredential.java

     *
     * This class represents login credentials obtained through SPNEGO (Security Provider
     * Negotiation Protocol) authentication. It contains the username extracted from the
     * SPNEGO authentication process, typically from a Kerberos ticket.
     */
    public class SpnegoCredential implements LoginCredential, FessCredential {
    
        /** The username extracted from SPNEGO authentication. */
        private final String username;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (1)
  9. 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.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (1)
  10. src/main/java/jcifs/pac/PacConstants.java

         */
        int LOGON_EXTRA_SIDS = 0x20;
        /**
         * Flag for resource groups in logon information.
         */
        int LOGON_RESOURCE_GROUPS = 0x200;
    
        /**
         * Kerberos salt type for MD5 checksums.
         */
        int MD5_KRB_SALT = 17;
        /**
         * MD5 block length in bytes.
         */
        int MD5_BLOCK_LENGTH = 64;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top