Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for KerberosToken (0.07 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosToken.java

    import jcifs.pac.ASN1Util;
    import jcifs.pac.PACDecodingException;
    
    
    @SuppressWarnings ( "javadoc" )
    public class KerberosToken {
    
        private KerberosApRequest apRequest;
    
    
        public KerberosToken ( byte[] token ) throws PACDecodingException {
            this(token, null);
        }
    
    
        public KerberosToken ( byte[] token, KerberosKey[] keys ) throws PACDecodingException {
    
            if ( token.length <= 0 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/PACTest.java

                KerberosKey[] keys = kt.getKeys(new KerberosPrincipal("cifs/******@****.***FIELD", KerberosPrincipal.KRB_NT_PRINCIPAL));
                KerberosToken tok = new KerberosToken(krbToken, keys);
    
                KerberosEncData ed = tok.getTicket().getEncData();
                Assert.assertEquals(1, ed.getUserAuthorizations().size());
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
Back to top