Class AuthWS

Description

Located in /custom/cit.gva.es/auth/AuthWS.php (line 14)

Auth_Container
   |
   --gvhBaseAuth
      |
      --AuthWS
Method Summary
static void autenticate ( $p_apli)
AuthWS __construct ( $p_apli)
void fetchData ( $username,  $password)
void getDatos ()
void getResponse ()
void postLogin ( $sess, [ $aut = null])
Methods
static method autenticate (line 104)

Metodo para llamar desde aplicaciones, en la autenticacion inicial

Devuelve cadena vacia si todo va bien, o texto si error

static void autenticate ( $p_apli)
  • $p_apli

Redefinition of:
gvhBaseAuth::autenticate()
Metodo para llamar desde aplicaciones, en la autenticacion inicial
Constructor __construct (line 19)
AuthWS __construct ( $p_apli)
  • $p_apli
fetchData (line 25)
void fetchData ( $username,  $password)
  • $username
  • $password

Redefinition of:
gvhBaseAuth::fetchData()
Metodo para autenticar usuario
getDatos (line 47)
void getDatos ()
getResponse (line 56)
void getResponse ()
postLogin (line 80)

Inicializa variables en la sesión que recibe.

Se ejecuta la primera vez que accede a la aplicación

Información usada por gvHidra (se puede modificar la ubicación aunque habria que cambiar el método correspondiente en la clase igep/include/ComunSession.php):

$_SESSION['LINT']['daplicacion'] --> nombre de la aplicación

$_SESSION['LINT']['modulos'] --> matriz de módulos asignados al usuario con las siguientes columnas: $_SESSION['LINT']['modulos']['P_MODIFICA']['valor'] --> valor del módulo $_SESSION['LINT']['modulos']['P_MODIFICA']['descrip']--> descripción del módulo

$_SESSION['LINT']['rolusuar'] --> role del usuario

(siendo, 'LINT' y 'P_MODIFICA' ejemplos de aplicación y módulo, respectivamente)

void postLogin ( $sess, [ $aut = null])
  • $sess
  • $aut

Inherited Methods

Inherited From gvhBaseAuth

gvhBaseAuth::autenticate()
gvhBaseAuth::checkData()
gvhBaseAuth::fetchData()
gvhBaseAuth::open()

Documentation generated on Wed, 05 Oct 2011 10:36:22 +0200 by phpDocumentor 1.4.1