Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for jwtclaim (0.05 sec)

  1. 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: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top