Fixed issues in BeanConfigurator.
Fixed issues in NetworkUtil associated with newly added trust manager.
Change-Id: I0777ff85131d22c92c0ede06335a5b2839a1c482
Issue-ID: POLICY-1519
Signed-off-by: Jim Hahn <jrh3@att.com>
@Override
public void checkClientTrusted(final java.security.cert.X509Certificate[] certs,
- final String authType) {}
+ final String authType) {
+ // always trust
+ }
@Override
public void checkServerTrusted(final java.security.cert.X509Certificate[] certs,
- final String authType) {}
+ final String authType) {
+ // always trust
+ }
}
};
// @formatter:on
* @param methodName name of the method to return
* @return the method to be used to get the field's value
* @throws NoSuchMethodException if the method does not exist
- * @throws SecurityException if the method cannot be accessed
*/
- protected Method getGetter(Field field, String methodName) throws NoSuchMethodException, SecurityException {
+ protected Method getGetter(Field field, String methodName) throws NoSuchMethodException {
return field.getDeclaringClass().getMethod(methodName);
}