Sha256: d2147c68709af53becac4b0bda2b2ec07b9f2c5b16315d925aeddc15ec70b5ea
Contents?: true
Size: 512 Bytes
Versions: 2
Compression:
Stored size: 512 Bytes
Contents
# -*- coding: utf-8 -*- module Dcmgr::Models class FrontendSystem < BaseNew plugin :single_table_inheritance, :kind def authenticate raise NotImplementedError end class PassThru < FrontendSystem def authenticate(env) end end class HttpBasic < FrontendSystem def authenticate(env) end end class RemoteIP < FrontendSystem def authenticate(env) self.key == env['HTTP_REMOTE_ADDR'] end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
wakame-vdc-agents-11.12.0 | lib/dcmgr/models/frontend_system.rb |
wakame-vdc-dcmgr-11.12.0 | lib/dcmgr/models/frontend_system.rb |