Class NestedBucketBuffer
- java.lang.Object
-
- org.dcache.xrootd.plugins.authn.gsi.GSIBucket
-
- org.dcache.xrootd.plugins.authn.gsi.NestedBucketBuffer
-
public class NestedBucketBuffer extends GSIBucket
Format of a NestedBucketBuffer: - int32 BucketType (usually kXRS_main) - int32 len - char[4] protocol (\0 padded) - int32 step (e.g. kXGS_cert) -- int32 BucketType (first nested bucket) -- int32 len -- byte[len] bucket-content -- int32 kXRS_none -- int32 BucketType (second nested bucket) ... - kXRS_none- Author:
- radicke, tzangerl
- See Also:
GSIBucket
-
-
Constructor Summary
Constructors Constructor Description NestedBucketBuffer(XrootdSecurityProtocol.BucketType type, java.lang.String protocol, int step, java.util.Map<XrootdSecurityProtocol.BucketType,GSIBucket> nestedBuckets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdump(java.lang.StringBuilder builder, java.lang.String step, int number)This usually will be called only if trace is enabled.java.util.Map<XrootdSecurityProtocol.BucketType,GSIBucket>getNestedBuckets()java.lang.StringgetProtocol()intgetSize()intgetStep()voidserialize(io.netty.buffer.ByteBuf out)java.lang.StringtoString()
-
-
-
Constructor Detail
-
NestedBucketBuffer
public NestedBucketBuffer(XrootdSecurityProtocol.BucketType type, java.lang.String protocol, int step, java.util.Map<XrootdSecurityProtocol.BucketType,GSIBucket> nestedBuckets)
-
-
Method Detail
-
dump
public int dump(java.lang.StringBuilder builder, java.lang.String step, int number)Description copied from class:GSIBucketThis usually will be called only if trace is enabled. We here imitate the XrootD XrdSutBuffer DUMP printout.
-
getNestedBuckets
public java.util.Map<XrootdSecurityProtocol.BucketType,GSIBucket> getNestedBuckets()
- Returns:
- the list of XrootdBuckets nested in this buffer
-
getStep
public int getStep()
-
getProtocol
public java.lang.String getProtocol()
-
serialize
public void serialize(io.netty.buffer.ByteBuf out)
-
getSize
public int getSize()
-
-