parent
e4be5c6102
commit
71bbd9faaf
|
|
@ -49,7 +49,7 @@ enum AccessLevel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns if the access level should allow access to the specified endpoint path.
|
* Returns if the access level should allow access to the specified endpoint path.
|
||||||
* @param endpointPath the endpoitn path
|
* @param endpointPath the endpoint path
|
||||||
* @return {@code true} if access is allowed
|
* @return {@code true} if access is allowed
|
||||||
*/
|
*/
|
||||||
public boolean isAccessAllowed(String endpointPath) {
|
public boolean isAccessAllowed(String endpointPath) {
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ public class SkipSslVerificationHttpRequestFactoryTests {
|
||||||
public ExpectedException thrown = ExpectedException.none();
|
public ExpectedException thrown = ExpectedException.none();
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void restCallToSelfSignedServershouldNotThrowSslException() throws Exception {
|
public void restCallToSelfSignedServerShouldNotThrowSslException() throws Exception {
|
||||||
String httpsUrl = getHttpsUrl();
|
String httpsUrl = getHttpsUrl();
|
||||||
SkipSslVerificationHttpRequestFactory requestFactory = new SkipSslVerificationHttpRequestFactory();
|
SkipSslVerificationHttpRequestFactory requestFactory = new SkipSslVerificationHttpRequestFactory();
|
||||||
RestTemplate restTemplate = new RestTemplate(requestFactory);
|
RestTemplate restTemplate = new RestTemplate(requestFactory);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue