Skip to content

Use Kotlin DSL for security configuration #92

@xtyrrell

Description

@xtyrrell

The docs show off a Kotlin DSL. It's used to configure an HttpSecurity to produce the SecurityFilterChain bean.

However, I had trouble getting this to work in my application so came to the look at the samples for help. Unfortunately, the "Hello Security" Kotlin sample doesn't use the DSL.

I'd love it if use of the Kotlin DSL was demonstrated in that sample application.

The Kotlin DSL seems to be the recommended way to configure Spring Security when you're using Kotlin, so I'd assume this would be broadly useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions