Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getPrincipal (0.09 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

            if (this instanceof DcerpcPipeHandle)
                return ((DcerpcPipeHandle)this).pipe.getServer();
            return null;
        }
        public Principal getPrincipal() {
            if (this instanceof DcerpcPipeHandle)
                return ((DcerpcPipeHandle)this).pipe.getPrincipal();
            return null;
        }
        public String toString() {
            return binding.toString();
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            if (type == SID.SID_TYPE_DOM_GRP || type == SID.SID_TYPE_ALIAS) {
                try {
                    final SID[] children = sid.getGroupMemberSids(file.getServer(), (NtlmPasswordAuthentication) file.getPrincipal(),
                            SID.SID_FLAG_RESOLVE_SIDS);
                    for (final SID child : children) {
                        if (!sidSet.contains(child)) {
                            processAllowedSIDs(file, child, sidSet);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

                SID[] sids = new SID[rpc.sids.num_sids];
    
                String origin_server = handle.getServer();
                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,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * username for example:
     * <tt>
     * String username = f.getPrincipal().getName();
     * </tt>
     * The <tt>Principal</tt> object returned will never be <tt>null</tt>
     * however the username can be <tt>null</tt> indication anonymous
     * credentials were used (e.g. some IPC$ services).
     */
    
        public Principal getPrincipal() {
            return auth;
        }
    
    /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Kerb5Authenticator.java

         *
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString () {
            return "Kerb5Authenticatior[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 {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/JAASAuthenticator.java

    	    }
                lc.login();
    
                Subject s = lc.getSubject();
                if ( log.isDebugEnabled() ) {
                    log.debug("Got subject: " + s.getPrincipals());
                }
                if ( log.isTraceEnabled() ) {
                    log.trace("Got subject " + s);
                }
    
                this.cachedSubject = s;
                return this.cachedSubject;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  7. 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());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top