Commit 4a6ebdb9 authored by Misagh Moayyed's avatar Misagh Moayyed
Browse files

fixed possible NPE

parent a260e4b8
......@@ -86,6 +86,9 @@ public class OpenIdServiceFactory extends AbstractServiceFactory<OpenIdService>
@Override
public OpenIdService createService(final String id) {
return new OpenIdService(id, id, null, this.openIdPrefixUrl, null);
final ParameterList paramList = new ParameterList();
final OpenIdServiceResponseBuilder builder = new OpenIdServiceResponseBuilder(serverManager,
centralAuthenticationService, paramList, this.openIdPrefixUrl);
return new OpenIdService(id, id, null, this.openIdPrefixUrl, builder);
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment