本文整理了Java中org.apache.catalina.authenticator.AuthenticatorBase.start()
方法的一些代码示例,展示了AuthenticatorBase.start()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AuthenticatorBase.start()
方法的具体详情如下:
包路径:org.apache.catalina.authenticator.AuthenticatorBase
类名称:AuthenticatorBase
方法名:start
[英]Prepare for the beginning of active use of the public methods of this component. This method should be called after configure()
, and before any of the public methods of the component are utilized.
[中]准备开始积极使用此组件的公共方法。应该在configure()
之后调用此方法,然后再使用组件的任何公共方法。
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Initialize the database we will be using for client verification
* and certificate validation (if any).
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
*/
public void start() throws LifecycleException {
super.start();
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Initialize the database we will be using for client verification
* and certificate validation (if any).
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
*/
public void start() throws LifecycleException {
super.start();
}
代码示例来源:origin: tomcat/catalina
/**
* Initialize the database we will be using for client verification
* and certificate validation (if any).
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
*/
public void start() throws LifecycleException {
super.start();
}
代码示例来源:origin: org.jboss.resteasy/skeleton-key-as7
@Override
public void start() throws LifecycleException
{
super.start();
StandardContext standardContext = (StandardContext)context;
standardContext.addLifecycleListener(this);
}
代码示例来源:origin: org.glassfish.main.web/web-core
@Override
public synchronized void start() throws LifecycleException {
super.start();
// Generate a random secret key
if (getKey() == null) {
setKey(generateSessionId());
}
// Generate the opaque string the same way
if (getOpaque() == null) {
setOpaque(generateSessionId());
}
}
代码示例来源:origin: apereo/java-cas-client
public void start() throws LifecycleException {
super.start();
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.jboss.web/jbossweb
@Override
public void start() throws LifecycleException {
super.start();
内容来源于网络,如有侵权,请联系作者删除!