Author: jaz
Date: Mon Apr 16 15:48:09 2007
New Revision: 529425
URL:
http://svn.apache.org/viewvc?view=rev&rev=529425Log:
now ignores the issuers; since we are looking for a specific alias; we now just look up that alias for all issuers
Modified:
ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java
Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java?view=diff&rev=529425&r1=529424&r2=529425==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java Mon Apr 16 15:48:09 2007
@@ -44,7 +44,7 @@
// 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])) {