Package io.vertx.tp.rbac.refine
Class Sc
- java.lang.Object
-
- io.vertx.tp.rbac.refine.Sc
-
public class Sc extends Object
-
-
Constructor Summary
Constructors Constructor Description Sc()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.vertx.core.json.JsonArrayaclOn(io.vertx.core.json.JsonArray original, io.vertx.up.commune.secure.Acl acl)static voidaclRecord(io.vertx.core.json.JsonObject record, io.vertx.up.commune.secure.Acl acl)static <V> io.vertx.core.Future<V>cacheCode(String key)static <V> io.vertx.core.Future<V>cacheCode(String key, V value)static <T> io.vertx.core.Future<List<T>>composite(io.vertx.core.CompositeFuture res)static voiddebugAuth(io.vertx.up.log.Annal logger, String pattern, Object... args)static voiddebugCredit(io.vertx.up.log.Annal logger, String pattern, Object... args)static io.vertx.core.Future<Boolean>imageOff(String sessionId)static io.vertx.core.Future<io.vertx.core.buffer.Buffer>imageOn(String sessionId, int width, int height)static <T> io.vertx.core.Future<T>imageVerify(String sessionId, io.vertx.core.json.JsonObject params, Function<io.vertx.core.json.JsonObject,io.vertx.core.Future<T>> executor)static voidinfoAudit(io.vertx.up.log.Annal logger, String pattern, Object... args)static voidinfoAuth(io.vertx.up.log.Annal logger, String pattern, Object... args)static voidinfoInit(io.vertx.up.log.Annal logger, String pattern, Object... args)static voidinfoResource(io.vertx.up.log.Annal logger, String pattern, Object... args)static voidinfoView(Class<?> clazz, String pattern, Object... args)static voidinfoWeb(Class<?> clazz, String pattern, Object... args)static io.vertx.core.json.JsonObjectjwtToken(io.vertx.core.json.JsonObject data)static OAccessTokenjwtToken(io.vertx.core.json.JsonObject jwt, String userKey)static io.vertx.core.Future<Boolean>jwtToken(List<OAccessToken> item, String userId)static io.vertx.core.Future<Integer>lockOff(String username)static io.vertx.core.Future<Integer>lockOn(String username)static io.vertx.core.Future<io.vertx.core.json.JsonObject>lockVerify(String username, Supplier<io.vertx.core.Future<io.vertx.core.json.JsonObject>> executor)static <T> io.vertx.core.Future<io.vertx.core.json.JsonArray>relation(String field, String key, Class<?> daoCls)static StringvalueCode()static StringvaluePassword()static StringvalueProfile(SResource resource)static voidwarnAuth(io.vertx.up.log.Annal logger, String pattern, Object... args)static voidwarnWeb(Class<?> clazz, String pattern, Object... args)
-
-
-
Method Detail
-
debugAuth
public static void debugAuth(io.vertx.up.log.Annal logger, String pattern, Object... args)
-
infoAudit
public static void infoAudit(io.vertx.up.log.Annal logger, String pattern, Object... args)
-
infoResource
public static void infoResource(io.vertx.up.log.Annal logger, String pattern, Object... args)
-
debugCredit
public static void debugCredit(io.vertx.up.log.Annal logger, String pattern, Object... args)
-
cacheCode
public static <V> io.vertx.core.Future<V> cacheCode(String key)
-
cacheCode
public static <V> io.vertx.core.Future<V> cacheCode(String key, V value)
-
valueCode
public static String valueCode()
-
valuePassword
public static String valuePassword()
-
lockVerify
public static io.vertx.core.Future<io.vertx.core.json.JsonObject> lockVerify(String username, Supplier<io.vertx.core.Future<io.vertx.core.json.JsonObject>> executor)
-
imageOn
public static io.vertx.core.Future<io.vertx.core.buffer.Buffer> imageOn(String sessionId, int width, int height)
-
imageVerify
public static <T> io.vertx.core.Future<T> imageVerify(String sessionId, io.vertx.core.json.JsonObject params, Function<io.vertx.core.json.JsonObject,io.vertx.core.Future<T>> executor)
-
jwtToken
public static io.vertx.core.json.JsonObject jwtToken(io.vertx.core.json.JsonObject data)
-
jwtToken
public static io.vertx.core.Future<Boolean> jwtToken(List<OAccessToken> item, String userId)
-
jwtToken
public static OAccessToken jwtToken(io.vertx.core.json.JsonObject jwt, String userKey)
-
relation
public static <T> io.vertx.core.Future<io.vertx.core.json.JsonArray> relation(String field, String key, Class<?> daoCls)
-
composite
public static <T> io.vertx.core.Future<List<T>> composite(io.vertx.core.CompositeFuture res)
-
aclOn
public static io.vertx.core.json.JsonArray aclOn(io.vertx.core.json.JsonArray original, io.vertx.up.commune.secure.Acl acl)
-
aclRecord
public static void aclRecord(io.vertx.core.json.JsonObject record, io.vertx.up.commune.secure.Acl acl)
-
-