All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.up.secure.ZERO Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.up.secure;

import io.vertx.tp.plugin.mongo.MongoWall;
import io.vertx.up.atom.secure.Cliff;
import io.vertx.up.eon.em.WallType;
import io.vertx.up.secure.jwt.JwtWall;
import io.vertx.up.uca.marshal.Transformer;
import io.vertx.up.util.Ut;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

interface Wall {

    String TYPE = "type";
}

interface Pool {
    ConcurrentMap>
            WALL_TRANSFORMER = new ConcurrentHashMap>() {
        {
            put(WallType.MONGO, Ut.singleton(MongoWall.class));
            put(WallType.JWT, Ut.singleton(JwtWall.class));
        }
    };
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy