# Spring Boot Starter - How to enable security

**URL:** <https://forum.flowable.org/t/spring-boot-starter-how-to-enable-security/2063>\
**Category:** Flowable Engine\
**Created:** [May 27, 2018, 7:31pm UTC](https://forum.flowable.org/t/spring-boot-starter-how-to-enable-security/2063 "2018-05-27T19:31:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bdot](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@bdot](https://forum.flowable.org/u/bdot)\
**Post date:** [May 27, 2018, 7:31pm UTC](https://forum.flowable.org/t/spring-boot-starter-how-to-enable-security/2063/1 "2018-05-27T19:31:20Z")

</div>

Edited:

REST api can be secured as per example [https://github.com/flowable/flowable-engine/tree/master/modules/flowable-spring-boot/flowable-spring-boot-samples/flowable-spring-boot-sample-rest-api-security](https://github.com/flowable/flowable-engine/tree/master/modules/flowable-spring-boot/flowable-spring-boot-samples/flowable-spring-boot-sample-rest-api-security)  
This seems to be using flowable as parent in pom. Can we achieve same without using any flowable parent and just relying on starter dependencies?

Thanks for your time!

Context: Flowable 6.3.1  
Spring Boot: flowable-spring-boot-starter-rest

---

<div class="post-metadata">

**Author:** ![bdot](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@bdot](https://forum.flowable.org/u/bdot)\
**Post date:** [May 27, 2018, 10:44pm UTC](https://forum.flowable.org/t/spring-boot-starter-how-to-enable-security/2063/2 "2018-05-27T22:44:15Z")

</div>

Answering my own question!

It is straight forward with below pom.xml content

```auto
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.0.2.RELEASE</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>

    <artifactId>flowable-rest</artifactId>
    <packaging>jar</packaging>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <java.version>1.8</java.version>
        <flowable.version>6.3.1</flowable.version>
    </properties>

        <dependency>
            <groupId>org.flowable</groupId>
            <artifactId>flowable-dmn-spring-configurator</artifactId>
            <version>${flowable.version}</version>
        </dependency>
        <dependency>
            <groupId>org.flowable</groupId>
            <artifactId>flowable-spring-boot-starter-process-rest</artifactId>
            <version>${flowable.version}</version>
        </dependency>
        <dependency>
            <groupId>org.flowable</groupId>
            <artifactId>flowable-spring-boot-starter-dmn-rest</artifactId>
            <version>${flowable.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-security</artifactId>
        </dependency>
        <dependency>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy</artifactId>
            <version>2.4.13</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy-all</artifactId>
            <version>2.4.13</version>
        </dependency>
    </dependencies>

```
