gluu
公開メンバ関数 | 静的公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme クラス
org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme 連携図
Collaboration graph

公開メンバ関数

 AuthenticationScheme ()
 
 AuthenticationScheme (String name, String description, String specUri, String documentationUri, String type, boolean primary)
 
String getName ()
 
String getDescription ()
 
String getSpecUri ()
 
String getDocumentationUri ()
 
String getType ()
 
boolean isPrimary ()
 
void setType (String type)
 
void setName (String name)
 
void setDescription (String description)
 
void setSpecUri (String specUri)
 
void setDocumentationUri (String documentationUri)
 
void setPrimary (boolean primary)
 

静的公開メンバ関数

static AuthenticationScheme createBasic (boolean primary)
 
static AuthenticationScheme createOAuth2 (boolean primary)
 
static AuthenticationScheme createUma (boolean primary)
 

非公開変数類

String type
 
String name
 
String description
 
String specUri
 
String documentationUri
 
boolean primary
 

詳解

This class represents the authenticationSchemes complex attribute in the Service Provider Config (see section 5 of RFC 7643).

構築子と解体子

◆ AuthenticationScheme() [1/2]

org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.AuthenticationScheme ( )
inline

Creates an instance of AuthenticationScheme with all its fields unassigned.

52 {}

◆ AuthenticationScheme() [2/2]

org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.AuthenticationScheme ( String  name,
String  description,
String  specUri,
String  documentationUri,
String  type,
boolean  primary 
)
inline

Creates an instance of AuthenticationScheme using the parameter values passed.

引数
nameThe common authentication scheme name.
descriptionThe description of the authentication scheme.
specUriAn HTTP addressable URL pointing to the authentication scheme's specification.
documentationUriAn HTTP addressable URL pointing to the authentication scheme's usage documentation.
typeThe type of authentication scheme, e.g. "oauthbearertoken", "httpbasic", etc.
primaryA boolean value specifying if current scheme is the preference
64  {
65  this.name = name;
66  this.description = description;
67  this.specUri = specUri;
69  this.type = type;
70  this.primary=primary;
71  }
String name
Definition: AuthenticationScheme.java:29
String documentationUri
Definition: AuthenticationScheme.java:42
String type
Definition: AuthenticationScheme.java:24
boolean primary
Definition: AuthenticationScheme.java:47
String description
Definition: AuthenticationScheme.java:34
String specUri
Definition: AuthenticationScheme.java:38

関数詳解

◆ createBasic()

static AuthenticationScheme org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.createBasic ( boolean  primary)
inlinestatic

Convenience method that creates a new AuthenticationScheme instance of type HTTP BASIC.

引数
primaryA boolean value for the "primary" field of object
戻り値
An AuthenticationScheme object
150  {
151  return new AuthenticationScheme(
152  "Http Basic",
153  "The HTTP Basic Access Authentication scheme. This scheme is not "
154  + "considered to be a secure method of user authentication (unless "
155  + "used in conjunction with some external secure system such as "
156  + "SSL), as the user name and password are passed over the network "
157  + "as cleartext.",
158  "http://www.ietf.org/rfc/rfc2617.txt",
159  "http://en.wikipedia.org/wiki/Basic_access_authentication",
160  "httpbasic", primary);
161  }
boolean primary
Definition: AuthenticationScheme.java:47
AuthenticationScheme()
Definition: AuthenticationScheme.java:52

◆ createOAuth2()

static AuthenticationScheme org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.createOAuth2 ( boolean  primary)
inlinestatic

Convenience method that creates a new AuthenticationScheme instances of type OAuth 2.

引数
primaryA boolean value for the "primary" field of object
戻り値
An AuthenticationScheme object
168  {
169  return new AuthenticationScheme(
170  "OAuth 2.0", "OAuth2 Access Token Authentication Scheme. Enabled only on 'SCIM Test Mode'.",
171  "http://tools.ietf.org/html/rfc6749", "https://www.gluu.org/docs/ce/admin-guide/user-scim/",
172  "oauth2", primary);
173  }
boolean primary
Definition: AuthenticationScheme.java:47
AuthenticationScheme()
Definition: AuthenticationScheme.java:52

