Commit 4babd24d authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

JORAM-351: Restrict the access to this function in order to avoid a

public access to the password.
parent 24843905
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2012 ScalAgent Distributed Technologies
* Copyright (C) 2012 - 2019 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -286,7 +286,9 @@ public class ManagedConnectionFactoryConfig implements java.io.Serializable {
return userName;
}
public String getPassword() {
// JORAM-351: We have to restrict the access to this function in order to avoid a public access
// to the password. 'package' seems to be a right choice.
String getPassword() {
return password;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment