Search in sources :

Example 1 with ReadOnlySecurityModule

use of com.facebook.presto.plugin.base.security.ReadOnlySecurityModule in project presto by prestodb.

the class HiveSecurityModule method setup.

@Override
protected void setup(Binder binder) {
    bindSecurityModule("legacy", new LegacySecurityModule());
    bindSecurityModule("file", new FileBasedAccessControlModule());
    bindSecurityModule("read-only", new ReadOnlySecurityModule());
    bindSecurityModule("sql-standard", new SqlStandardSecurityModule());
}
Also used : FileBasedAccessControlModule(com.facebook.presto.plugin.base.security.FileBasedAccessControlModule) ReadOnlySecurityModule(com.facebook.presto.plugin.base.security.ReadOnlySecurityModule)

Aggregations

FileBasedAccessControlModule (com.facebook.presto.plugin.base.security.FileBasedAccessControlModule)1 ReadOnlySecurityModule (com.facebook.presto.plugin.base.security.ReadOnlySecurityModule)1