test/sun/security/krb5/auto/KDC.java

changeset 14203
d8bd882cfd2a
parent 13897
9099e882f08e
child 14222
5a272e10d7e7
     1.1 --- a/test/sun/security/krb5/auto/KDC.java	Mon Aug 31 07:09:57 2020 +0100
     1.2 +++ b/test/sun/security/krb5/auto/KDC.java	Sun May 31 10:13:04 2020 +0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -1178,6 +1178,9 @@
    1.11                  bFlags[Krb5.TKT_OPTS_MAY_POSTDATE] = true;
    1.12              }
    1.13              bFlags[Krb5.TKT_OPTS_INITIAL] = true;
    1.14 +            if (System.getProperty("test.kdc.always.enc.pa.rep") != null) {
    1.15 +                bFlags[Krb5.TKT_OPTS_ENC_PA_REP] = true;
    1.16 +            }
    1.17  
    1.18              // Creating PA-DATA
    1.19              DerValue[] pas2 = null, pas = null;

mercurial