public function createSubject($context)
    {
        global $logger;
        //$copyContext = $this->copy($context);
        //$copyContext = $this->_ensureSecurityMgr($copyContext);
        //$copyContext = $this->_resolveSession($copyContext);
        //$copyContext = $this->_resolvePrincipals($copyContext);
        $subject     = $this->doCreateSubject($context);
        $this->_save($subject);

        return $subject;

    }
public function createSubject($context)
    {
        global $logger;
        //$copyContext = $this->copy($context);
        //$copyContext = $this->_ensureSecurityMgr($copyContext);
        //$copyContext = $this->_resolveSession($copyContext);
        //$copyContext = $this->_resolvePrincipals($copyContext);
        $subject     = $this->doCreateSubject($context);
        $this->_save($subject);

        return $subject;

    }
public function createSubject ( $ context ) { global $ logger ; //$copyContext = $this->copy($context); //$copyContext = $this->_ensureSecurityMgr($copyContext); //$copyContext = $this->_resolveSession($copyContext); //$copyContext = $this->_resolvePrincipals($copyContext); $ subject = $ this -> doCreateSubject ( $ context ) ; $ this -> _save ( $ subject ) ; return $ subject ; }
createSubject Creating the subject using the given context.

@param mixed $context The context used to create the subject.

@access public
@return void
createSubject Creating the subject using the given context .