service.impl/src/main/java/com/hack23/cia/service/impl/BootstrapDefaultConfig.java
private static void configureAuthentication(final String role) {
		final Collection<GrantedAuthority> authorities = AuthorityUtils.createAuthorityList(role);
		final Authentication authentication = new UsernamePasswordAuthenticationToken("service.impl.BootstrapDefaultConfig", "n/a", authorities);
		SecurityContextHolder.getContext().setAuthentication(authentication);
	}
private static void configureAuthentication(final String role) {
		final Collection<GrantedAuthority> authorities = AuthorityUtils.createAuthorityList(role);
		final Authentication authentication = new UsernamePasswordAuthenticationToken("service.impl.BootstrapDefaultConfig", "n/a", authorities);
		SecurityContextHolder.getContext().setAuthentication(authentication);
	}
Configure authentication.

@param role
the role