• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • Last Change
  • Annotate
  • Revision Log

root/trunk/components/server/src/ome/security/SecureAction.java

Revision 2008, 0.8 kB (checked in by jmoore, 12 months ago)

StructuredAnnotations : First solid version of new model component

  • Search is disabled
  • Versions disabled
  • Major reworking of Details, hiding constructor (use copy())
  • Made SecureAction?.updateObject() take varargs
  • Top-level Annotation class no longer abstract
    • Required do to unloaded instantiation in ProxyCleanupFilter
  • Added OriginalFileLinks to top-level Job class
    • Having subclasses reference a class targeted for the superclass is unsupported
  • object.vm gets proper cascading, handles ordered collection methods
  • Fixed error in Child and ParentLinks
  • Fixed ExtendedMetadata's construction of field names (counts still broken)
  • Re-added mock_filters.hbm.xml
  • Handling ordered collections
    • Removed all query references to "defaultXyz" (SecSys uses LocalAdmin)
    • Must save parent of collection (Image/Experimenter)
    • Added use of index(p)
  • Upgrade to Spring 2.5
    • Fixed AOPAdapter
    • Fixed NPE in AbstractManagedContextTest
  • MAJOR REWORKING of all server-side and some other tests. (Next client-side)
    • Adding testing/ component

Conflicts:

components/server/src/ome/logic/PojosImpl.java
components/server/src/ome/services/query/PojosGetImagesQueryDefinition.java

  • Property svn:keywords set to
    Date
    Revision
    Id
    URL
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
8package ome.security;
9
10// Java imports
11
12// Third-party libraries
13
14// Application-internal dependencies
15import ome.model.IObject;
16
17/**
18 * action for passing to {@link SecuritySystem#doAction(IObject, SecureAction)}.
19 *
20 * @author Josh Moore &nbsp;&nbsp;&nbsp;&nbsp; <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 */
25public 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.

Download in other formats:

  • Plain Text
  • Original Format

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/