equal
deleted
inserted
replaced
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( |