]> git.argeo.org Git - lgpl/argeo-commons.git/blob - security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/SystemExecutionService.java
Remove unused files
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / SystemExecutionService.java
1 package org.argeo.security;
2
3 import java.util.concurrent.Executor;
4
5 /**
6 * Allows to execute code authenticated as a system user (that is not a real
7 * person). The {@link Executor} interface interface is not used directly in
8 * order to allow future extension of this interface and to simplify its
9 * publication (e.g. as an OSGi service) and interception.
10 */
11 public interface SystemExecutionService extends Executor {
12 /**
13 * Executes this Runnable within a system authenticated context.
14 * Implementations should make sure that this method is properly secured via
15 * Java permissions since it could access to everything without credentials.
16 */
17 public void execute(Runnable runnable);
18 }