- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for LdapUser (0.06 sec)
-
src/main/java/org/codelibs/fess/ldap/LdapUser.java
import org.codelibs.fess.util.ComponentUtil; import org.dbflute.optional.OptionalThing; public class LdapUser implements FessUser { private static final long serialVersionUID = 1L; protected Hashtable<String, String> env; protected String name; protected String[] permissions = null; public LdapUser(final Hashtable<String, String> env, final String name) { this.env = env; this.name = name;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.7K bytes - Viewed (0) -
docs/distributed/samples/myminio-iam-info.zip
nt":"uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io","accessKey":"bobfisher-svcacct-1","secretKey":"bobfisher-svcacct-1","groups":null,"claims":{"accessKey":"bobfisher-svcacct-1","ldapActualUser":"uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io","ldapUser":"uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io","ldapUsername":"bobfisher","parent":"uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io","sa-policy":"inherited-policy"},"sessionPolicy":null,"status":"on","name":"","description":"","expiration":"19...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 15:59:00 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
}); LdapManager ldapManager = new LdapManager(); ldapManager.fessConfig = ComponentUtil.getFessConfig(); final List<String> permissionList = new ArrayList<>(); LdapUser user = new LdapUser(new Hashtable<>(), "test") { @Override public String[] getPermissions() { return permissionList.toArray(n -> new String[n]); } };
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
try (DirContextHolder holder = getDirContext(() -> env)) { final DirContext context = holder.get(); final LdapUser ldapUser = createLdapUser(username, env); if (!allowEmptyGroupAndRole(ldapUser)) { if (logger.isDebugEnabled()) { logger.debug("Login failed. No permissions. {}", context); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 65.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
if (!fessConfig.isAdminUser(username)) { final OptionalEntity<FessUser> ldapUser = ComponentUtil.getLdapManager().login(username, password); if (ldapUser.isPresent()) { return ldapUser; } } return doFindLoginUser(username, encryptPassword(password)); });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.8K bytes - Viewed (0) -
cmd/ftp-server-driver.go
if err != nil { return nil, err } claims := make(map[string]interface{}) claims[expClaim] = UTCNow().Add(expiryDur).Unix() claims[ldapUser] = lookupResult.NormDN claims[ldapActualUser] = lookupResult.ActualDN claims[ldapUserN] = ctx.Sess.LoginUser() // Add LDAP attributes that were looked up into the claims.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14K bytes - Viewed (0) -
cmd/sts-handlers.go
// JWT claim keys expClaim = "exp" subClaim = "sub" audClaim = "aud" issClaim = "iss" // JWT claim to check the parent user parentClaim = "parent" // LDAP claim keys ldapUser = "ldapUser" // this is a key name for a normalized DN value ldapActualUser = "ldapActualUser" // this is a key name for the actual DN value ldapUserN = "ldapUsername" // this is a key name for the short/login username
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 01:29:20 UTC 2024 - 33.9K bytes - Viewed (0) -
cmd/sftp-server.go
} expiryDur, err := globalIAMSys.LDAPConfig.GetExpiryDuration("") if err != nil { return nil, err } claims[expClaim] = UTCNow().Add(expiryDur).Unix() claims[ldapUserN] = user claims[ldapUser] = lookupResult.NormDN cred, err := auth.GetNewCredentialsWithMetadata(claims, globalActiveCred.SecretKey) if err != nil { return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0) -
cmd/admin-handlers-idp-ldap.go
} } writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } targetUser = lookupResult.NormDN opts.claims[ldapUser] = targetUser // DN opts.claims[ldapActualUser] = lookupResult.ActualDN // Check if this user or their groups have a policy applied. ldapPolicies, err := globalIAMSys.PolicyDBGet(targetUser, targetGroups...)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 21 11:35:40 UTC 2024 - 19.1K bytes - Viewed (0) -
cmd/site-replication.go
} // Extract the username and lookup DN and groups in LDAP. ldapUser, isLDAPSTS := claims.Lookup(ldapUserN) if isLDAPSTS { // Need to lookup the groups from LDAP. _, ldapGroups, err := globalIAMSys.LDAPConfig.LookupUserDN(ldapUser) if err != nil { return fmt.Errorf("unable to query LDAP server for %s: %w", ldapUser, err) } cred.Groups = ldapGroups }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0)