org.apache.catalina.authenticator.AuthenticatorBase.startInternal()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(8.2k)|赞(0)|评价(0)|浏览(722)

本文整理了Java中org.apache.catalina.authenticator.AuthenticatorBase.startInternal()方法的一些代码示例,展示了AuthenticatorBase.startInternal()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AuthenticatorBase.startInternal()方法的具体详情如下:
包路径:org.apache.catalina.authenticator.AuthenticatorBase
类名称:AuthenticatorBase
方法名:startInternal

AuthenticatorBase.startInternal介绍

[英]Start this component and implement the requirements of org.apache.catalina.util.LifecycleBase#startInternal().
[中]启动此组件并实现组织的需求。阿帕奇。卡塔琳娜。util。生命周期数据库#startInternal()。

代码示例

代码示例来源:origin: Waffle/waffle

/**
 * Hook to the start and to set up the dependencies.
 *
 * @throws LifecycleException
 *             the lifecycle exception
 */
@Override
public void startInternal() throws LifecycleException {
  this.log.debug("Creating a windows authentication provider with continueContextsTimeout property set to: {}",
      this.continueContextsTimeout);
  this.auth = new WindowsAuthProviderImpl(this.continueContextsTimeout);
  super.startInternal();
}

代码示例来源:origin: Waffle/waffle

/**
 * Hook to the start and to set up the dependencies.
 *
 * @throws LifecycleException
 *             the lifecycle exception
 */
@Override
protected synchronized void startInternal() throws LifecycleException {
  this.log.debug("Creating a windows authentication provider with continueContextsTimeout property set to: {}",
      this.continueContextsTimeout);
  this.auth = new WindowsAuthProviderImpl(this.continueContextsTimeout);
  super.startInternal();
}

代码示例来源:origin: Waffle/waffle

/**
 * Hook to the start and to set up the dependencies.
 *
 * @throws LifecycleException
 *             the lifecycle exception
 */
@Override
public void startInternal() throws LifecycleException {
  this.log.debug("Creating a windows authentication provider with continueContextsTimeout property set to: {}",
      this.continueContextsTimeout);
  this.auth = new WindowsAuthProviderImpl(this.continueContextsTimeout);
  super.startInternal();
}

代码示例来源:origin: Waffle/waffle

/**
 * Hook to the start and to set up the dependencies.
 *
 * @throws LifecycleException
 *             the lifecycle exception
 */
@Override
protected synchronized void startInternal() throws LifecycleException {
  this.log.debug("Creating a windows authentication provider with continueContextsTimeout property set to: {}",
      this.continueContextsTimeout);
  this.auth = new WindowsAuthProviderImpl(this.continueContextsTimeout);
  super.startInternal();
}

代码示例来源:origin: com.github.waffle/waffle-tomcat9

/**
 * Hook to the start and to set up the dependencies.
 *
 * @throws LifecycleException
 *             the lifecycle exception
 */
@Override
public void startInternal() throws LifecycleException {
  this.log.debug("Creating a windows authentication provider with continueContextsTimeout property set to: {}",
      this.continueContextsTimeout);
  this.auth = new WindowsAuthProviderImpl(this.continueContextsTimeout);
  super.startInternal();
}

代码示例来源:origin: com.github.waffle/waffle-tomcat8

/**
 * Hook to the start and to set up the dependencies.
 *
 * @throws LifecycleException
 *             the lifecycle exception
 */
@Override
protected synchronized void startInternal() throws LifecycleException {
  this.log.debug("Creating a windows authentication provider with continueContextsTimeout property set to: {}",
      this.continueContextsTimeout);
  this.auth = new WindowsAuthProviderImpl(this.continueContextsTimeout);
  super.startInternal();
}

代码示例来源:origin: com.github.waffle/waffle-tomcat7

/**
 * Hook to the start and to set up the dependencies.
 *
 * @throws LifecycleException
 *             the lifecycle exception
 */
@Override
protected synchronized void startInternal() throws LifecycleException {
  this.log.debug("Creating a windows authentication provider with continueContextsTimeout property set to: {}",
      this.continueContextsTimeout);
  this.auth = new WindowsAuthProviderImpl(this.continueContextsTimeout);
  super.startInternal();
}

代码示例来源:origin: com.github.waffle/waffle-tomcat85

/**
 * Hook to the start and to set up the dependencies.
 *
 * @throws LifecycleException
 *             the lifecycle exception
 */
@Override
public void startInternal() throws LifecycleException {
  this.log.debug("Creating a windows authentication provider with continueContextsTimeout property set to: {}",
      this.continueContextsTimeout);
  this.auth = new WindowsAuthProviderImpl(this.continueContextsTimeout);
  super.startInternal();
}

