congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
BasicAuthHttpListenerWrapper
Code IndexAdd Tabnine to your IDE (free)

How to use
BasicAuthHttpListenerWrapper
in
org.apache.openejb.server.httpd

Best Java code snippets using org.apache.openejb.server.httpd.BasicAuthHttpListenerWrapper (Showing top 6 results out of 315)

origin: org.apache.openejb/openejb-webservices

httpListener = new BasicAuthHttpListenerWrapper(httpListener, realmName);
origin: org.apache.openejb/openejb-rest

private void undeployRestObject(final String context) {
  HttpListener listener = rsRegistry.removeListener(context);
  if (listener != null) {
    if (BasicAuthHttpListenerWrapper.class.isInstance(listener)) {
      listener = BasicAuthHttpListenerWrapper.class.cast(listener).getHttpListener();
    }
    checkUndeploy(listener);
  }
}
origin: org.apache.openejb/openejb-http

      final SecurityService securityService = getSecurityService();
      token = securityService.login(realmName, username, password);
      if (token != null) {
getSecurityService().disassociate();
origin: org.apache.tomee/openejb-http

    final SecurityService securityService = getSecurityService();
    token = securityService.login(realmName, username, password);
    if (token != null) {
final SecurityService securityService = getSecurityService();
final Object disassociate = securityService.disassociate();
if (disassociate != null) {
origin: org.apache.tomee/openejb-webservices

httpListener = new BasicAuthHttpListenerWrapper(httpListener, realmName);
origin: org.apache.openejb/openejb-rest

@Override
public AddressInfo createRsHttpListener(final String webContext, final HttpListener listener, final ClassLoader classLoader, final String path, final String virtualHost, final String auth, final String realm) {
  final String address = HttpUtil.selectSingleAddress(getResolvedAddresses(path));
  if ("BASIC".equals(auth)) { // important to wrap with basic wrapper before classloader wrapping
    addWrappedHttpListener(new BasicAuthHttpListenerWrapper(listener, realm), classLoader, path);
  } else {
    addWrappedHttpListener(listener, classLoader, path);
  }
  addresses.put(address, path);
  return new AddressInfo(address, address);
}
org.apache.openejb.server.httpdBasicAuthHttpListenerWrapper

Most used methods

  • <init>
  • getSecurityService
  • getHttpListener

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • getResourceAsStream (ClassLoader)
  • getSystemService (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • BoxLayout (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now