gluu
公開メンバ関数 | 非公開変数類 | 静的非公開変数類 | 全メンバ一覧
org.gluu.oxtrust.model.OxAuthCustomClient クラス
org.gluu.oxtrust.model.OxAuthCustomClient の継承関係図
Inheritance graph
org.gluu.oxtrust.model.OxAuthCustomClient 連携図
Collaboration graph

公開メンバ関数

List< GluuCustomAttributegetCustomAttributes ()
 
void setCustomAttributes (List< GluuCustomAttribute > customAttributes)
 
String getInum ()
 
void setInum (String value)
 
String getIname ()
 
void setIname (String value)
 
String getDisplayName ()
 
void setDisplayName (String value)
 
String getOxAuthClientSecret ()
 
void setOxAuthClientSecret (String value)
 
String getUserPassword ()
 
void setUserPassword (String value)
 
String [] getCustomObjectClasses ()
 
void setCustomObjectClasses (String[] customObjectClasses)
 
String [] getAttributes (String attributeName)
 
String getAttribute (String attributeName)
 
String getAttribute (String attributeName, String defaultValue)
 
void setAttribute (String attributeName, String attributeValue)
 
void setAttribute (String attributeName, String[] attributeValue)
 
void setAttribute (GluuCustomAttribute attribute)
 
String toString ()
 

非公開変数類

List< GluuCustomAttributecustomAttributes = new ArrayList<GluuCustomAttribute>()
 

静的非公開変数類

static final long serialVersionUID = -3319774915823259905L
 

詳解

関数詳解

◆ getAttribute() [1/2]

String org.gluu.oxtrust.model.CustomEntry.getAttribute ( String  attributeName)
inlineinherited
56  {
57  if (StringHelper.isEmpty(attributeName)) {
58  return null;
59  }
60 
61  String value = null;
62  for (GluuCustomAttribute attribute : getCustomAttributes()) {
63  if (StringHelper.equalsIgnoreCase(attribute.getName(), attributeName)) {
64  value = attribute.getValue();
65  break;
66  }
67  }
68  return value;
69  }
abstract List< GluuCustomAttribute > getCustomAttributes()

◆ getAttribute() [2/2]

String org.gluu.oxtrust.model.CustomEntry.getAttribute ( String  attributeName,
String  defaultValue 
)
inlineinherited
71  {
72  String result = getAttribute(attributeName);
73  if (StringHelper.isEmpty(result)) {
74  result = defaultValue;
75  }
76 
77  return result;
78  }
String getAttribute(String attributeName)
Definition: CustomEntry.java:56

◆ getAttributes()

String [] org.gluu.oxtrust.model.CustomEntry.getAttributes ( String  attributeName)
inlineinherited
41  {
42  if (StringHelper.isEmpty(attributeName)) {
43  return null;
44  }
45 
46  String[] values = null;
47  for (GluuCustomAttribute attribute : getCustomAttributes()) {
48  if (StringHelper.equalsIgnoreCase(attribute.getName(), attributeName)) {
49  values = attribute.getValues();
50  break;
51  }
52  }
53  return values;
54  }
abstract List< GluuCustomAttribute > getCustomAttributes()

◆ getCustomAttributes()

List<GluuCustomAttribute> org.gluu.oxtrust.model.OxAuthCustomClient.getCustomAttributes ( )
inline
32  {
33  return customAttributes;
34  }
List< GluuCustomAttribute > customAttributes
Definition: OxAuthCustomClient.java:30

◆ getCustomObjectClasses()

String [] org.gluu.oxtrust.model.CustomEntry.getCustomObjectClasses ( )
inlineinherited
33  {
34  return customObjectClasses;
35  }
String [] customObjectClasses
Definition: CustomEntry.java:27

◆ getDisplayName()

String org.gluu.oxtrust.model.OxAuthCustomClient.getDisplayName ( )
inline
56  {
57  return getAttribute("displayName");
58  }
String getAttribute(String attributeName)
Definition: CustomEntry.java:56

◆ getIname()

String org.gluu.oxtrust.model.OxAuthCustomClient.getIname ( )
inline
48  {
49  return getAttribute("iname");
50  }
String getAttribute(String attributeName)
Definition: CustomEntry.java:56

◆ getInum()

String org.gluu.oxtrust.model.OxAuthCustomClient.getInum ( )
inline
40  {
41  return getAttribute("inum");
42  }
String getAttribute(String attributeName)
Definition: CustomEntry.java:56

