예제 #1
0
	def chalauth(self, args):
		args = args.split(' ')
		auth_id = args[0]
		auth_challenge = args[1]
		try:
			auth_req = self.auth_id_map[int(auth_id)]
		except KeyError:
			raise AuthIdNotFoundError()
		sbserver.authChallenge(auth_req.cn, auth_req.id, auth_challenge)
예제 #2
0
파일: masterctl.py 프로젝트: pguenth/xsbs
 def chalauth(self, args):
     args = args.split(' ')
     auth_id = args[0]
     auth_challenge = args[1]
     try:
         auth_req = self.auth_id_map[int(auth_id)]
     except KeyError:
         raise AuthIdNotFoundError()
     sbserver.authChallenge(auth_req.cn, auth_req.id, auth_challenge)
예제 #3
0
	def chalauth(self, args):
		args = args.split(' ')
		auth_id = args[0]
		auth_challenge = args[1]
		try:
			auth_req = self.auth_id_map[int(auth_id)]
		except KeyError:
			raise AuthError('Could not find matching auth request for given auth request id')
		sbserver.authChallenge(auth_req.cn, auth_req.id, auth_challenge)