error using BASIC_AUTH_FILTER

Nov 15, 2010 at 3:02 PM

Hi,

I followed the waffle-filter.xml from the Source code tab. I got this  "Unknown enum value BASIC_AUTH_FILTER" error from Intellij.

 <security:custom-filter position="BASIC_AUTH_FILTER" ref="waffleNegotiateSecurityFilter" />

 

waffleNegotiateSecurityFilter is defined in my xml file.

Hope you can shed some light on this.

Thanks!

 

 

 

 

 

 

Coordinator
Nov 16, 2010 at 12:42 AM

The BASIC_AUTH_FILTER is part of sprint-security standard filter aliases and ordering. Now I don't know what that des to IntelliJ, which package it's declared in or how to get rid of the error. But I can tell you that it works when you put it into a runtime environment ;)

Nov 17, 2010 at 9:26 AM
Edited Nov 17, 2010 at 11:22 AM

-- deleted message --

Coordinator
Nov 17, 2010 at 11:01 AM

Looks like you deleted the next question. Did you resolve it?

Nov 17, 2010 at 11:24 AM

hi dblock!  yeah, the principal that Waffle use do not have a "username" property. It uses name, instead. 

Coordinator
Nov 17, 2010 at 11:43 AM

When you're all done and it's working, it would be nice to see a post somewhere (your blog, codeproject, here) about how you use this with Spring and for what purposes.

Nov 18, 2010 at 3:08 AM

Ok, dblock. ;)