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:
@@ -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])) {
|
||||
|
||||
Reference in New Issue
Block a user