plugin: registerController deprecated

registerController(String, Controller, Privileges) is deprecated. Is
there another approach I should use? I'm wanting to have a page that
requires no authentication. Passing in Privileges.NONE appears to be
working.

4 comments

Hello,

Yes, another approach is to use
AuthorizationInterceptor.addPathNotRequiringAuth() method.

--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"



"Chris Morris" <chris.morris@einstruction.com> wrote in message
news:fqfrqo$5c0$1@is.intellij.net...

registerController(String, Controller, Privileges) is deprecated. Is there
another approach I should use? I'm wanting to have a page that requires no
authentication. Passing in Privileges.NONE appears to be working.



0

Pavel Sher wrote:

Hello,

Yes, another approach is to use
AuthorizationInterceptor.addPathNotRequiringAuth() method.


How do I use this interface? Eclipse isn't showing me any implementors
or other references to this interface.

0

Hello,

Just ask for this interface in the constructor of a Spring bean and you will
be provided with implementation.

--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"



"Chris Morris" <chris.morris@einstruction.com> wrote in message
news:fqh8c6$ucl$1@is.intellij.net...

Pavel Sher wrote:

>> Hello,
>>
>> Yes, another approach is to use
>> AuthorizationInterceptor.addPathNotRequiringAuth() method.
>>
>

How do I use this interface? Eclipse isn't showing me any implementors or
other references to this interface.



0

Pavel Sher wrote:

Hello,

Just ask for this interface in the constructor of a Spring bean and you will
be provided with implementation.


Cool - that worked. A nice 'a-ha' moment for Spring.

0

Please sign in to leave a comment.