Yeah, after stuffing around a little more I realised it's something to
do with the authentication call I'm making.
I get the error in my JUnit test but not when I deploy the app. I'm
trying to authenticate using:
ProviderManager providerManager = (ProviderManager)
applicationContext.getBean("auth
Could you be more specific about how you are authenticating the Subject?
Which provider are you using?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
Of
> Daniel Washusen
> Sent: Friday, July 23, 2004 9:00 PM
> To: [EMAIL PROTECTED]
> Subject: [Acegise
Hi All,
I'm attempting to use the MethodSecurityInterceptor to pretect method
calls on a specific class. When I try and invoke my method a
AuthenticationCredentialsNotFoundException exception is thrown with a
message of "A valid SecureContext was not provided in the
RequestContext". I've taken a
OK guys, it was the filter ordering. Can't believe I missed that.
Thanks for answering stupid questions!!
Chris
Ben Alex wrote:
François Beausoleil wrote:
Do you have some code you could show us ? I don't even know what
sitemesh is... I could take a look, and see if there's anything I
could
Hi Ben,
> Hi Wesley
>
> If you'd like to submit patches which take advantage of the enhanced
> AuthenticationException.getAuthentication() method, I'd be pleased to
> apply them to CVS.
>
> Best regards
> Ben
OK, I started an attempt at adding the setting of the Authentication object
right down a
[EMAIL PROTECTED] wrote:
I have a couple of fundamental questions.
1. it looks like the Adapter for the specific container e.g.
net.sf.acegisecurity.adapters.catalina.CatalinaAcegiUserRealm will use
whatever provider is setup in Acegi. And the main purpose of this is:
that applications can con
François Beausoleil wrote:
Do you have some code you could show us ? I don't even know what
sitemesh is... I could take a look, and see if there's anything I
could do ?
Hi Francois
I used Sitemesh with Acegi Security successfully, so I'm not sure they'd
be a ContextHolder-level issue. As the
I have a couple of fundamental questions.
1. it looks like the Adapter for the specific container e.g.
net.sf.acegisecurity.adapters.catalina.CatalinaAcegiUserRealm will use
whatever provider is setup in Acegi. And the main purpose of this is:
that applications can continue to leverage the au
Hello Chris,
Chris Custine wrote:
It looks to me like the authz tag does not work properly inside a
Sitemesh decorator, but works correctly if used inside an actual
decorated jsp. I suspect that there are some problems with the
ContextHolder ThreadLocal instance and the Sitemesh decorator not
Hello everyone,
Scott, I'm so sorry. I never even saw your contrib. Ben saw it,
though, and brought it to my attention.
Anyway, the authz taglib now supports EL expressions in ifAnyGranted,
ifAllGranted and ifNotGranted. This means you can use something like this:
ROLE_SUPERVISOR,
R
10 matches
Mail list logo