test_class.file: common/src/test/java/org/apache/ivory/security/CurrentUserTest.java
test_class.identifier: CurrentUserTest
test_case.body: @Test(threadPoolSize = 10, invocationCount = 10,  timeOut = 10000)
      public void testGetUser() throws Exception {
          String id = Long.toString(System.nanoTime());
          CurrentUser.authenticate(id);
          Assert.assertEquals(CurrentUser.getUser(), id);
      }
test_case.class_method_signature: CurrentUserTest.testGetUser()
test_case.full_signature: @Test(threadPoolSize = 10, invocationCount = 10, timeOut = 10000) public void testGetUser()
test_case.identifier: testGetUser
test_case.invocations: toString nanoTime authenticate assertEquals getUser
test_case.modifiers: @Test(threadPoolSize = 10, invocationCount = 10, timeOut = 10000) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetUser()
focal_class.declarator: LOG = Logger.getLogger(CurrentUser.class)
focal_class.modifier: private static
focal_class.original_string: private static Logger LOG = Logger.getLogger(CurrentUser.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: instance = new CurrentUser()
focal_class.modifier: private static final
focal_class.original_string: private static final CurrentUser instance = new CurrentUser();
focal_class.type: CurrentUser
focal_class.var_name: instance
focal_class.declarator: currentSubject =
              new ThreadLocal<Subject>()
focal_class.modifier: private final
focal_class.original_string: private final ThreadLocal<Subject> currentSubject =
              new ThreadLocal<Subject>();
focal_class.type: ThreadLocal<Subject>
focal_class.var_name: currentSubject
focal_class.file: common/src/main/java/org/apache/ivory/security/CurrentUser.java
focal_class.identifier: CurrentUser
focal_class.class_method_signature: CurrentUser.get()
focal_class.full_signature: public static CurrentUser get()
focal_class.identifier: get
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: CurrentUser
focal_class.signature: CurrentUser get()
focal_class.class_method_signature: CurrentUser.authenticate(String user)
focal_class.full_signature: public static void authenticate(String user)
focal_class.identifier: authenticate
focal_class.modifiers: public static
focal_class.parameters: (String user)
focal_class.return: void
focal_class.signature: void authenticate(String user)
focal_class.class_method_signature: CurrentUser.getSubject()
focal_class.full_signature: public static Subject getSubject()
focal_class.identifier: getSubject
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Subject
focal_class.signature: Subject getSubject()
focal_class.class_method_signature: CurrentUser.getUser()
focal_class.full_signature: public static String getUser()
focal_class.identifier: getUser
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUser()
focal_class.class_method_signature: CurrentUser.getUserInternal()
focal_class.full_signature: private static String getUserInternal()
focal_class.identifier: getUserInternal
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUserInternal()
focal_method.body: public static String getUser() {
          String user = getUserInternal();
          if (user == null) {
              throw new IllegalStateException("No user logged into the system");
          } else {
              return user;
          }
      }
focal_method.class_method_signature: CurrentUser.getUser()
focal_method.full_signature: public static String getUser()
focal_method.identifier: getUser
focal_method.invocations: getUserInternal
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getUser()