Example #1
0
 /**
  * Saves current state.
  *
  * @param \Causal\IgLdapSsoAuth\Domain\Model\Configuration $configuration
  * @return void
  */
 protected function saveState(\Causal\IgLdapSsoAuth\Domain\Model\Configuration $configuration = NULL)
 {
     $GLOBALS['BE_USER']->uc['ig_ldap_sso_auth']['selection'] = array('action' => $this->getControllerContext()->getRequest()->getControllerActionName(), 'configuration' => $configuration !== NULL ? $configuration->getUid() : 0);
     $GLOBALS['BE_USER']->writeUC();
 }
Example #2
0
 /**
  * Gets the uid.
  *
  * @return int
  */
 public static function getUid()
 {
     return static::$configuration->getUid();
 }