◆ getOxAuthClientSecret()

String org.gluu.oxtrust.model.OxAuthCustomClient.getOxAuthClientSecret ( )
inline
64  {
65  return getAttribute("oxAuthClientSecret");
66  }
String getAttribute(String attributeName)
Definition: CustomEntry.java:56

◆ getUserPassword()

String org.gluu.oxtrust.model.OxAuthCustomClient.getUserPassword ( )
inline
72  {
73  return getAttribute("userPassword");
74  }
String getAttribute(String attributeName)
Definition: CustomEntry.java:56

◆ setAttribute() [1/3]

void org.gluu.oxtrust.model.CustomEntry.setAttribute ( String  attributeName,
String  attributeValue 
)
inlineinherited
80  {
81  setAttribute(new GluuCustomAttribute(attributeName, attributeValue));
82  }
void setAttribute(String attributeName, String attributeValue)
Definition: CustomEntry.java:80

◆ setAttribute() [2/3]

void org.gluu.oxtrust.model.CustomEntry.setAttribute ( String  attributeName,
String []  attributeValue 
)
inlineinherited
84  {
85  setAttribute(new GluuCustomAttribute(attributeName, attributeValue));
86  }
void setAttribute(String attributeName, String attributeValue)
Definition: CustomEntry.java:80

◆ setAttribute() [3/3]

void org.gluu.oxtrust.model.CustomEntry.setAttribute ( GluuCustomAttribute  attribute)
inlineinherited
88  {
89  List<GluuCustomAttribute> customAttributes = getCustomAttributes();
90  customAttributes.remove(attribute);
91  customAttributes.add(attribute);
92  }
abstract List< GluuCustomAttribute > getCustomAttributes()

◆ setCustomAttributes()

void org.gluu.oxtrust.model.OxAuthCustomClient.setCustomAttributes ( List< GluuCustomAttribute customAttributes)
inline
36  {
38  }
List< GluuCustomAttribute > customAttributes
Definition: OxAuthCustomClient.java:30

◆ setCustomObjectClasses()

void org.gluu.oxtrust.model.CustomEntry.setCustomObjectClasses ( String []  customObjectClasses)
inlineinherited
37  {
39  }
String [] customObjectClasses
Definition: CustomEntry.java:27

◆ setDisplayName()

void org.gluu.oxtrust.model.OxAuthCustomClient.setDisplayName ( String  value)
inline
60  {
61  setAttribute("displayName", value);
62  }
void setAttribute(String attributeName, String attributeValue)
Definition: CustomEntry.java:80

◆ setIname()

void org.gluu.oxtrust.model.OxAuthCustomClient.setIname ( String  value)
inline
52  {
53  setAttribute("iname", value);
54  }
void setAttribute(String attributeName, String attributeValue)
Definition: CustomEntry.java:80

◆ setInum()

void org.gluu.oxtrust.model.OxAuthCustomClient.setInum ( String  value)
inline
44  {
45  setAttribute("inum", value);
46  }
void setAttribute(String attributeName, String attributeValue)
Definition: CustomEntry.java:80

◆ setOxAuthClientSecret()

void org.gluu.oxtrust.model.OxAuthCustomClient.setOxAuthClientSecret ( String  value)
inline
68  {
69  setAttribute("oxAuthClientSecret", value);
70  }
void setAttribute(String attributeName, String attributeValue)
Definition: CustomEntry.java:80

◆ setUserPassword()

void org.gluu.oxtrust.model.OxAuthCustomClient.setUserPassword ( String  value)
inline
76  {
77  setAttribute("userPassword", value);
78  }
void setAttribute(String attributeName, String attributeValue)
Definition: CustomEntry.java:80

◆ toString()

String org.gluu.oxtrust.model.CustomEntry.toString ( )
inlineinherited
95  {
96  return String.format("CustomEntry [customAttributes=%s, customObjectClasses=%s, toString()=%s]", getCustomAttributes(),
97  Arrays.toString(customObjectClasses), super.toString());
98  }
String [] customObjectClasses
Definition: CustomEntry.java:27
abstract List< GluuCustomAttribute > getCustomAttributes()

メンバ詳解

◆ customAttributes

List<GluuCustomAttribute> org.gluu.oxtrust.model.OxAuthCustomClient.customAttributes = new ArrayList<GluuCustomAttribute>()
private

◆ serialVersionUID

final long org.gluu.oxtrust.model.OxAuthCustomClient.serialVersionUID = -3319774915823259905L
staticprivate

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