gluu
公開メンバ関数 | 公開変数類 | 全メンバ一覧
acr_routerauthenticator.PersonAuthentication クラス
acr_routerauthenticator.PersonAuthentication の継承関係図
Inheritance graph
acr_routerauthenticator.PersonAuthentication 連携図
Collaboration graph

公開メンバ関数

def __init__ (self, currentTimeMillis)
 
def init (self, configurationAttributes)
 
def destroy (self, configurationAttributes)
 
def getApiVersion (self)
 
def isValidAuthenticationMethod (self, usageType, configurationAttributes)
 
def getAlternativeAuthenticationMethod (self, usageType, configurationAttributes)
 
def authenticate (self, configurationAttributes, requestParameters, step)
 
def prepareForStep (self, configurationAttributes, requestParameters, step)
 
def getExtraParametersForStep (self, configurationAttributes, step)
 
def getCountAuthenticationSteps (self, configurationAttributes)
 
def getPageForStep (self, configurationAttributes, step)
 
def logout (self, configurationAttributes, requestParameters)
 

公開変数類

 currentTimeMillis
 

詳解

構築子と解体子

◆ __init__()

def acr_routerauthenticator.PersonAuthentication.__init__ (   self,
  currentTimeMillis 
)
11  def __init__(self, currentTimeMillis):
12  self.currentTimeMillis = currentTimeMillis
13 

関数詳解

◆ authenticate()

def acr_routerauthenticator.PersonAuthentication.authenticate (   self,
  configurationAttributes,
  requestParameters,
  step 
)
41  def authenticate(self, configurationAttributes, requestParameters, step):
42  return False
43 

◆ destroy()

def acr_routerauthenticator.PersonAuthentication.destroy (   self,
  configurationAttributes 
)
22  def destroy(self, configurationAttributes):
23  print "ACR Router. Destroy"
24  print "ACR Router. Destroyed successfully"
25 
26  return True
27 

◆ getAlternativeAuthenticationMethod()

def acr_routerauthenticator.PersonAuthentication.getAlternativeAuthenticationMethod (   self,
  usageType,
  configurationAttributes 
)
34  def getAlternativeAuthenticationMethod(self, usageType, configurationAttributes):
35  print "ACR Router. get new acr value"
36  new_acr_value = configurationAttributes.get("new_acr_value").getValue2()
37  # Put your custom logic to determine if routing required here...
38  return new_acr_value
39 
40 

◆ getApiVersion()

def acr_routerauthenticator.PersonAuthentication.getApiVersion (   self)
28  def getApiVersion(self):
29  return 1
30 

◆ getCountAuthenticationSteps()

def acr_routerauthenticator.PersonAuthentication.getCountAuthenticationSteps (   self,
  configurationAttributes 
)
50  def getCountAuthenticationSteps(self, configurationAttributes):
51  return 1
52 

◆ getExtraParametersForStep()

def acr_routerauthenticator.PersonAuthentication.getExtraParametersForStep (   self,
  configurationAttributes,
  step 
)
47  def getExtraParametersForStep(self, configurationAttributes, step):
48  return None
49 

◆ getPageForStep()

def acr_routerauthenticator.PersonAuthentication.getPageForStep (   self,
  configurationAttributes,
  step 
)
53  def getPageForStep(self, configurationAttributes, step):
54  return ""
55 

◆ init()

def acr_routerauthenticator.PersonAuthentication.init (   self,
  configurationAttributes 
)
14  def init(self, configurationAttributes):
15  print "ACR Router. Initialization"
16  if not configurationAttributes.containsKey("new_acr_value"):
17  print "ACR Router. Initialization. Property acr_router_value is mandatory"
18  return False
19  print "ACR Router. Initialized successfully"
20  return True
21 

◆ isValidAuthenticationMethod()

def acr_routerauthenticator.PersonAuthentication.isValidAuthenticationMethod (   self,
  usageType,
  configurationAttributes 
)
31  def isValidAuthenticationMethod(self, usageType, configurationAttributes):
32  return False
33 

◆ logout()

def acr_routerauthenticator.PersonAuthentication.logout (   self,
  configurationAttributes,
  requestParameters 
)
56  def logout(self, configurationAttributes, requestParameters):
57  return True
58 

◆ prepareForStep()

def acr_routerauthenticator.PersonAuthentication.prepareForStep (   self,
  configurationAttributes,
  requestParameters,
  step 
)
44  def prepareForStep(self, configurationAttributes, requestParameters, step):
45  return True
46 

メンバ詳解

◆ currentTimeMillis

acr_routerauthenticator.PersonAuthentication.currentTimeMillis

このクラス詳解は次のファイルから抽出されました: