Changeset 12585

Show
Ignore:
Timestamp:
09/28/07 20:44:13 (1 year ago)
Author:
flack
Message:

fix spelling error (credencial -> credential)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/midcom/application.php

    r12367 r12585  
    7676 * 
    7777 * The scripts executed need to do their own permission checks, they will work with 
    78  * the credencials of the current MidCOM instance unconditionally. 
     78 * the credentials of the current MidCOM instance unconditionally. 
    7979 * 
    8080 * Example: http://$host/midcom-exec-midcom/upgrade_metadata.php 
  • trunk/midcom/midcom.core/midcom/locale/default.de.txt

    r11233 r12585  
    284284---STRINGEND 
    285285 
    286 ---STRING login message - please enter credencials 
     286---STRING login message - please enter credentials 
    287287Bitte geben Sie Ihren Benutzernamen und Ihr Passwort ein. 
    288288---STRINGEND 
  • trunk/midcom/midcom.core/midcom/locale/default.en.txt

    r11716 r12585  
    308308---STRINGEND 
    309309 
    310 ---STRING login message - please enter credencials 
     310---STRING login message - please enter credentials 
    311311Please enter your username and password. 
    312312---STRINGEND 
  • trunk/midcom/midcom.core/midcom/locale/default.fi.txt

    r5684 r12585  
    308308---STRINGEND 
    309309 
    310 ---STRING login message - please enter credencials 
     310---STRING login message - please enter credentials 
    311311SyötÀ kÀyttÀjÀtunnus ja salasana 
    312312---STRINGEND 
  • trunk/midcom/midcom.core/midcom/locale/default.pl.txt

    r11716 r12585  
    310310---STRINGEND 
    311311 
    312 ---STRING login message - please enter credencials 
     312---STRING login message - please enter credentials 
    313313Podaj uÅŒytkownika i hasło. 
    314314---STRINGEND 
  • trunk/midcom/midcom.core/midcom/locale/default.sv.txt

    r5044 r12585  
    235235---STRINGEND 
    236236 
    237 ---STRING login message - please enter credencials 
     237---STRING login message - please enter credentials 
    238238Skriv in anvÀndarnamn och lösenord. 
    239239---STRINGEND 
  • trunk/midcom/midcom.core/midcom/services/auth.php

    r12537 r12585  
    457457 
    458458    /** 
    459      * Flag, which is set to true if the system encountered any new login credencials 
     459     * Flag, which is set to true if the system encountered any new login credentials 
    460460     * during startup. If this is true, but no user is authenticated, login did fail. 
    461461     * 
     
    464464     * @var public 
    465465     */ 
    466     var $auth_credencials_found = false; 
     466    var $auth_credentials_found = false; 
    467467 
    468468    /** 
     
    505505 
    506506    /** 
    507      * Internal startup helper, checks if the current authentication fronted has new credencials 
     507     * Internal startup helper, checks if the current authentication fronted has new credentials 
    508508     * ready. If yes, it processes the login accordingly. 
    509509     * 
    510      * @return bool Returns true, if an new login session was created, false if no credencials were found. 
     510     * @return bool Returns true, if an new login session was created, false if no credentials were found. 
    511511     * @access private 
    512512     */ 
     
    515515        debug_push_class(__CLASS__, __FUNCTION__); 
    516516 
    517         $credencials = $this->_auth_frontend->read_authentication_data(); 
    518  
    519         if (! $credencials) 
     517        $credentials = $this->_auth_frontend->read_authentication_data(); 
     518 
     519        if (! $credentials) 
    520520        { 
    521521            return false; 
    522522        } 
    523523 
    524         $this->auth_credencials_found = true; 
     524        $this->auth_credentials_found = true; 
    525525 
    526526        // Try to start up a new session, this will authenticate as well. 
    527         if (! $this->_auth_backend->create_login_session($credencials['username'], $credencials['password'])) 
     527        if (! $this->_auth_backend->create_login_session($credentials['username'], $credentials['password'])) 
    528528        { 
    529529            debug_add('The login information passed to the system was invalid.', MIDCOM_LOG_ERROR); 
    530             debug_add("Username was {$credencials['username']}"); 
     530            debug_add("Username was {$credentials['username']}"); 
    531531            // No password logging for security reasons. 
    532532            debug_pop(); 
     
    591591        { 
    592592            debug_push_class(__CLASS__, __FUNCTION__); 
    593             debug_add('Failed to re-authenticate a previous login session, not changing credencials.'); 
     593            debug_add('Failed to re-authenticate a previous login session, not changing credentials.'); 
    594594            debug_pop(); 
    595595            return; 
     
    11091109     * You have to call midcom_services_auth::drop_sudo() as soon as you no longer 
    11101110     * need the elevated privileges, which will reset the authentication data to the 
    1111      * initial credencials. 
     1111     * initial credentials. 
    11121112     * 
    11131113     * @param string $domain The domain to request sudo for. This is a component name. 
     
    19861986            $login_warning = $_MIDCOM->i18n->get_string('login message - insufficient privileges', 'midcom'); 
    19871987        } 
    1988         else if ($this->auth_credencials_found) 
     1988        else if ($this->auth_credentials_found) 
    19891989        { 
    19901990            $login_warning = $_MIDCOM->i18n->get_string('login message - user or password wrong', 'midcom'); 
     
    21322132        // Determine login warning so that wrong user/pass is shown. 
    21332133        $login_warning = ''; 
    2134         if (   $this->auth_credencials_found 
     2134        if (   $this->auth_credentials_found 
    21352135            && is_null($this->user)) 
    21362136        { 
     
    21912191                if ($login_warning == '') 
    21922192                { 
    2193                     echo "<div id=\"ok\">" . $_MIDCOM->i18n->get_string('login message - please enter credencials', 'midcom') . "</div>\n"; 
     2193                    echo "<div id=\"ok\">" . $_MIDCOM->i18n->get_string('login message - please enter credentials', 'midcom') . "</div>\n"; 
    21942194                } 
    21952195                else 
  • trunk/midcom/midcom.core/midcom/services/auth/backend.php

    r3766 r12585  
    1111 * Authentication backend, responsible for validating user/password pairs and 
    1212 * mapping them to a given user as well as the "sessioning" part, e.g. the transition 
    13  * of the authentication credencials over several requests. 
     13 * of the authentication credentials over several requests. 
    1414 *  
    1515 * All functions except authenticate() must be implemented, see their individual  
     
    7979 
    8080    /** 
    81      * This function stores a login session using the given credencials through the 
     81     * This function stores a login session using the given credentials through the 
    8282     * session service. It assumes that no login has concluded earlier. The login  
    8383     * session management system is used for authentication. If the login session 
  • trunk/midcom/midcom.core/midcom/services/auth/frontend.php

    r3766 r12585  
    1010/** 
    1111 * Authentication frontend, responsible for rendering the login screen, reading 
    12  * the credencials and displaying access denied information. 
     12 * the credentials and displaying access denied information. 
    1313 *  
    1414 * All functions must be implemented, see their individual documentation about  
  • trunk/midcom/midcom.core/midcom/services/auth/sessionmgr.php

    r12370 r12585  
    5959    /** 
    6060     * Creates a login session using the given arguments. Returns a session identifier. 
    61      * The call will validate the passed credencials and thus authenticate for the given 
     61     * The call will validate the passed credentials and thus authenticate for the given 
    6262     * user at the same time, so there is no need to call authenticate_session() after 
    6363     * creating it. A failed password check will of course not create a login session. 
  • trunk/midcom/midcom.helper.datamanager/datatype_account.php

    r1080 r12585  
    3838            if ($this->_storage->__table__ != "person")  
    3939            { 
    40                 $this->_datamanager->append_error("CRITICAL: Storage object is not a MidgardPerson, cannot work with MidgardPerson credencials here."); 
     40                $this->_datamanager->append_error("CRITICAL: Storage object is not a MidgardPerson, cannot work with MidgardPerson credentials here."); 
    4141                debug_add("Trying to use MidgardPerson storage location with a non-person, this is critical.", MIDCOM_LOG_CRIT); 
    4242                debug_print_r("Storage object is: ", $this->_storage); 
     
    8888            if ($this->_storage->__table__ != "person")  
    8989            { 
    90                 $this->_datamanager->append_error("CRITICAL: Storage object is not a MidgardPerson, cannot work with MidgardPerson credencials here."); 
     90                $this->_datamanager->append_error("CRITICAL: Storage object is not a MidgardPerson, cannot work with MidgardPerson credentials here."); 
    9191                debug_add("Trying to use MidgardPerson storage location with a non-person, this is critical.", MIDCOM_LOG_CRIT); 
    9292                debug_print_r("Storage object is: ", $this->_storage); 
  • trunk/templates/OpenPsa2/midcom_services_auth_login_page.php

    r12103 r12585  
    4848 
    4949  <p class='login_message'><?php  
    50     echo $_MIDCOM->i18n->get_string('login message - please enter credencials',  
     50    echo $_MIDCOM->i18n->get_string('login message - please enter credentials',  
    5151    'midcom');?></p> 
    5252