Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for KerberosPacAuthData (0.1 sec)

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

    import javax.security.auth.kerberos.KerberosKey;
    
    import jcifs.pac.PACDecodingException;
    import jcifs.pac.Pac;
    
    
    @SuppressWarnings ( "javadoc" )
    public class KerberosPacAuthData extends KerberosAuthData {
    
        private Pac pac;
    
    
        public KerberosPacAuthData ( byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException {
            this.pac = new Pac(token, keys);
        }
    
    
        public Pac getPac () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/PACTest.java

                KerberosEncData ed = tok.getTicket().getEncData();
                Assert.assertEquals(1, ed.getUserAuthorizations().size());
    
                KerberosPacAuthData pacData = (KerberosPacAuthData) ed.getUserAuthorizations().get(0);
                Pac pac = pacData.getPac();
                PacLogonInfo li = pac.getLogonInfo();
                Assert.assertEquals("test1", li.getUserName());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosAuthData.java

                authorizations = new KerberosRelevantAuthData(token, keys).getAuthorizations();
                break;
            case KerberosConstants.AUTH_DATA_PAC:
                authorizations.add(new KerberosPacAuthData(token, keys));
                break;
            default:
            }
    
            return authorizations;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
Back to top