another print
This commit is contained in:
parent
280e6877b5
commit
aaa8cdd631
|
@ -139,7 +139,6 @@ public class ServiceEndpointResource {
|
||||||
for (ServiceEndpoint.AccessPoint ap : aps){
|
for (ServiceEndpoint.AccessPoint ap : aps){
|
||||||
String decrypted =encryptString(ap.password());
|
String decrypted =encryptString(ap.password());
|
||||||
String user= ap.username();
|
String user= ap.username();
|
||||||
|
|
||||||
ap.credentials(decrypted, user);
|
ap.credentials(decrypted, user);
|
||||||
}
|
}
|
||||||
return resource;
|
return resource;
|
||||||
|
@ -155,6 +154,7 @@ public class ServiceEndpointResource {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String encryptString(String toEncrypt){
|
private static String encryptString(String toEncrypt){
|
||||||
|
log.debug("encrypting string");
|
||||||
try{
|
try{
|
||||||
return StringEncrypter.getEncrypter().encrypt(toEncrypt);
|
return StringEncrypter.getEncrypter().encrypt(toEncrypt);
|
||||||
}catch(Exception e) {
|
}catch(Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue