gluu
公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.xdi.oxauth.service.external.internal.InternalDefaultPersonAuthenticationType クラス
org.xdi.oxauth.service.external.internal.InternalDefaultPersonAuthenticationType の継承関係図
Inheritance graph
org.xdi.oxauth.service.external.internal.InternalDefaultPersonAuthenticationType 連携図
Collaboration graph

公開メンバ関数

 InternalDefaultPersonAuthenticationType ()
 
boolean authenticate (Map< String, SimpleCustomProperty > configurationAttributes, Map< String, String[]> requestParameters, int step)
 
boolean prepareForStep (Map< String, SimpleCustomProperty > configurationAttributes, Map< String, String[]> requestParameters, int step)
 
int getCountAuthenticationSteps (Map< String, SimpleCustomProperty > configurationAttributes)
 
boolean logout (Map< String, SimpleCustomProperty > configurationAttributes, Map< String, String[]> requestParameters)
 

非公開変数類

AuthenticationService authenticationService
 
Credentials credentials
 

詳解

Wrapper to call internal authentication method

著者
Yuriy Movchan Date: 06/04/2015

構築子と解体子

◆ InternalDefaultPersonAuthenticationType()

org.xdi.oxauth.service.external.internal.InternalDefaultPersonAuthenticationType.InternalDefaultPersonAuthenticationType ( )
inline
29  {
30  }

関数詳解

◆ authenticate()

boolean org.xdi.oxauth.service.external.internal.InternalDefaultPersonAuthenticationType.authenticate ( Map< String, SimpleCustomProperty >  configurationAttributes,
Map< String, String[]>  requestParameters,
int  step 
)
inline
33  {
34  if (!credentials.isSet()) {
35  return false;
36  }
37 
38  return authenticationService.authenticate(credentials.getUsername(), credentials.getPassword());
39  }
AuthenticationService authenticationService
Definition: InternalDefaultPersonAuthenticationType.java:24
boolean authenticate(String userName, String password)
Definition: AuthenticationService.java:124
Credentials credentials
Definition: InternalDefaultPersonAuthenticationType.java:27

◆ getCountAuthenticationSteps()

int org.xdi.oxauth.service.external.internal.InternalDefaultPersonAuthenticationType.getCountAuthenticationSteps ( Map< String, SimpleCustomProperty >  configurationAttributes)
inline
51  {
52  return 1;
53  }

◆ logout()

boolean org.xdi.oxauth.service.external.internal.InternalDefaultPersonAuthenticationType.logout ( Map< String, SimpleCustomProperty >  configurationAttributes,
Map< String, String[]>  requestParameters 
)
inline
56  {
57  return true;
58  }

◆ prepareForStep()

boolean org.xdi.oxauth.service.external.internal.InternalDefaultPersonAuthenticationType.prepareForStep ( Map< String, SimpleCustomProperty >  configurationAttributes,
Map< String, String[]>  requestParameters,
int  step 
)
inline
42  {
43  if (step == 1) {
44  return true;
45  }
46 
47  return super.prepareForStep(configurationAttributes, requestParameters, step);
48  }

メンバ詳解

◆ authenticationService

AuthenticationService org.xdi.oxauth.service.external.internal.InternalDefaultPersonAuthenticationType.authenticationService
private

◆ credentials

Credentials org.xdi.oxauth.service.external.internal.InternalDefaultPersonAuthenticationType.credentials
private

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