jdk/src/java.base/share/classes/sun/security/ssl/ServerHandshaker.java
changeset 28059 e576535359cc
parent 25859 3317bb8137f4
child 28550 003089aca6b9
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
  1465                 String serverPrincipal =
  1465                 String serverPrincipal =
  1466                         Krb5Helper.getServerPrincipalName(serviceCreds);
  1466                         Krb5Helper.getServerPrincipalName(serviceCreds);
  1467                 if (serverPrincipal != null) {
  1467                 if (serverPrincipal != null) {
  1468                     // When service is bound, we check ASAP. Otherwise,
  1468                     // When service is bound, we check ASAP. Otherwise,
  1469                     // will check after client request is received
  1469                     // will check after client request is received
  1470                     // in in Kerberos ClientKeyExchange
  1470                     // in Kerberos ClientKeyExchange
  1471                     SecurityManager sm = System.getSecurityManager();
  1471                     SecurityManager sm = System.getSecurityManager();
  1472                     try {
  1472                     try {
  1473                         if (sm != null) {
  1473                         if (sm != null) {
  1474                             // Eliminate dependency on ServicePermission
  1474                             // Eliminate dependency on ServicePermission
  1475                             sm.checkPermission(Krb5Helper.getServicePermission(
  1475                             sm.checkPermission(Krb5Helper.getServicePermission(