summaryrefslogtreecommitdiff
path: root/lib/environment.rb
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-01-18 13:07:52 +0100
committermr <mr@mrautenberg.de>2011-01-18 13:07:52 +0100
commit9197d6a6503b3995e6f9499840e91a9ed6d3a1db (patch)
treecfb23f7c1825338b362fb1d1e37af369b34f6d8d /lib/environment.rb
parent2aafed7543287c420a5aa2e751b8c74ad771d14c (diff)
get subjectid from api-wrapper helper
Diffstat (limited to 'lib/environment.rb')
-rw-r--r--lib/environment.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/environment.rb b/lib/environment.rb
index 1761d92..203ebc6 100644
--- a/lib/environment.rb
+++ b/lib/environment.rb
@@ -84,6 +84,9 @@ class OwlNamespace
end
AA_SERVER = CONFIG[:authorization] ? (CONFIG[:authorization][:server] ? CONFIG[:authorization][:server] : nil) : nil
+CONFIG[:authorization][:authenticate_request] = [""] unless CONFIG[:authorization][:authenticate_request]
+CONFIG[:authorization][:authorize_request] = [""] unless CONFIG[:authorization][:authorize_request]
+CONFIG[:authorization][:free_request] = [""] unless CONFIG[:authorization][:free_request]
RDF = OwlNamespace.new 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
OWL = OwlNamespace.new 'http://www.w3.org/2002/07/owl#'