```clients.findClient(clientName)``` returned an untyped object, which leads to a warning.
As lists can be used to defined clients, you could have List&lt;Client&lt;Credentials,UserProfile&gt;&gt;, verbosity I wanted to avoid in pac4j that's why I skip generics definition for the ```Clients``` class...