auth:ex4
This is an old revision of the document!
Authentication: Other restricted method
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.
Use the form
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).
auth/ex4.1172509169.txt.gz · Last modified: 2007/02/26 17:59 by bdefrain