public class SLAuthenticationProvider extends Object implements org.apache.zookeeper.server.auth.AuthenticationProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
SL_ADMIN |
static String |
SL_MAINTAIN |
static String |
SL_READ |
| Constructor and Description |
|---|
SLAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getScheme() |
org.apache.zookeeper.KeeperException.Code |
handleAuthentication(org.apache.zookeeper.server.ServerCnxn cnxn,
byte[] authData) |
boolean |
isAuthenticated() |
boolean |
isValid(String id) |
boolean |
matches(String id,
String aclExpr) |
public static final String SL_READ
public static final String SL_MAINTAIN
public static final String SL_ADMIN
public String getScheme()
getScheme in interface org.apache.zookeeper.server.auth.AuthenticationProviderpublic org.apache.zookeeper.KeeperException.Code handleAuthentication(org.apache.zookeeper.server.ServerCnxn cnxn,
byte[] authData)
handleAuthentication in interface org.apache.zookeeper.server.auth.AuthenticationProviderpublic boolean matches(String id, String aclExpr)
matches in interface org.apache.zookeeper.server.auth.AuthenticationProviderpublic boolean isAuthenticated()
isAuthenticated in interface org.apache.zookeeper.server.auth.AuthenticationProviderpublic boolean isValid(String id)
isValid in interface org.apache.zookeeper.server.auth.AuthenticationProviderCopyright © 2011–2018 Talend Inc.. All rights reserved.