root/trunk/components/server/src/ome/security/SecureAction.java
| Revision 2008, 0.8 kB (checked in by jmoore, 12 months ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | /* |
| 2 | * ome.security.SecureAction |
| 3 | * |
| 4 | * Copyright 2006 University of Dundee. All rights reserved. |
| 5 | * Use is subject to license terms supplied in LICENSE.txt |
| 6 | */ |
| 7 | |
| 8 | package ome.security; |
| 9 | |
| 10 | // Java imports |
| 11 | |
| 12 | // Third-party libraries |
| 13 | |
| 14 | // Application-internal dependencies |
| 15 | import ome.model.IObject; |
| 16 | |
| 17 | /** |
| 18 | * action for passing to {@link SecuritySystem#doAction(IObject, SecureAction)}. |
| 19 | * |
| 20 | * @author Josh Moore <a |
| 21 | * href="mailto:josh.moore@gmx.de">josh.moore@gmx.de</a> |
| 22 | * @version 1.0 <small> (<b>Internal version:</b> $Rev$ $Date$) </small> |
| 23 | * @since 1.0 |
| 24 | */ |
| 25 | public interface SecureAction { |
| 26 | /** |
| 27 | * executes with special privilegs within the {@link SecuritySystem}. These |
| 28 | * privileges will only be granted to the top-level objects. |
| 29 | */ |
| 30 | <T extends IObject> T updateObject(T... objs); |
| 31 | } |
Note: See TracBrowser
for help on using the browser.
