test_class.declarator: credentialsSupport = SimpleCredentialsSupport.getInstance()
test_class.modifier: private final
test_class.original_string: private final CredentialsSupport credentialsSupport = SimpleCredentialsSupport.getInstance();
test_class.type: CredentialsSupport
test_class.var_name: credentialsSupport
test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/credentials/SimpleCredentialsSupportTest.java
test_class.identifier: SimpleCredentialsSupportTest
test_case.body: @Test
      public void testSetAttributesFalse() {
          assertFalse(credentialsSupport.setAttributes(new Credentials() {}, ImmutableMap.of("a", "value")));
      }
test_case.class_method_signature: SimpleCredentialsSupportTest.testSetAttributesFalse()
test_case.full_signature: @Test public void testSetAttributesFalse()
test_case.identifier: testSetAttributesFalse
test_case.invocations: assertFalse setAttributes of
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSetAttributesFalse()
focal_class.declarator: INSTANCE = new SimpleCredentialsSupport()
focal_class.modifier: private static final
focal_class.original_string: private static final SimpleCredentialsSupport INSTANCE = new SimpleCredentialsSupport();
focal_class.type: SimpleCredentialsSupport
focal_class.var_name: INSTANCE
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/credentials/SimpleCredentialsSupport.java
focal_class.identifier: SimpleCredentialsSupport
focal_class.interfaces: implements CredentialsSupport
focal_class.class_method_signature: SimpleCredentialsSupport.SimpleCredentialsSupport()
focal_class.full_signature: private  SimpleCredentialsSupport()
focal_class.identifier: SimpleCredentialsSupport
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  SimpleCredentialsSupport()
focal_class.class_method_signature: SimpleCredentialsSupport.getInstance()
focal_class.full_signature: public static CredentialsSupport getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: CredentialsSupport
focal_class.signature: CredentialsSupport getInstance()
focal_class.class_method_signature: SimpleCredentialsSupport.getCredentialClasses()
focal_class.full_signature: @Override @NotNull public Set<Class> getCredentialClasses()
focal_class.identifier: getCredentialClasses
focal_class.modifiers: @Override @NotNull public
focal_class.parameters: ()
focal_class.return: Set<Class>
focal_class.signature: Set<Class> getCredentialClasses()
focal_class.class_method_signature: SimpleCredentialsSupport.getUserId(@NotNull Credentials credentials)
focal_class.full_signature: @Override @Nullable public String getUserId(@NotNull Credentials credentials)
focal_class.identifier: getUserId
focal_class.modifiers: @Override @Nullable public
focal_class.parameters: (@NotNull Credentials credentials)
focal_class.return: String
focal_class.signature: String getUserId(@NotNull Credentials credentials)
focal_class.class_method_signature: SimpleCredentialsSupport.getAttributes(@NotNull Credentials credentials)
focal_class.full_signature: @Override @NotNull public Map<String, ?> getAttributes(@NotNull Credentials credentials)
focal_class.identifier: getAttributes
focal_class.modifiers: @Override @NotNull public
focal_class.parameters: (@NotNull Credentials credentials)
focal_class.return: Map<String, ?>
focal_class.signature: Map<String, ?> getAttributes(@NotNull Credentials credentials)
focal_class.class_method_signature: SimpleCredentialsSupport.setAttributes(@NotNull Credentials credentials, @NotNull Map<String, ?> attributes)
focal_class.full_signature: @Override public boolean setAttributes(@NotNull Credentials credentials, @NotNull Map<String, ?> attributes)
focal_class.identifier: setAttributes
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Credentials credentials, @NotNull Map<String, ?> attributes)
focal_class.return: boolean
focal_class.signature: boolean setAttributes(@NotNull Credentials credentials, @NotNull Map<String, ?> attributes)
focal_method.body: @Override
      public boolean setAttributes(@NotNull Credentials credentials, @NotNull Map<String, ?> attributes) {
          if (credentials instanceof SimpleCredentials) {
              SimpleCredentials sc = (SimpleCredentials) credentials;
              for (Map.Entry<String, ?> entry : attributes.entrySet()) {
                  sc.setAttribute(entry.getKey(), entry.getValue());
              }
              return true;
          } else {
              return false;
          }
      }
focal_method.class_method_signature: SimpleCredentialsSupport.setAttributes(@NotNull Credentials credentials, @NotNull Map<String, ?> attributes)
focal_method.full_signature: @Override public boolean setAttributes(@NotNull Credentials credentials, @NotNull Map<String, ?> attributes)
focal_method.identifier: setAttributes
focal_method.invocations: entrySet setAttribute getKey getValue
focal_method.modifiers: @Override public
focal_method.parameters: (@NotNull Credentials credentials, @NotNull Map<String, ?> attributes)
focal_method.return: boolean
focal_method.signature: boolean setAttributes(@NotNull Credentials credentials, @NotNull Map<String, ?> attributes)