silentbalanceyh/vertx-zero

View on GitHub
vertx-gaia/vertx-co/src/main/java/io/vertx/up/specification/secure/Acl.java

Summary

Maintainability
A
0 mins
Test Coverage
package io.vertx.up.specification.secure;

import io.vertx.core.json.JsonObject;
import io.vertx.up.eon.em.EmSecure;

import java.io.Serializable;
import java.util.Set;

/**
 * @author <a href="http://www.origin-x.cn">Lang</a>
 */
public interface Acl extends Serializable {
    /*
     * Acl configuration to store
     * seeker configuration
     */
    Acl config(JsonObject config);

    JsonObject config();

    /*
     * projection calculation
     */
    Set<String> aclVisible();

    /*
     * JsonObject calculation
     */
    JsonObject acl();

    /*
     * Phase
     */
    EmSecure.ActPhase phase();

    /*
     * Record bind
     */
    void bind(JsonObject record);
}