We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8141e38 commit 88b49bbCopy full SHA for 88b49bb
packages/entityanalytics_ad/data_stream/user/elasticsearch/ingest_pipeline/entity.yml
@@ -98,13 +98,13 @@ processors:
98
}
99
String sid(String text) {
100
def bytes = Base64.getDecoder().decode(text);
101
- int subauths = Byte.toUnsignedInt(bytes[1]);
102
def uid = "S-"+Byte.toString(bytes[0])+"-";
103
int auth = 0;
104
for (int i = 2; i < 8; i++) {
105
auth |= Byte.toUnsignedInt(bytes[i])<<(8*(5-(i-2)));
106
107
uid += Integer.toString(auth);
+ int subauths = Byte.toUnsignedInt(bytes[1]);
108
int off = 8;
109
for (int i = 0; i < subauths; i++) {
110
int subauth = 0;
0 commit comments