# Spring Security

**URL:** <https://forum.flowable.org/t/spring-security/307>\
**Category:** Flowable Engine\
**Created:** [February 16, 2017, 2:48pm UTC](https://forum.flowable.org/t/spring-security/307 "2017-02-16T14:48:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aeilers](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@aeilers](https://forum.flowable.org/u/aeilers)\
**Post date:** [February 16, 2017, 2:48pm UTC](https://forum.flowable.org/t/spring-security/307/1 "2017-02-16T14:48:32Z")

</div>

Hi,

I’m using Spring Boot with the flowable-spring-boot-starter-basic dependency. I would also like to use Spring Security. So I added the flowable-spring-boot-starter-security dependency and would like to know how the IdentityService interacts with Spring Security?

I have seen that they have just added the [IdentityServiceUserDetailsService.java](https://github.com/flowable/flowable-engine/blob/master/modules/flowable-spring-boot/flowable-spring-boot-starters/flowable-spring-boot-starter-basic/src/main/java/org/flowable/spring/security/IdentityServiceUserDetailsService.java) on github.

Am I right that this already uses the IdentityService and that I have nothing to configure?

Thanks

---

<div class="post-metadata">

**Author:** ![tijs](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@tijs](https://forum.flowable.org/u/tijs)\
**Post date:** [February 17, 2017, 7:47am UTC](https://forum.flowable.org/t/spring-security/307/2 "2017-02-17T07:47:23Z")

</div>

Hi,

The IdentityServiceUserDetailsService class indeed just uses the Flowable IdentityService. So by default it uses the Flowable database identity store. If you would like to use another identity store you could implement your own version of the UserDetailsService interface instead of the IdentityServiceUserDetailsService class.

Best regards,

Tijs

---

<div class="post-metadata">

**Author:** ![aeilers](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@aeilers](https://forum.flowable.org/u/aeilers)\
**Post date:** [February 17, 2017, 7:52am UTC](https://forum.flowable.org/t/spring-security/307/3 "2017-02-17T07:52:36Z")

</div>

Thanks for the response
