source: VirtualCollectionRegistry/tags/VirtualCollectionRegistry-0.4.0-alpha2/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/service/impl/SAMLCreatorProviderConfiguration.java @ 5557

Last change on this file since 5557 was 5557, checked in by Twan Goosen, 10 years ago

tag for VCR alpha 2

File size: 625 bytes
Line 
1package eu.clarin.cmdi.virtualcollectionregistry.service.impl;
2
3import eu.clarin.cmdi.virtualcollectionregistry.service.CreatorProvider;
4import java.util.Arrays;
5import org.springframework.context.annotation.Bean;
6import org.springframework.context.annotation.Configuration;
7
8/**
9 *
10 * @author twagoo
11 */
12@Configuration
13public class SAMLCreatorProviderConfiguration {
14
15    @Bean
16    public CreatorProvider creatorProvider() {
17        return new ChaningCreatorProvider(
18                Arrays.<CreatorProvider>asList(new SAMLCreatorProvider())
19                //TODO: add db provider with fallback to saml
20        );
21    }
22
23}
Note: See TracBrowser for help on using the repository browser.