users@glassfish.java.net

Re: JACC Provider can't check security for itself

From: <glassfish_at_javadesktop.org>
Date: Wed, 14 May 2008 08:27:49 PDT

> How can I get a handle to the Default Policy Context?
>

you can't get the PolicyCOnfigurationInterface for the null policy context.
you can use PolicyContext.setPolicyContextID(null) such that the null policy context will be used for policy decisions.

> It's a PolicyConfiguration right?

it is a special PolicyContext, that does not offer a PolicyConfiguration interface.

can I ask why you want to do this?

Ron
[Message sent by forum member 'monzillo' (monzillo)]

http://forums.java.net/jive/thread.jspa?messageID=274313