C# Class gov.va.medora.mdo.dao.vista.VistaAccount

Inheritance: AbstractAccount
显示文件 Open project: OSEHRA/mdo Class Usage Examples

Public Methods

Method Description
VistaAccount ( AbstractConnection cxn ) : System
authenticate ( AbstractCredentials credentials, DataSource validationDataSource = null ) : string
authenticateAndAuthorize ( AbstractCredentials credentials, AbstractPermission permission, DataSource validationDataSource = null ) : User
authorize ( AbstractCredentials credentials, AbstractPermission permission ) : User
getAdminLocalUid ( string siteId ) : string
getAuthenticationTokenFromVista ( ) : string
makeAuthenticationTokenInVista ( string duz ) : string

Private Methods

Method Description
addContextInVista ( string duz, AbstractPermission requestedContext ) : void
buildGetAuthenticationTokenFromVista2Query ( ) : DdrLister
buildSetAuthenticationTokenInVistaQuery ( string token, string duz ) : DdrLister
buildSetContextRequest ( string context ) : MdoQuery
checkAuthorizeReadiness ( ) : void
checkPermissionString ( string permission ) : void
doTheAuthorize ( AbstractCredentials credentials, AbstractPermission permission ) : void
getAuthenticationTokenFromVista2 ( ) : string
getException ( string result ) : Exception
getXtmpToken ( string token ) : string
login ( AbstractCredentials credentials ) : string
setAuthenticationTokenInVista ( string token, string duz ) : string
setContext ( AbstractPermission permission ) : void
toUser ( AbstractCredentials credentials ) : User

Method Details

VistaAccount() public method

public VistaAccount ( AbstractConnection cxn ) : System
cxn AbstractConnection
return System

authenticate() public method

public authenticate ( AbstractCredentials credentials, DataSource validationDataSource = null ) : string
credentials AbstractCredentials
validationDataSource DataSource
return string

authenticateAndAuthorize() public method

public authenticateAndAuthorize ( AbstractCredentials credentials, AbstractPermission permission, DataSource validationDataSource = null ) : User
credentials AbstractCredentials
permission AbstractPermission
validationDataSource DataSource
return User

authorize() public method

public authorize ( AbstractCredentials credentials, AbstractPermission permission ) : User
credentials AbstractCredentials
permission AbstractPermission
return User

getAdminLocalUid() public static method

public static getAdminLocalUid ( string siteId ) : string
siteId string
return string

getAuthenticationTokenFromVista() public method

public getAuthenticationTokenFromVista ( ) : string
return string

makeAuthenticationTokenInVista() public method

public makeAuthenticationTokenInVista ( string duz ) : string
duz string
return string