Search in sources :

Example 1 with RunAsImplAuthenticationProvider

use of org.springframework.security.access.intercept.RunAsImplAuthenticationProvider in project molgenis by molgenis.

the class MolgenisWebAppSecurityConfig method runAsAuthenticationProvider.

@Bean
public AuthenticationProvider runAsAuthenticationProvider() {
    RunAsImplAuthenticationProvider provider = new RunAsImplAuthenticationProvider();
    provider.setKey("Job Execution");
    return provider;
}
Also used : RunAsImplAuthenticationProvider(org.springframework.security.access.intercept.RunAsImplAuthenticationProvider) Bean(org.springframework.context.annotation.Bean)

Aggregations

Bean (org.springframework.context.annotation.Bean)1 RunAsImplAuthenticationProvider (org.springframework.security.access.intercept.RunAsImplAuthenticationProvider)1