Buckets:

|
download
raw
2.18 kB

Session-based access control — full diagram

Pattern structure and behaviour diagram

flowchart LR
    Subject["Subject"]
    AuthenticationEnforcer["Authentication enforcer"]
    Verifier["Verifier"]
    SessionManager["Session manager"]
    SessionIdGenerator["Session id generator"]
    Registrar["Registrar"]
    AuthorisationEnforcer["Authorisation enforcer"]
    Decider["Decider"]
    PolicyProvider["Policy provider"]
    System["System"]
    AuthenticationRef["[ref] Authentication"]
    Resetter["Resetter"]
    SideChannelAuthentication["side-channel authentication"]

    Subject -->|"1: action(sessionId[, args])"| AuthenticationEnforcer
    AuthenticationEnforcer -->|"2: verify(sessionId)"| Verifier
    Verifier -->|"3: get_principal(token)"| SessionManager
    SessionManager -->|"4: principal/error"| Verifier
    Verifier -->|"5: principal/error"| AuthenticationEnforcer
    AuthenticationEnforcer -->|"[principal] 6: action(principal[, args])"| AuthorisationEnforcer
    AuthorisationEnforcer -->|"7: authorise(principal, actionId, objectId)"| Decider
    Decider -->|"8: get_privileges(principal)"| PolicyProvider
    PolicyProvider -->|"9: privileges/error"| Decider
    Decider -->|"10: ok/error"| AuthorisationEnforcer
    AuthorisationEnforcer -->|"[ok] 11: action(principal[, args])"| System
    AuthenticationEnforcer -->|"[error] 6: error"| Subject
    AuthorisationEnforcer -->|"[error] 11: error"| Subject
    System -->|"[opt] 12: reply"| Subject

    Registrar -->|"Authc.6.1: open_session(principal[, args])"| SessionManager
    SessionManager -->|"Authc.6.2: next()"| SessionIdGenerator
    SessionIdGenerator -->|"Authc.6.3: sessionId"| SessionManager
    SessionManager -->|"Authc.6.4: sessionId"| Registrar
    AuthenticationRef -->|"Authc.6: action(principal[, args])"| System
    System -->|"Authc.7: sessionId"| AuthenticationRef
    Subject -->|"Authc.1: action(credential[, args])"| AuthenticationRef

    SideChannelAuthentication -->|"reset(principal)"| Resetter
    Subject -->|"side-channel authentication"| Resetter

Xet Storage Details

Size:
2.18 kB
·
Xet hash:
b2f3e2fa22e37074944db0a4cdea79e179aadc14bd40d6154e0823058e5b6597

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.