List of usage examples for org.springframework.security.config.annotation.authentication.builders AuthenticationManagerBuilder inMemoryAuthentication
public InMemoryUserDetailsManagerConfigurer<AuthenticationManagerBuilder> inMemoryAuthentication() throws Exception
From source file:com.jelastic.campitos.SecurityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser("campitos").password("celiesita").roles("USER"); }
From source file:org.brutusin.demo.SecurityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser("user").password("password").roles("USER").and().withUser("admin") .password("password").roles("ADMIN"); }
From source file:com.infinity.config.SecurityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser("faulken").password("kanekane32").roles("USER"); }
From source file:com.counter.counter.api.SpringSecurityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser("optus").password("candidates").roles("USER"); }
From source file:com.orange.clara.pivotaltrackermirror.config.SecurityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser(adminUsername).password(adminPassword).roles("ADMIN", "USER"); }
From source file:com.github.wnameless.spring.papertrail.test.jpa.JpaSecutityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser("test").password("123456").roles("USER"); }
From source file:com.olegchir.wicket_spring_security_example.init.SpringSecurityConfiguration.java
@Override protected void configure(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser("testuser").password("password").roles("USER"); }
From source file:com.greglturnquist.SecurityConfiguration.java
@Override protected void configure(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser("greg").password("turnquist").roles("ADMIN", "USER"); }
From source file:com.jayway.restassured.examples.springmvc.config.SecurityConfiguration.java
@Override protected void configure(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser("username").password("password").roles(ROLE_USER); }
From source file:com.pw.ism.TestSecurityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser("user").password("password").roles("USER").and().withUser("admin") .password("admin123").roles("ADMIN"); }