Package org.tailormap.api.security
Class AdminAccountCreator
java.lang.Object
org.tailormap.api.security.AdminAccountCreator
@Configuration
@ConditionalOnProperty(name="tailormap-api.security.admin.create-if-not-exists",
havingValue="true")
public class AdminAccountCreator
extends Object
-
Constructor Summary
ConstructorDescriptionAdminAccountCreator
(UserRepository userRepository, GroupRepository groupRepository) -
Method Summary
-
Constructor Details
-
AdminAccountCreator
-
-
Method Details
-
postConstruct
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) @Transactional public void postConstruct() throws IOException- Throws:
IOException
-