SecureClassLoaderRepositorypublic final class SecureClassLoaderRepository extends Object implements ClassLoaderRepositoryFix security hole in ClassLoaderRepository. This class wraps
the actual ClassLoaderRepository implementation so that
only the methods from {@link javax.management.loading.ClassLoaderRepository}
can be accessed (read-only). |
Fields Summary |
---|
private final ClassLoaderRepository | clr |
Constructors Summary |
---|
public SecureClassLoaderRepository(ClassLoaderRepository clr)Creates a new secure ClassLoaderRepository wrapping an
unsecure implementation.
this.clr=clr;
|
|