- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for getPrincipal (0.32 seconds)
-
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
/** * Gets the principal associated with this handle * @return the principal or null if not authenticated */ public Principal getPrincipal() { if (this instanceof DcerpcPipeHandle) { return ((DcerpcPipeHandle) this).pipe.getPrincipal(); } return null; } @Override public String toString() { return binding.toString(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java
throws AuthenticationException { return false; } @Override public Principal getPrincipal() { return null; } @Override public String generateAuthResponse(final HttpHost host, final HttpRequest request, final HttpContext context) throws AuthenticationException {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
final SID[] sids = new SID[rpc.sids.num_sids]; final String origin_server = handle.getServer(); final NtlmPasswordAuthentication origin_auth = (NtlmPasswordAuthentication) handle.getPrincipal(); for (int i = 0; i < sids.length; i++) { sids[i] = new SID(rpc.sids.sids[i].sid, 0, null, null, false); sids[i].origin_server = origin_server;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* * @see java.lang.Object#toString() */ @Override public String toString() { return "Kerb5Authenticator[subject=" + (this.getSubject() != null ? this.getSubject().getPrincipals() : null) + ",user=" + this.user + ",realm=" + this.realm + "]"; } private SpnegoContext createContext(CIFSContext tc, String targetDomain, String host) throws GSSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
void getUserDomain_fromSubjectPrincipal() { Subject subject = new Subject(); Principal kp = new KerberosPrincipal("******@****.***"); subject.getPrincipals().add(kp); Kerb5Authenticator auth = new Kerb5Authenticator(subject); assertEquals("EXAMPLE.COM", auth.getUserDomain()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
.lookupPrincipalByName(getUsername()); ImmutableList<AclEntry> acl = ImmutableList.of( AclEntry.newBuilder() .setType(ALLOW) .setPrincipal(user) .setPermissions(EnumSet.allOf(AclEntryPermission.class)) .setFlags(DIRECTORY_INHERIT, FILE_INHERIT) .build());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0)