Kotlin spring security config

After upgrading to Kotlin 1.0.0-beta-3595 from 1.0.0-beta-242 the following code does not compile:

override fun configure(http: HttpSecurity)
    http.addFilterBefore(AuthenticationFilter(authenticationManager()), BasicAuthenticationFilter::class.java)

            .antMatchers("/authorization/**", "/public/**").permitAll()

Error returned is:

SecurityAssembly.kt: (48, 65): Unresolved reference: permitAll


The signature of the permitAll method, which is from the popular Spring Security framework is:

public ExpressionInterceptUrlRegistry permitAll() {
    return access(permitAll);

Am I missing something or is this a bug?


This was a bug in Kotlin 1.0-beta3595, and has been logged here.

Need Your Help

Using htaccess to rewrite _server[PROXY_REMOTE_ADDRESS]

php apache .htaccess mod-rewrite url-rewriting

I am not a programmer or web developer, I am a code copying bodger trying to learn so please be nice and please dont assume I have any idea what im doing :)

How do I make BeautifulSoup parse the contents of textarea tags as HTML?

python beautifulsoup html-parsing

Before 3.0.5, BeautifulSoup used to treat the contents of <textarea> as HTML. It now treats it as text. The document I am parsing has HTML inside the textarea tags, and I am trying to process it...