pub trait AttributeExtractor {
// Required method
fn extract(&self, bag: &mut AttributeBag);
}Expand description
Source of attributes. Implementors drop keys into the bag under a consistent namespace prefix:
- cpex-core
SecurityExtension.subject→subject.*,role.*,perm.* - cpex-core
SecurityExtension.client→client.* - cpex-core
DelegationExtension→delegation.*,delegated - Route args →
args.* - Session context →
session.*
Implementations for the cpex-core extensions live in apl-cmf, not here.
Required Methods§
fn extract(&self, bag: &mut AttributeBag)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".