This page (revision-1) was last changed on 2019-12-18 09:13 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 20 lines
The __[RestrictedHelloWorldPlugin]__ extends the [HelloWorldPlugin] as a subclass of [RestrictedWikiPlugin] (an abstract class), providing a core set of features (such as parameter handling and authentication checking) as a demo and beginning point for plugin development.
As a contrast to the HelloWorldPlugin (and an example of RestrictedWikiPlugin), this moves the vetting of the plugin's use from within the plugin to the superclass, permitting the plugin to be executed based on whether the user's status is Asserted, Authenticated, etc. or enabling or disabling the plugin outright.
See: [RestrictedWikiPlugin] or the code of this plugin for more details.
!! Parameters
* __debug__ = '' 'true' '' | '' 'false' ''. When true, displays debugging level information. Defaults to false.
* __text__ = '' 'content' ''. An optional parameter to provide alternate "Hello World" text to the plugin.
No external dependencies (other than JSPWiki).
See also: [HelloWorldPlugin]
----
[{Tag NeWikiPlugin RestrictedWikiPlugin}]