equal
deleted
inserted
replaced
405 * @see java.security.Security security properties |
405 * @see java.security.Security security properties |
406 * @return the default {@code CertStore} type as specified by the |
406 * @return the default {@code CertStore} type as specified by the |
407 * {@code certstore.type} security property, or the string |
407 * {@code certstore.type} security property, or the string |
408 * {@literal "LDAP"} if no such property exists. |
408 * {@literal "LDAP"} if no such property exists. |
409 */ |
409 */ |
410 public final static String getDefaultType() { |
410 public static final String getDefaultType() { |
411 String cstype; |
411 String cstype; |
412 cstype = AccessController.doPrivileged(new PrivilegedAction<>() { |
412 cstype = AccessController.doPrivileged(new PrivilegedAction<>() { |
413 public String run() { |
413 public String run() { |
414 return Security.getProperty(CERTSTORE_TYPE); |
414 return Security.getProperty(CERTSTORE_TYPE); |
415 } |
415 } |