clean up client cert selection code
This commit is contained in:
parent
41b3df0d43
commit
9fd6539534
|
@ -161,7 +161,8 @@ public class XmppConnection implements Runnable {
|
|||
|
||||
@Override
|
||||
public String[] getClientAliases(String s, Principal[] principals) {
|
||||
return new String[0];
|
||||
final String alias = account.getPrivateKeyAlias();
|
||||
return alias != null ? new String[]{alias} : new String[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue