private ApiKeyAuthenticationInfo createAuthenticationInfo ( String authenticationId , ApiKey apiKey ) { return new ApiKeyAuthenticationInfo ( authenticationId , apiKey , getName ( ) ) ; }
Simple method to build and AuthenticationInfo instance from an API key .