/** * 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(); }
/** * 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(); }
/** * 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(); }
@Override public void start() throws LifecycleException { super.start(); StandardContext standardContext = (StandardContext)context; standardContext.addLifecycleListener(this); }
@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()); } }
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); }
@Override public void start() throws LifecycleException { super.start();