SHARE
TWEET

Untitled

a guest Jun 25th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <Location />
  2.             AuthType Kerberos
  3.             KrbAuthRealms xyz
  4.             KrbServiceName HTTP/xyz
  5.             Krb5Keytab /usr/local/apache2/conf/conf.d/drdc.keytab
  6.             KrbMethodNegotiate on
  7.             KrbMethodK5Passwd off
  8.             KrbSaveCredentials on
  9.             require valid-user
  10.     </Location>
  11.      
  12. if ($event->getRequest()->getRequestUri() != '/user/login' && $this->currentUser->isAnonymous()) {
  13.   if (preg_match('//comment-([d]+)/', $current_path)) {
  14.     $destination = str_replace('/comment-', '#comment-', $current_path);
  15.     user_cookie_save(['destination' => $destination]);
  16.   }
  17.   $url = '/user/login/sso';
  18.   $response = new RedirectResponse($url);
  19.   $event->setResponse($response);
  20.   return;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top