use of org.molgenis.data.security.auth.GroupMemberFactory in project molgenis by molgenis.
the class GoogleAuthenticationProcessingFilterTest method setUp.
@BeforeMethod
public void setUp() {
authenticationSettings = mock(AuthenticationSettings.class);
UserDetailsService userDetailsService = mock(UserDetailsService.class);
DataService dataService = mock(DataService.class);
GooglePublicKeysManager googlePublicKeysManager = mock(GooglePublicKeysManager.class);
UserFactory userFactory = mock(UserFactory.class);
GroupMemberFactory groupMemberFactory = mock(GroupMemberFactory.class);
googleAuthenticationProcessingFilter = new GoogleAuthenticationProcessingFilter(googlePublicKeysManager, dataService, userDetailsService, authenticationSettings, userFactory, groupMemberFactory);
request = mock(HttpServletRequest.class);
response = mock(HttpServletResponse.class);
}
Aggregations