This class implements authentication against XML file with roles for Flex Builder.

package Zend_Amf
subpackage Adobe
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Amf_Auth_Abstract

 Methods

Create auth adapter

__construct(string $rolefile) 

Parameters

$rolefile

string

File containing XML with users and roles

Perform authentication

authenticate() : \Zend_Auth_Result
see

Exceptions

\Zend_Auth_Adapter_Exception

Returns

\Zend_Auth_Result

Get ACL with roles from XML file

getAcl() : \Zend_Acl

Returns

\Zend_Acl

setCredentials()

setCredentials($username, $password) 
Inherited

Parameters

$username

$password

 Properties

 

ACL for authorization

$_acl : \Zend_Acl

Default

 

$_password

$_password 

Default

 

$_username

$_username 

Default

 

Username/password array

$_users : array

Default

array()