code: @Override
      @Deprecated
      public void init(HttpSecurity http) throws Exception {
          if (!isInitialized) {
              ApplicationContext context = http.getSharedObject(ApplicationContext.class);
              getCasHttpSecurityConfigurerAdapter(context).init(http);
              isInitialized = true;
          }
      }
docs: {@inheritDoc}
  @deprecated use {@link #configure(HttpSecurity)} instead.
  Will not be removed but until this issue was not treat
  https://github.com/spring-projects/spring-security/issues/4422 I still prefer using this
  {@link SecurityConfigurerAdapter} directly like following
  
  <pre>{@code
  CasHttpSecurityConfigurer.cas().configure(http);
  }</pre>
  
  instead of
  
  <pre>{@code
  http.apply(CasHttpSecurityConfigurer.cas());
  }</pre>