static public void resolveSids(String authorityServerName, NtlmPasswordAuthentication auth, SID[] sids, int offset, int length) throws IOException { ArrayList list = new ArrayList(sids.length); int si; synchronized (sid_cache) { for (si = 0; si < length; si++) { SID sid = (SID)sid_cache.get(sids[offset + si]); if (sid != null) { sids[offset + si].type = sid.type; sids[offset + si].domainName = sid.domainName; sids[offset + si].acctName = sid.acctName; } else { list.add(sids[offset + si]); } } if (list.size() > 0) { sids = (SID[])list.toArray(new SID[0]); SID.resolveSids0(authorityServerName, auth, sids); for (si = 0; si < sids.length; si++) { sid_cache.put(sids[si], sids[si]); } } } } /**
static public void resolveSids(String authorityServerName, NtlmPasswordAuthentication auth, SID[] sids, int offset, int length) throws IOException { ArrayList list = new ArrayList(sids.length); int si; for (si = 0; si < length; si++) { SID sid = (SID)sid_cache.get(sids[offset + si]); if (sid != null) { sids[offset + si].type = sid.type; sids[offset + si].domainName = sid.domainName; sids[offset + si].acctName = sid.acctName; } else { list.add(sids[offset + si]); } } if (list.size() > 0) { sids = (SID[])list.toArray(new SID[0]); SID.resolveSids0(authorityServerName, auth, sids); for (si = 0; si < sids.length; si++) { sid_cache.put(sids[si], sids[si]); } } } /**
static public void resolveSids(String authorityServerName, NtlmPasswordAuthentication auth, SID[] sids, int offset, int length) throws IOException { ArrayList list = new ArrayList(sids.length); int si; synchronized (sid_cache) { for (si = 0; si < length; si++) { SID sid = (SID)sid_cache.get(sids[offset + si]); if (sid != null) { sids[offset + si].type = sid.type; sids[offset + si].domainName = sid.domainName; sids[offset + si].acctName = sid.acctName; } else { list.add(sids[offset + si]); } } if (list.size() > 0) { sids = (SID[])list.toArray(new SID[0]); SID.resolveSids0(authorityServerName, auth, sids); for (si = 0; si < sids.length; si++) { sid_cache.put(sids[si], sids[si]); } } } } /**
static public void resolveSids(String authorityServerName, NtlmPasswordAuthentication auth, SID[] sids, int offset, int length) throws IOException { ArrayList list = new ArrayList(sids.length); int si; synchronized (sid_cache) { for (si = 0; si < length; si++) { SID sid = (SID)sid_cache.get(sids[offset + si]); if (sid != null) { sids[offset + si].type = sid.type; sids[offset + si].domainName = sid.domainName; sids[offset + si].acctName = sid.acctName; } else { list.add(sids[offset + si]); } } if (list.size() > 0) { sids = (SID[])list.toArray(new SID[0]); SID.resolveSids0(authorityServerName, auth, sids); for (si = 0; si < sids.length; si++) { sid_cache.put(sids[si], sids[si]); } } } } /**
SID.resolveSids0(authorityServerName, auth, sids); for (si = 0; si < sids.length; si++) { sid_cache.put(sids[si], sids[si]);
SID.resolveSids0(authorityServerName, auth, sids); for (si = 0; si < sids.length; si++) { sid_cache.put(sids[si], sids[si]);
SID.resolveSids0(authorityServerName, auth, sids); for (si = 0; si < sids.length; si++) { sid_cache.put(sids[si], sids[si]);
SID.resolveSids0(authorityServerName, auth, sids); for (si = 0; si < sids.length; si++) { sid_cache.put(sids[si], sids[si]);