- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for toDisplayString (0.08 sec)
-
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
// Test SID that throws exception in toDisplayString SID exceptionSID = new SID() { @Override public SID getDomainSid() { return null; } @Override public int getRid() { return 0; } @Override public String toDisplayString() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
assertEquals("MYDOMAIN\\MyAlias", sid.toDisplayString()); SID domainSid = new SID(rpcSid, SID.SID_TYPE_DOMAIN, "MYDOMAIN", null, true); assertEquals("MYDOMAIN", domainSid.toDisplayString()); SID builtinSid = new SID(rpcSid, SID.SID_TYPE_WKN_GRP, "BUILTIN", "Administrators", false); assertEquals("Administrators", builtinSid.toDisplayString()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
assertEquals("MYDOM", user.getDomainName()); assertEquals("alice", user.getAccountName()); assertEquals("MYDOM\\alice", user.toDisplayString()); } @Test @DisplayName("toDisplayString for BUILTIN and well-known group cases") void testDisplayStringBuiltinAndWkn() { byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 }; // Well-known group
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/SID.java
* <p> * Consider the following output of <code>examples/SidLookup.java</code>: * * <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2 * getTypeText: Domain group * getDomainName: WNET * getAccountName: Domain Admins * </pre> */ public interface SID { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SambaHelper.java
public String getAccountId(final SID sid) { final int type = sid.getType(); if (logger.isDebugEnabled()) { try { logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString()); } catch (final Exception e) { // ignore } } final Integer id = fessConfig.getAvailableSmbSidType(type); if (id != null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
*/ @Override public String toString() { final StringBuffer sb = new StringBuffer(); sb.append(isAllow() ? "Allow " : "Deny "); appendCol(sb, this.sid.toDisplayString(), 25); sb.append(" 0x").append(Hexdump.toHexString(this.access, 8)).append(' '); sb.append(isInherited() ? "Inherited " : "Direct "); appendCol(sb, getApplyToText(), 34);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
* such as {@code Administrators} or {@code MYDOM\alice}. * <p> * Consider the following output of {@code examples/SidLookup.java}: * * <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2 * getTypeText: Domain group * getDomainName: WNET * getAccountName: Domain Admins * </pre> * * * <p>This section is intended for internal use.</p>
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/jcifs/SidResolver.java
* authority. * @param sids * The SIDs that should be resolved. After this function is called, the names associated with the SIDs * may be queried with the <code>toDisplayString</code>, <code>getDomainName</code>, and <code>getAccountName</code> * methods. * @throws CIFSException if there is an error resolving the SIDs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* such as {@code Administrators} or {@code MYDOM\alice}. * <p> * Consider the following output of {@code examples/SidLookup.java}: * <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2 * getTypeText: Domain group * getDomainName: WNET * getAccountName: Domain Admins * </pre> */ public class SID extends rpc.sid_t { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
final int count, i; final String str; final StringBuffer sb = new StringBuffer(); sb.append(isAllow() ? "Allow " : "Deny "); appendCol(sb, sid.toDisplayString(), 25); sb.append(" 0x").append(Hexdump.toHexString(access, 8)).append(' '); sb.append(isInherited() ? "Inherited " : "Direct "); appendCol(sb, getApplyToText(), 34);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (0)