MAPPE DELLA SARDEGNA
sardegnamappe api  ›  api documentation  ›  classe
Class framework.plugins.Login


Extends gxp.plugins.Tool.
Show buttons and form to login and logout.
Defined in: Login.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Show buttons and form to login and logout.
Field Summary
Field Attributes Field Name and Description
 
the base Ajax Url for ajax request default ""
 
name field for username default "Codice Fiscale"
 
framework_login plugin type.
 
name field for username default "password"
 
name field for username default "username"
Method Summary
Method Attributes Method Name and Description
 
getDigest(onSuccess, text)
Requests a digest based on client ip to server side servlet
 
send login request to the server
 
send login request to the server
 
logoff(self)
logoff method.
 
Shows a login form.
Class Detail
framework.plugins.Login()
Show buttons and form to login and logout.
Field Detail
{String} baseUrl
the base Ajax Url for ajax request default ""

{String} codFiscFieldName
name field for username default "Codice Fiscale"

{String} ptype
framework_login plugin type.

{String} pwdFieldName
name field for username default "password"

{String} userFieldName
name field for username default "username"
Method Detail
getDigest(onSuccess, text)
Requests a digest based on client ip to server side servlet
Parameters:
{function} onSuccess
function called when digest value is received.
{Strng} text
password

login()
send login request to the server

loginCFISC()
send login request to the server

logoff(self)
logoff method.
Parameters:
self

showLoginWindow()
Shows a login form.
© 2013 Regione Autonoma della Sardegna