Changed the alternative selector to base it on whether the client
certification is to be provided by the clients in the current spring
context.