Alluxio LoginContext created with incorrect ClassLoader

Description

In LoginUser, when LoginContext is created, LoginContext saves the thread's context class loader, and uses that class loader to instantiate LoginModules.

The thread context class loader may be different from the class loader for User.class, so when User.class is being searched for via reflection, it doesn't find any users.

The exception stack typically looks like:

Environment

None

Assignee

Gene Pang

Reporter

Gene Pang

Labels

Components

Fix versions

Affects versions

Priority

Major
Configure