^1640740820762
@
sname
AdminLoginApp
slabel
AdminLoginApp
stitle
XWorker网站内容管理登陆
scompany
xworker.org
slogo
/images/logo.jpg
sloginedUrl
do?sc=xworker.app.orgweb.web.admin.RefreshAll
ssessionAttributeName
__orgWebAdmin__
sdescriptors
xworker.web.app.view.http.app.SimpleLogin
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_mark
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.web.app.view.http.app.SimpleLogin/@actions1
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  actions
    @/@actions/@loadUser
    sname
    loadUser
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Local
    sdisableGlobalContext
    false
    Scode
#$@text#$@
import xworker.app.user.UserManager;

def fieldMapping = [
    "table": "tblUser",
    "name":"loginName",
    "password":"password",
    "randomKey":"randomKey"
];
def success = UserManager.loginByMD5(con, name, password, fieldMapping);
if(success){
    return ["name": name];
}else{
    return null;
}
#$@text#$@
    sinterpretationType
    Action
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@GroovyAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    loadUser
      @/@actions/@loadUser/@contexts
      sname
      contexts
      sdescriptors
      xworker.lang.actions.Inout/@contexts
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      contexts
        @/@actions/@loadUser/@contexts/@con
        sname
        con
        sconnectionName
        con
        stransaction
        false
        sdataSourcePath
        xworker.app.user.datasource.UserDataSource
        sdisable
        false
        sonError
        ignore
        spreventError
        false
        sinherit
        true
        sdescriptors
        xworker.lang.context.Contexts/@DataSouceActionContext
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        con
