Create another aspect. From within this aspect, introduce the @Authenticated
annotation (with ADMIN
as the role value) to the extraPanel()
method of the Main
class in package figures.gui
. This method initiates the creation of an additional figure editor window.
declare @method: Method: Annotation
to introduce a method annotation.
Rerun the figure editor to verify that the creation of a new figure editor window (with the Main button) requires an administrator.
When done, remove the aspects you created in this track from the build path. Then continue with the Caching track (optional).