代码示例来源:origin: apereo/java-cas-client

protected void startInternal() throws LifecycleException {
  super.startInternal();
  logger.debug("{} starting.", getName());
  final Realm realm = this.context.getRealm();
  try {
    CommonUtils.assertTrue(realm instanceof CasRealm, "Expected CasRealm but got " + realm.getClass());
    CommonUtils.assertNotNull(this.casServerUrlPrefix, "casServerUrlPrefix cannot be null.");
    CommonUtils.assertNotNull(this.delegate.getCasServerLoginUrl(), "casServerLoginUrl cannot be null.");
    CommonUtils.assertTrue(this.delegate.getServerName() != null || this.delegate.getServiceUrl() != null,
        "either serverName or serviceUrl must be set.");
    this.delegate.setRealm((CasRealm) realm);
  } catch (final Exception e) {
    throw new LifecycleException(e);
  }
  // Complete delegate initialization after the component is started.
  // See #lifecycleEvent() method.
  addLifecycleListener(this);
}

代码示例来源:origin: apereo/java-cas-client

protected void startInternal() throws LifecycleException {
  super.startInternal();
  logger.debug("{} starting.", getName());
  final Realm realm = this.context.getRealm();
  try {
    CommonUtils.assertTrue(realm instanceof CasRealm, "Expected CasRealm but got " + realm.getClass());
    CommonUtils.assertNotNull(this.casServerUrlPrefix, "casServerUrlPrefix cannot be null.");
    CommonUtils.assertNotNull(this.delegate.getCasServerLoginUrl(), "casServerLoginUrl cannot be null.");
    CommonUtils.assertTrue(this.delegate.getServerName() != null || this.delegate.getServiceUrl() != null,
        "either serverName or serviceUrl must be set.");
    this.delegate.setRealm((CasRealm) realm);
  } catch (final Exception e) {
    throw new LifecycleException(e);
  }
  // Complete delegate initialization after the component is started.
  // See #lifecycleEvent() method.
  addLifecycleListener(this);
}

代码示例来源:origin: org.apache.tomcat/tomcat-catalina

@Override
protected synchronized void startInternal() throws LifecycleException {
  super.startInternal();

代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina

@Override
protected synchronized void startInternal() throws LifecycleException {
  super.startInternal();

代码示例来源:origin: codefollower/Tomcat-Research

@Override
protected synchronized void startInternal() throws LifecycleException {
  super.startInternal();

代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina

@Override
protected synchronized void startInternal() throws LifecycleException {
  super.startInternal();

代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

@Override
protected synchronized void startInternal() throws LifecycleException {
  super.startInternal();

代码示例来源:origin: apereo/java-cas-client

protected void startInternal() throws LifecycleException {
  super.startInternal();
  logger.debug("{} starting.", getName());
  final Realm realm = this.context.getRealm();
  try {
    CommonUtils.assertTrue(realm instanceof CasRealm, "Expected CasRealm but got " + realm.getInfo());
    CommonUtils.assertNotNull(this.casServerUrlPrefix, "casServerUrlPrefix cannot be null.");
    CommonUtils.assertNotNull(this.delegate.getCasServerLoginUrl(), "casServerLoginUrl cannot be null.");
    CommonUtils.assertTrue(this.delegate.getServerName() != null || this.delegate.getServiceUrl() != null,
        "either serverName or serviceUrl must be set.");
    this.delegate.setRealm((CasRealm) realm);
  } catch (final Exception e) {
    throw new LifecycleException(e);
  }
  // Complete delegate initialization after the component is started.
  // See #lifecycleEvent() method.
  addLifecycleListener(this);
}

代码示例来源:origin: org.jasig.cas.client/cas-client-integration-tomcat-v7

protected void startInternal() throws LifecycleException {
  super.startInternal();
  logger.debug("{} starting.", getName());
  final Realm realm = this.context.getRealm();
  try {
    CommonUtils.assertTrue(realm instanceof CasRealm, "Expected CasRealm but got " + realm.getInfo());
    CommonUtils.assertNotNull(this.casServerUrlPrefix, "casServerUrlPrefix cannot be null.");
    CommonUtils.assertNotNull(this.delegate.getCasServerLoginUrl(), "casServerLoginUrl cannot be null.");
    CommonUtils.assertTrue(this.delegate.getServerName() != null || this.delegate.getServiceUrl() != null,
        "either serverName or serviceUrl must be set.");
    this.delegate.setRealm((CasRealm) realm);
  } catch (final Exception e) {
    throw new LifecycleException(e);
  }
  // Complete delegate initialization after the component is started.
  // See #lifecycleEvent() method.
  addLifecycleListener(this);
}

相关文章

微信公众号

最新文章

更多