◆ createUma()

static AuthenticationScheme org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.createUma ( boolean  primary)
inlinestatic

Convenience method that creates a new AuthenticationScheme instances of type UMA 2.

引数
primaryA boolean value for the "primary" field of object
戻り値
An AuthenticationScheme object
194  {
195  return new AuthenticationScheme(
196  "UMA 2.0", "UMA Authentication Scheme",
197  "https://docs.kantarainitiative.org/uma/ed/oauth-uma-grant-2.0-06.html", "https://www.gluu.org/docs/ce/admin-guide/uma/",
198  "uma", primary);
199  }
boolean primary
Definition: AuthenticationScheme.java:47
AuthenticationScheme()
Definition: AuthenticationScheme.java:52

◆ getDescription()

String org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.getDescription ( )
inline

Retrieves the description of the authentication scheme.

戻り値
The description of the Authentication Scheme.
85  {
86  return description;
87  }
String description
Definition: AuthenticationScheme.java:34

◆ getDocumentationUri()

String org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.getDocumentationUri ( )
inline

Retrieves the HTTP URL pointing of the authentication scheme's usage documentation.

戻り値
A string representing a URL
101  {
102  return documentationUri;
103  }
String documentationUri
Definition: AuthenticationScheme.java:42

◆ getName()

String org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.getName ( )
inline

Retrieves the name of the authentication scheme.

戻り値
The name of the authentication scheme.
77  {
78  return name;
79  }
String name
Definition: AuthenticationScheme.java:29

◆ getSpecUri()

String org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.getSpecUri ( )
inline

Retrieves the HTTP URL of the authentication scheme's specification.

戻り値
A string representing a URL
93  {
94  return specUri;
95  }
String specUri
Definition: AuthenticationScheme.java:38

◆ getType()

String org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.getType ( )
inline

Retrieves the type of authentication scheme.

戻り値
The type of authentication scheme.
109  {
110  return type;
111  }
String type
Definition: AuthenticationScheme.java:24

◆ isPrimary()

boolean org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.isPrimary ( )
inline

Whether this AuthenticationScheme is the preferred authentication scheme for service usage

戻り値
A boolean value
117  {
118  return primary;
119  }
boolean primary
Definition: AuthenticationScheme.java:47

◆ setDescription()

void org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.setDescription ( String  description)
inline
129  {
130  this.description = description;
131  }
String description
Definition: AuthenticationScheme.java:34

◆ setDocumentationUri()

void org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.setDocumentationUri ( String  documentationUri)
inline
137  {
139  }
String documentationUri
Definition: AuthenticationScheme.java:42

◆ setName()

void org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.setName ( String  name)
inline
125  {
126  this.name = name;
127  }
String name
Definition: AuthenticationScheme.java:29

◆ setPrimary()

void org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.setPrimary ( boolean  primary)
inline
141  {
142  this.primary = primary;
143  }
boolean primary
Definition: AuthenticationScheme.java:47

◆ setSpecUri()

void org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.setSpecUri ( String  specUri)
inline
133  {
134  this.specUri = specUri;
135  }
String specUri
Definition: AuthenticationScheme.java:38

◆ setType()

void org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.setType ( String  type)
inline
121  {
122  this.type = type;
123  }
String type
Definition: AuthenticationScheme.java:24

メンバ詳解

◆ description

String org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.description
private

◆ documentationUri

String org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.documentationUri
private

◆ name

String org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.name
private

◆ primary

boolean org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.primary
private

◆ specUri

String org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.specUri
private

◆ type

String org.gluu.oxtrust.model.scim2.provider.config.AuthenticationScheme.type
private

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