##// 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 raise NotImplementedError("Not implemented in base class")
221 raise NotImplementedError("Not implemented in base class")
222
222
223 @property
223 def is_headers_auth(self):
224 def is_headers_auth(self):
224 """
225 """
225 Returns True if this authentication plugin uses HTTP headers as
226 Returns True if this authentication plugin uses HTTP headers as
@@ -105,8 +105,8 b' class RhodeCodeAuthPlugin(RhodeCodeExter'
105 def name(self):
105 def name(self):
106 return 'headers'
106 return 'headers'
107
107
108 @hybrid_property
108 @property
109 def is_container_auth(self):
109 def is_headers_auth(self):
110 return True
110 return True
111
111
112 def use_fake_password(self):
112 def use_fake_password(self):
@@ -96,8 +96,8 b' class RhodeCodeAuthPlugin(RhodeCodeExter'
96 def name(self):
96 def name(self):
97 return "jasig-cas"
97 return "jasig-cas"
98
98
99 @hybrid_property
99 @property
100 def is_container_auth(self):
100 def is_headers_auth(self):
101 return True
101 return True
102
102
103 def use_fake_password(self):
103 def use_fake_password(self):
General Comments 0
You need to be logged in to leave comments. Login now