The Intercepting Illusion (Proxy)
Providing a surrogate or placeholder to control access to the main stream processing.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Proxy
ARCANUM SCHOOL: Transmutation // Streamweaving
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
# Proxy: Intercepting execution based on an authorization line
1 {
/AUTH:SECRET/! {
s/.*/Access Denied/
p
q
}
d
}
# If we got past line 1, we are authorized
s/.*/[AUTHORIZED] &/
Runic Tags:
#sed
#structural
#proxy