- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for jwtclaim (0.13 sec)
-
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
final String jwtClaim = new String(decodeBase64(jwt[1]), Constants.UTF_8_CHARSET); final String jwtSigniture = new String(decodeBase64(jwt[2]), Constants.UTF_8_CHARSET); if (logger.isDebugEnabled()) { logger.debug("jwtHeader: {}", jwtHeader); logger.debug("jwtClaim: {}", jwtClaim); logger.debug("jwtSigniture: {}", jwtSigniture);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java
final Map<String, Object> attributes = new HashMap<>(); String jwtClaim = "{\"email\":\"******@****.***\",\"sub\":\"1234567890\",\"name\":\"John Doe\",\"groups\":[\"group1\",\"group2\"]}"; // Execute authenticator.parseJwtClaim(jwtClaim, attributes); // Verify assertEquals("1234567890", attributes.get("sub"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2K bytes - Viewed (0) -
cmd/iam.go
// parentUser by extracting JWT claims var ( jwtClaims *jwt.MapClaims err error ) if cred.SessionToken == "" { continue } if cred.IsServiceAccount() { jwtClaims, err = auth.ExtractClaims(cred.SessionToken, cred.SecretKey) if err != nil { jwtClaims, err = auth.ExtractClaims(cred.SessionToken, globalActiveCred.SecretKey) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0) -
cmd/iam-etcd-store.go
deleteKeyEtcd(ctx, ies.client, getMappedPolicyPath(user, userType, false)) return nil } if u.Credentials.AccessKey == "" { u.Credentials.AccessKey = user } if u.Credentials.SessionToken != "" { jwtClaims, err := extractJWTClaims(u) if err != nil { if u.Credentials.IsTemp() { // We should delete such that the client can re-request // for the expiring credentials.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (0) -
cmd/auth-handler.go
} // Fetch claims in the security token returned by the client. func getClaimsFromToken(token string) (map[string]any, error) { jwtClaims, err := getClaimsFromTokenWithSecret(token, globalActiveCred.SecretKey) if err != nil { return nil, err } return jwtClaims.Map(), nil } // Fetch claims in the security token returned by the client and validate the token.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
cmd/iam-object-store.go
return u, errNoSuchUser } if u.Credentials.AccessKey == "" { u.Credentials.AccessKey = user } if u.Credentials.SessionToken != "" { jwtClaims, err := extractJWTClaims(u) if err != nil { if u.Credentials.IsTemp() { // We should delete such that the client can re-request // for the expiring credentials.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 26.6K bytes - Viewed (0) -
cmd/iam-store.go
} func (c *iamCache) updateUserWithClaims(key string, u UserIdentity) error { if u.Credentials.SessionToken != "" { jwtClaims, err := extractJWTClaims(u) if err != nil { return err } u.Credentials.Claims = jwtClaims.Map() } if u.Credentials.IsTemp() && !u.Credentials.IsServiceAccount() { c.iamSTSAccountsMap[key] = u } else { c.iamUsersMap[key] = u }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 86.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 28 09:13:08 UTC 2025 - 37.3K bytes - Viewed (0)