public class DefaultAuthenticatorCleanUp extends Object implements ClassLoaderPreMortemCleanUp
Authenticator (in case current one is loaded by protected ClassLoader).
Includes special workaround for CXF issue https://issues.apache.org/jira/browse/CXF-5442| Constructor and Description |
|---|
DefaultAuthenticatorCleanUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp(ClassLoaderLeakPreventor preventor)
Perform cleanup actions needed to make provided
ClassLoaderLeakPreventor.classLoader
ready for garbage collection. |
protected Authenticator |
getDefaultAuthenticator(ClassLoaderLeakPreventor preventor)
Find default
Authenticator |
protected void |
removeWrappedAuthenticators(ClassLoaderLeakPreventor preventor,
Authenticator authenticator)
Recursively removed wrapped
Authenticator loaded in protected ClassLoader. |
public void cleanUp(ClassLoaderLeakPreventor preventor)
ClassLoaderPreMortemCleanUpClassLoaderLeakPreventor.classLoader
ready for garbage collection.cleanUp in interface ClassLoaderPreMortemCleanUpprotected Authenticator getDefaultAuthenticator(ClassLoaderLeakPreventor preventor)
Authenticatorprotected void removeWrappedAuthenticators(ClassLoaderLeakPreventor preventor, Authenticator authenticator)
Authenticator loaded in protected ClassLoader.
May be needed in case there are multiple CXF applications within the same container.Copyright © 2019. All rights reserved.