org.talend.esb.locator.server.auth
Class SLAuthenticationProvider

java.lang.Object
  extended by org.talend.esb.locator.server.auth.SLAuthenticationProvider
All Implemented Interfaces:
org.apache.zookeeper.server.auth.AuthenticationProvider

public class SLAuthenticationProvider
extends Object
implements org.apache.zookeeper.server.auth.AuthenticationProvider


Field Summary
static String SL_ADMIN
           
static String SL_MAINTAIN
           
static String SL_READ
           
 
Constructor Summary
SLAuthenticationProvider()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SL_READ

public static final String SL_READ
See Also:
Constant Field Values

SL_MAINTAIN

public static final String SL_MAINTAIN
See Also:
Constant Field Values

SL_ADMIN

public static final String SL_ADMIN
See Also:
Constant Field Values
Constructor Detail

SLAuthenticationProvider

public SLAuthenticationProvider()
Method Detail

getScheme

public String getScheme()
Specified by:
getScheme in interface org.apache.zookeeper.server.auth.AuthenticationProvider

handleAuthentication

public org.apache.zookeeper.KeeperException.Code handleAuthentication(org.apache.zookeeper.server.ServerCnxn cnxn,
                                                                      byte[] authData)
Specified by:
handleAuthentication in interface org.apache.zookeeper.server.auth.AuthenticationProvider

matches

public boolean matches(String id,
                       String aclExpr)
Specified by:
matches in interface org.apache.zookeeper.server.auth.AuthenticationProvider

isAuthenticated

public boolean isAuthenticated()
Specified by:
isAuthenticated in interface org.apache.zookeeper.server.auth.AuthenticationProvider

isValid

public boolean isValid(String id)
Specified by:
isValid in interface org.apache.zookeeper.server.auth.AuthenticationProvider


Copyright © 2011-2013 Talend Inc.. All Rights Reserved.