@Configuration
@ComponentScan(value="org.crazyyak.demo.common.app")
public class DemoCommonSpringConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
DemoCommonSpringConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.crazyyak.dev.security.providers.CurrentUserSecurityProvider |
currentUserSecurityProvider(org.crazyyak.dev.security.domain.CurrentUserStore store) |
org.crazyyak.dev.security.providers.GooglePlusSecurityProvider |
googlePlusSecurityProvider(AccountStore accountStore,
org.crazyyak.dev.jackson.YakJacksonObjectMapper objectMapper,
java.lang.String clientId,
java.lang.String clientSecret) |
org.crazyyak.dev.jackson.YakJacksonObjectMapper |
yakJacksonObjectMapper() |
@Bean public org.crazyyak.dev.jackson.YakJacksonObjectMapper yakJacksonObjectMapper()
@Bean public org.crazyyak.dev.security.providers.CurrentUserSecurityProvider currentUserSecurityProvider(org.crazyyak.dev.security.domain.CurrentUserStore store)
@Bean public org.crazyyak.dev.security.providers.GooglePlusSecurityProvider googlePlusSecurityProvider(AccountStore accountStore, org.crazyyak.dev.jackson.YakJacksonObjectMapper objectMapper, @Value(value="${google.auth.clientId}") java.lang.String clientId, @Value(value="${google.auth.clientSecret}") java.lang.String clientSecret)