Uses of Class
org.apache.zookeeper.data.Id
Packages that use Id
Package
Description
ZooKeeper server theory of operation
-
Uses of Id in org.apache.zookeeper
Fields in org.apache.zookeeper declared as IdModifier and TypeFieldDescriptionstatic final Id
ZooDefs.Ids.ANYONE_ID_UNSAFE
This Id represents anyone.static final Id
ZooDefs.Ids.AUTH_IDS
This Id is only usable to set ACLs. -
Uses of Id in org.apache.zookeeper.data
Methods in org.apache.zookeeper.data that return IdMethods in org.apache.zookeeper.data with parameters of type IdConstructors in org.apache.zookeeper.data with parameters of type Id -
Uses of Id in org.apache.zookeeper.server
Fields in org.apache.zookeeper.server with type parameters of type IdMethods in org.apache.zookeeper.server that return types with arguments of type IdModifier and TypeMethodDescriptionServerCnxn.getAuthInfo()
auth info for the cnxn, returns an unmodifyable listMethods in org.apache.zookeeper.server with parameters of type IdModifier and TypeMethodDescriptionvoid
ServerCnxn.addAuthInfo
(Id id) boolean
ServerCnxn.removeAuthInfo
(Id id) Method parameters in org.apache.zookeeper.server with type arguments of type IdModifier and TypeMethodDescriptionThis method checks out the acl making sure it isn't null or empty, it has valid schemes and ids, and expanding any relative ids that depend on the requestor's authentication information.Constructor parameters in org.apache.zookeeper.server with type arguments of type IdModifierConstructorDescriptionRequest
(ServerCnxn cnxn, long sessionId, int xid, int type, ByteBuffer bb, List<Id> authInfo) -
Uses of Id in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum that return types with arguments of type IdMethod parameters in org.apache.zookeeper.server.quorum with type arguments of type IdConstructor parameters in org.apache.zookeeper.server.quorum with type arguments of type IdModifierConstructorDescriptionLearnerSyncRequest
(LearnerHandler fh, long sessionId, int xid, int type, ByteBuffer bb, List<Id> authInfo) QuorumPacket
(int type, long zxid, byte[] data, List<Id> authinfo) -
Uses of Id in org.apache.zookeeper.server.util
Methods in org.apache.zookeeper.server.util with parameters of type IdMethod parameters in org.apache.zookeeper.server.util with type arguments of type IdModifier and TypeMethodDescriptionstatic List<ClientInfo>
AuthUtil.getClientInfos
(List<Id> authInfo) Gets user from id to prepare ClientInfo.static String
Returns a formatted, comma-separated list of the user IDs held inauthInfo
, ornull
if no user IDs were found.