Class Puppet::Network::RestAuthConfig
In: lib/puppet/network/rest_authconfig.rb
Parent: Network::AuthConfig

Methods

allowed?   build_uri   insert_default_acl   main   mk_acl   new   parse  

Constants

DEFAULT_ACL = [ { :acl => "~ ^\/catalog\/([^\/]+)$", :method => :find, :allow => '$1', :authenticated => true }, # this one will allow all file access, and thus delegate # to fileserver.conf { :acl => "/file" }, { :acl => "/certificate_revocation_list/ca", :method => :find, :authenticated => true }, { :acl => "/report", :method => :save, :authenticated => true }, { :acl => "/certificate/ca", :method => :find, :authenticated => false }, { :acl => "/certificate/", :method => :find, :authenticated => false }, { :acl => "/certificate_request", :method => [:find, :save], :authenticated => false }, ]

Attributes

rights  [RW] 

Public Class methods

Public Instance methods

check wether this request is allowed in our ACL raise an Puppet::Network::AuthorizedError if the request is denied.

force regular ACLs to be present

[Validate]