now ignores the issuers; since we are looking for a specific alias; we now just look up that alias for all issuers

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529425 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Zeneski
2007-04-16 22:48:09 +00:00
parent 4cef879e88
commit 0af480b6e7
@@ -44,7 +44,7 @@ public class AliasKeyManager implements X509KeyManager {
// this is where the customization comes in
public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) {
for (int i = 0; i < keyType.length; i++) {
String[] aliases = keyManager.getClientAliases(keyType[i], issuers);
String[] aliases = keyManager.getClientAliases(keyType[i], null); // ignoring the issuers
if (aliases != null && aliases.length > 0) {
for (int x = 0; x < aliases.length; x++) {
if (alias.equals(aliases[i])) {