##// END OF EJS Templates
authn: Use new is_headers_auth function.
johbo -
r108:15a894ab default
parent child Browse files
Show More
@@ -220,6 +220,7 b' class RhodeCodeAuthPluginBase(object):'
220 220 """
221 221 raise NotImplementedError("Not implemented in base class")
222 222
223 @property
223 224 def is_headers_auth(self):
224 225 """
225 226 Returns True if this authentication plugin uses HTTP headers as
@@ -105,8 +105,8 b' class RhodeCodeAuthPlugin(RhodeCodeExter'
105 105 def name(self):
106 106 return 'headers'
107 107
108 @hybrid_property
109 def is_container_auth(self):
108 @property
109 def is_headers_auth(self):
110 110 return True
111 111
112 112 def use_fake_password(self):
@@ -96,8 +96,8 b' class RhodeCodeAuthPlugin(RhodeCodeExter'
96 96 def name(self):
97 97 return "jasig-cas"
98 98
99 @hybrid_property
100 def is_container_auth(self):
99 @property
100 def is_headers_auth(self):
101 101 return True
102 102
103 103 def use_fake_password(self):
General Comments 0
You need to be logged in to leave comments. Login now